on 0.8.1.1 help sign in
typeable/aeson/benchmarks/aeson-benchmarks.cabal
100 lines 2.0 kB history raw
1name: aeson-benchmarks
2version: 0
3build-type: Simple
5cabal-version: >=1.8
7flag old-locale
8 description: If false then depend on time >= 1.5.
9 .
10 If true then depend on time < 1.5 together with old-locale.
11 default: False
13library
14 hs-source-dirs: ..
16 exposed-modules:
17 Data.Aeson
18 Data.Aeson.Encode
19 Data.Aeson.Generic
20 Data.Aeson.Parser
21 Data.Aeson.Types
22 Data.Aeson.TH
24 other-modules:
25 Data.Aeson.Encode.ByteString
26 Data.Aeson.Functions
27 Data.Aeson.Parser.Internal
28 Data.Aeson.Types.Class
29 Data.Aeson.Types.Generic
30 Data.Aeson.Types.Instances
31 Data.Aeson.Types.Internal
33 build-depends:
34 attoparsec >= 0.13.0.0,
35 base == 4.*,
36 bytestring >= 0.10.4.0,
37 containers,
38 deepseq,
39 dlist >= 0.2,
40 ghc-prim >= 0.2,
41 hashable >= 1.1.2.0,
42 mtl,
43 scientific >= 0.3.1 && < 0.4,
44 syb,
45 template-haskell >= 2.4,
46 text >= 1.1.1.0,
47 transformers,
48 unordered-containers >= 0.2.3.0,
49 vector >= 0.7.1
51 if flag(old-locale)
52 build-depends: time < 1.5, old-locale
53 else
54 build-depends: time >= 1.5
56 ghc-options: -O2 -Wall
57 cpp-options: -DGENERICS
59executable aeson-benchmark-compare-with-json
60 main-is: CompareWithJSON.hs
61 ghc-options: -Wall -O2 -rtsopts
62 build-depends:
63 aeson-benchmarks,
64 base,
65 blaze-builder,
66 bytestring,
67 criterion,
68 deepseq,
69 json,
70 text
72executable aeson-benchmark-aeson-encode
73 main-is: AesonEncode.hs
74 ghc-options: -Wall -O2 -rtsopts
75 build-depends:
76 aeson-benchmarks,
77 attoparsec,
78 base,
79 bytestring,
80 deepseq,
81 time
83executable aeson-benchmark-aeson-parse
84 main-is: AesonParse.hs
85 ghc-options: -Wall -O2 -rtsopts
86 build-depends:
87 aeson-benchmarks,
88 attoparsec,
89 base,
90 bytestring,
91 time
93executable aeson-benchmark-json-parse
94 main-is: JsonParse.hs
95 ghc-options: -Wall -O2 -rtsopts
96 build-depends:
97 base,
98 deepseq,
99 json,
100 time