summaryrefslogtreecommitdiff
path: root/git-annex.cabal
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-07-26 14:53:00 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-07-26 15:41:04 -0400
commit57b2c5d0eefa883bd77a846af41c30e108c6aa9b (patch)
treedb16c7911943d7f6f0151015b62ab988d9931ff7 /git-annex.cabal
parent6f8a19e034476e83cc2a52f661475ee54d8cabd6 (diff)
saner format for metadata --json
metadata --json output format has changed, adding a inner json object named "fields" which contains only the fields and their values. This should be easier to parse than the old format, which mixed up metadata fields with other keys in the json object. Any consumers of the old format will need to be updated. This adds a dependency on unordered-containers for parsing MetaData from JSON, but it's a free dependency; aeson pulls in that library.
Diffstat (limited to 'git-annex.cabal')
-rw-r--r--git-annex.cabal3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-annex.cabal b/git-annex.cabal
index d0ee98849..f9033cc38 100644
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -323,7 +323,7 @@ Executable git-annex
Build-Depends:
base (>= 4.5 && < 5.0),
optparse-applicative (>= 0.11.0),
- containers (>= 0.5.0.0),
+ containers (>= 0.5.0.0),
exceptions (>= 0.6),
QuickCheck (>= 2.1),
stm (>= 2.3),
@@ -338,6 +338,7 @@ Executable git-annex
time, old-locale,
esqueleto, persistent-sqlite, persistent (<2.5), persistent-template,
aeson,
+ unordered-containers,
feed,
regex-tdfa
CC-Options: -Wall