on master help sign in
Drop more legacy GHC support
646b866Bryan O'Sullivan
aeson.cabal+16−25
@@ -8,7 +8,7 @@ copyright: (c) 2011-2014 Bryan O'Sullivan
8author: Bryan O'Sullivan <bos@serpentine.com>
8author: Bryan O'Sullivan <bos@serpentine.com>
9maintainer: Bryan O'Sullivan <bos@serpentine.com>
9maintainer: Bryan O'Sullivan <bos@serpentine.com>
10stability: experimental
10stability: experimental
11−tested-with: GHC == 7.0, GHC == 7.2, GHC == 7.4, GHC == 7.6, GHC == 7.8
11+tested-with: GHC == 7.4, GHC == 7.6, GHC == 7.8
12synopsis: Fast JSON parsing and encoding
12synopsis: Fast JSON parsing and encoding
13cabal-version: >= 1.8
13cabal-version: >= 1.8
14homepage: https://github.com/bos/aeson
14homepage: https://github.com/bos/aeson
@@ -84,21 +84,13 @@ library
84 Data.Aeson.TH
84 Data.Aeson.TH
85
85
86 other-modules:
86 other-modules:
87+ Data.Aeson.Encode.ByteString
87 Data.Aeson.Functions
88 Data.Aeson.Functions
88 Data.Aeson.Parser.Internal
89 Data.Aeson.Parser.Internal
89 Data.Aeson.Types.Class
90 Data.Aeson.Types.Class
91+ Data.Aeson.Types.Generic
90 Data.Aeson.Types.Instances
92 Data.Aeson.Types.Instances
91 Data.Aeson.Types.Internal
93 Data.Aeson.Types.Internal
92− Data.Aeson.Encode.ByteString
93−
94− if impl(ghc >= 7.2.1)
95− cpp-options: -DGENERICS
96− build-depends: ghc-prim >= 0.2, dlist >= 0.2
97− other-modules:
98− Data.Aeson.Types.Generic
99−
100− if impl(ghc < 7.8)
101− build-depends: bytestring-builder
102
94
103 build-depends:
95 build-depends:
104 attoparsec >= 0.11.3.0,
96 attoparsec >= 0.11.3.0,
@@ -106,22 +98,25 @@ library
106 bytestring >= 0.10.4.0,
98 bytestring >= 0.10.4.0,
107 containers,
99 containers,
108 deepseq,
100 deepseq,
101+ dlist >= 0.2,
102+ ghc-prim >= 0.2,
109 hashable >= 1.1.2.0,
103 hashable >= 1.1.2.0,
110 mtl,
104 mtl,
111 old-locale,
105 old-locale,
106+ scientific >= 0.2,
112 syb,
107 syb,
113 template-haskell >= 2.4,
108 template-haskell >= 2.4,
109+ text >= 1.1.1.0,
114 time,
110 time,
115 unordered-containers >= 0.2.3.0,
111 unordered-containers >= 0.2.3.0,
116− vector >= 0.7.1,
112+ vector >= 0.7.1
117− scientific >= 0.2,
118− text >= 1.1.1.0
119
113
120 if flag(developer)
114 if flag(developer)
121 ghc-options: -Werror
115 ghc-options: -Werror
122 ghc-prof-options: -auto-all
116 ghc-prof-options: -auto-all
123
117
124 ghc-options: -O2 -Wall
118 ghc-options: -O2 -Wall
119+ cpp-options: -DGENERICS
125
120
126test-suite tests
121test-suite tests
127 type: exitcode-stdio-1.0
122 type: exitcode-stdio-1.0
@@ -135,30 +130,26 @@ test-suite tests
135 Properties.Deprecated
130 Properties.Deprecated
136 Types
131 Types
137
132
138− ghc-options:
139− -Wall -threaded -rtsopts
133+ ghc-options: -Wall -threaded -rtsopts
140− if impl(ghc < 7.4)
141− ghc-options: -fcontext-stack=40
142− if impl(ghc >= 7.2)
143− cpp-options: -DGHC_GENERICS
134+ cpp-options: -DGHC_GENERICS
144
135
145 build-depends:
136 build-depends:
137+ HUnit,
146 QuickCheck,
138 QuickCheck,
147 aeson,
139 aeson,
148 attoparsec,
140 attoparsec,
149 base,
141 base,
150− containers,
151 bytestring,
142 bytestring,
143+ containers,
144+ ghc-prim >= 0.2,
152 template-haskell,
145 template-haskell,
153 test-framework,
146 test-framework,
154− test-framework-quickcheck2,
155 test-framework-hunit,
147 test-framework-hunit,
156− HUnit,
148+ test-framework-quickcheck2,
157 text,
149 text,
158 time,
150 time,
159 unordered-containers,
151 unordered-containers,
160− vector,
152+ vector
161− ghc-prim >= 0.2
162
153
163source-repository head
154source-repository head
164 type: git
155 type: git