1
1
cabal-version : 2.2
2
2
name : json-syntax
3
- version : 0.2.7.1
3
+ version : 0.2.7.2
4
4
synopsis : High-performance JSON parser and encoder
5
5
description :
6
6
This library parses JSON into a @Value@ type that is consistent with the
24
24
copyright : 2019 Andrew Martin
25
25
category : Data
26
26
build-type : Simple
27
- extra-doc-files : CHANGELOG.md
27
+ extra-doc-files :
28
+ CHANGELOG.md
29
+ README.md
30
+
31
+ tested-with : GHC == 9.4.8 || == 9.6.3 || == 9.8.1
32
+
33
+ common build-settings
34
+ default-language : Haskell2010
35
+ ghc-options : -Wall -Wunused-packages
28
36
29
37
library
38
+ import : build-settings
30
39
exposed-modules :
31
40
Json
32
41
Json.Flatten
@@ -45,50 +54,46 @@ library
45
54
, primitive >= 0.7 && < 0.10
46
55
, run-st >= 0.1.1 && < 0.2
47
56
, scientific-notation >= 0.1.6 && < 0.2
48
- , text >= 2.0.2 && < 2.1
57
+ , text >= 2.0.2 && < 2.2
49
58
, text-short >= 0.1.3 && < 0.2
50
- , transformers >= 0.5.6 && < 0.6
59
+ , transformers >= 0.5.6 && < 0.7
51
60
, word-compat >= 0.0.6 && < 0.1
52
61
, zigzag >= 0.0.1 && < 0.1
53
62
54
- hs-source-dirs : src
55
- default-language : Haskell2010
56
- ghc-options : -Wall -O2
63
+ hs-source-dirs : src
64
+ ghc-options : -O2
57
65
58
66
test-suite test
59
- default-language : Haskell2010
60
- type : exitcode-stdio-1.0
61
- hs-source-dirs : test common
62
- main-is : Main.hs
67
+ import : build-settings
68
+ type : exitcode-stdio-1.0
69
+ hs-source-dirs : test common
70
+ main-is : Main.hs
63
71
other-modules :
64
72
Person
65
73
Twitter100
66
74
67
- ghc-options : -Wall -O2
68
75
build-depends :
69
76
, aeson >= 2.0.2
70
- , array-chunks
71
77
, base >= 4.12.0.0 && < 5
72
78
, bytebuild
73
79
, byteslice >= 0.1.3
74
80
, bytestring
75
- , containers
76
81
, json-syntax
77
82
, neat-interpolation >= 0.3.2
78
83
, primitive
79
84
, QuickCheck >= 2.14.2
80
85
, scientific
81
86
, scientific-notation >= 0.1.1
82
- , tasty >= 1.2.3 && < 1.3
83
- , tasty-golden >= 2.0 && < 2.4
84
- , tasty-hunit >= 0.10.0.2 && < 0.11
85
- , tasty-quickcheck >= 0.10.1.2 && < 0.11
86
- , text >= 2.0.2 && < 2.1
87
+ , tasty >= 1.2.3
88
+ , tasty-golden >= 2.0
89
+ , tasty-hunit >= 0.10.0.2
90
+ , tasty-quickcheck >= 0.10.1.2
91
+ , text >= 2.0.2
87
92
, text-short
88
- , vector
89
93
90
94
benchmark bench
91
- type : exitcode-stdio-1.0
95
+ import : build-settings
96
+ type : exitcode-stdio-1.0
92
97
build-depends :
93
98
, aeson
94
99
, base
@@ -97,15 +102,13 @@ benchmark bench
97
102
, bytestring
98
103
, gauge
99
104
, json-syntax
100
- , neat-interpolation >= 0.3.2
105
+ , neat-interpolation >= 0.3.2
101
106
, primitive
102
- , scientific-notation >= 0.1.1
103
- , text >= 2.0.2 && < 2.1
107
+ , text >= 2.0.2
104
108
105
- ghc-options : -Wall -O2
106
- default-language : Haskell2010
107
- hs-source-dirs : bench common
108
- main-is : Main.hs
109
+ ghc-options : -O2
110
+ hs-source-dirs : bench common
111
+ main-is : Main.hs
109
112
other-modules :
110
113
Metrics1024
111
114
Twitter100
0 commit comments