-
Notifications
You must be signed in to change notification settings - Fork 13
/
json-stream.cabal
135 lines (124 loc) · 5.03 KB
/
json-stream.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
name: json-stream
version: 0.4.6.0
synopsis: Incremental applicative JSON parser
description: Easy to use JSON parser fully supporting incremental parsing.
Parsing grammar in applicative form.
.
The parser is compatibile with aeson and its FromJSON class.
It is possible to use aeson monadic parsing when appropriate.
.
The parser supports constant-space safe incremental parsing regardless
of the input data. In addition to performance-critical parts written in C,
a lot of performance is gained by being less memory intensive especially
when used for stream parsing.
homepage: https://github.com/ondrap/json-stream
license: BSD3
license-file: LICENSE
author: Ondrej Palkovsky
maintainer: [email protected]
category: Text, JSON
build-type: Simple
cabal-version: >=1.10
extra-source-files: c_lib/lexer.h, changelog.md, benchmarks/json-data/*.json, README.md
source-repository head
type: git
location: https://github.com/ondrap/json-stream.git
flag conduit
description: Support the conduit package
manual: True
default: False
library
exposed-modules: Data.JsonStream.Parser
other-modules: Data.JsonStream.TokenParser
, Data.JsonStream.CLexType
, Data.JsonStream.CLexer
, Data.JsonStream.Unescape
c-sources: c_lib/lexer.c, c_lib/unescape_string.c
includes: c_lib/lexer.h
include-dirs: c_lib
build-depends: base >=4.11 && <5
, bytestring
, text
, aeson >= 0.7 && < 2.3
, vector
, unordered-containers
, containers
, scientific
, primitive
if flag(conduit)
exposed-modules: Data.JsonStream.Conduit
build-depends: conduit
default-language: Haskell2010
Ghc-Options: -Wall -fwarn-incomplete-uni-patterns
test-suite doctest
-- Doctest needs to expose CLexType, which we probably don't want. Disable tests for now.
Buildable: False
Type: exitcode-stdio-1.0
Default-Language: Haskell2010
HS-Source-Dirs: test, .
Main-Is: doctests.hs
other-modules: Data.JsonStream.CLexType
, Data.JsonStream.Unescape
, Data.JsonStream.CLexer
, Data.JsonStream.Parser
, Data.JsonStream.TokenParser
c-sources: c_lib/lexer.c, c_lib/unescape_string.c
includes: c_lib/lexer.h
include-dirs: c_lib
Build-Depends: base >= 4.11 && <5
, doctest >= 0.9.3
, bytestring
, text
, aeson
, vector
, containers
, unordered-containers
, hspec
, scientific
, directory
, QuickCheck
, quickcheck-unicode
, primitive
test-suite spec
main-is: Spec.hs
other-modules: Data.JsonStream.CLexType
, Data.JsonStream.Unescape
, ParserSpec
, UnescapeSpec
, Data.JsonStream.CLexer
, Data.JsonStream.Parser
, Data.JsonStream.TokenParser
c-sources: c_lib/lexer.c, c_lib/unescape_string.c
include-dirs: c_lib
includes: c_lib/lexer.h
type: exitcode-stdio-1.0
hs-source-dirs: test, .
default-language: Haskell2010
ghc-options: -Wall
build-depends: base >=4.11 && <5
, bytestring
, text
, aeson
, vector
, containers
, unordered-containers
, hspec
, scientific
, directory
, QuickCheck
, quickcheck-unicode
, primitive
-- executable spdtest
-- main-is: spdtest.hs
-- other-modules: Data.JsonStream.TokenParser, Data.JsonStream.CLexType, Data.JsonStream.CLexer
-- ghc-options: -O2 -Wall -fprof-auto
-- c-sources: c_lib/lexer.c
-- include-dirs: c_lib
-- default-language: Haskell2010
-- build-depends: base >=4.11 && <5
-- , bytestring
-- , text
-- , aeson
-- , vector
-- , unordered-containers
-- , scientific