git.iko.soy/typeable/attoparsec
on master help sign in
typeable/attoparsec/attoparsec.cabal
194 lines 5.8 kB history raw
1name: attoparsec
2version: 0.13.2.2
3x-revision: 3
4license: BSD3
5license-file: LICENSE
6category: Text, Parsing
7author: Bryan O'Sullivan <bos@serpentine.com>
8maintainer: Bryan O'Sullivan <bos@serpentine.com>, Ben Gamari <ben@smart-cactus.org>
9stability: experimental
10tested-with: GHC == 7.0.4, GHC == 7.2.2, GHC == 7.4.2, GHC ==7.6.3, GHC ==7.8.4, GHC ==7.10.3, GHC ==8.0.2, GHC ==8.2.2, GHC==8.4.4, GHC==8.6.5, GHC==8.8.1
11synopsis: Fast combinator parsing for bytestrings and text
12cabal-version: >= 1.8
13homepage: https://github.com/bos/attoparsec
14bug-reports: https://github.com/bos/attoparsec/issues
15build-type: Simple
16description:
17 A fast parser combinator library, aimed particularly at dealing
18 efficiently with network protocols and complicated text/binary
19 file formats.
20extra-source-files:
21 README.markdown
22 benchmarks/*.cabal
23 benchmarks/*.hs
24 benchmarks/*.txt
25 benchmarks/json-data/*.json
26 benchmarks/Makefile
27 benchmarks/med.txt.bz2
28 changelog.md
29 examples/*.c
30 examples/*.hs
31 examples/Makefile
32 tests/*.hs
33 tests/QC/*.hs
34 tests/QC/IPv6/*.hs
36Flag developer
37 Description: Whether to build the library in development mode
38 Default: False
39 Manual: True
41library
42 build-depends: array,
43 base >= 4.3 && < 5,
44 bytestring,
45 containers,
46 deepseq,
47 scientific >= 0.3.1 && < 0.4,
48 transformers >= 0.2 && (< 0.4 || >= 0.4.1.0) && < 0.6,
49 text >= 1.1.1.3
50 if impl(ghc < 7.4)
51 build-depends:
52 bytestring < 0.10.4.0
54 if !impl(ghc >= 8.0)
55 -- Data.Semigroup && Control.Monad.Fail are available in base-4.9+
56 build-depends: fail == 4.9.*,
57 semigroups >=0.16.1 && <0.20
59 exposed-modules: Data.Attoparsec
60 Data.Attoparsec.ByteString
61 Data.Attoparsec.ByteString.Char8
62 Data.Attoparsec.ByteString.Lazy
63 Data.Attoparsec.Char8
64 Data.Attoparsec.Combinator
65 Data.Attoparsec.Internal
66 Data.Attoparsec.Internal.Types
67 Data.Attoparsec.Lazy
68 Data.Attoparsec.Number
69 Data.Attoparsec.Text
70 Data.Attoparsec.Text.Lazy
71 Data.Attoparsec.Types
72 Data.Attoparsec.Zepto
73 other-modules: Data.Attoparsec.ByteString.Buffer
74 Data.Attoparsec.ByteString.FastSet
75 Data.Attoparsec.ByteString.Internal
76 Data.Attoparsec.Internal.Fhthagn
77 Data.Attoparsec.Text.Buffer
78 Data.Attoparsec.Text.FastSet
79 Data.Attoparsec.Text.Internal
80 ghc-options: -O2 -Wall
82 if flag(developer)
83 ghc-prof-options: -auto-all
84 ghc-options: -Werror
86test-suite tests
87 type: exitcode-stdio-1.0
88 hs-source-dirs: tests .
89 main-is: QC.hs
90 other-modules: QC.Buffer
91 QC.ByteString
92 QC.Combinator
93 QC.Common
94 QC.IPv6.Internal
95 QC.IPv6.Types
96 QC.Rechunked
97 QC.Simple
98 QC.Text
99 QC.Text.FastSet
100 QC.Text.Regressions
102 other-modules: Data.Attoparsec.ByteString
103 Data.Attoparsec.ByteString.Buffer
104 Data.Attoparsec.ByteString.Char8
105 Data.Attoparsec.ByteString.FastSet
106 Data.Attoparsec.ByteString.Internal
107 Data.Attoparsec.ByteString.Lazy
108 Data.Attoparsec.Combinator
109 Data.Attoparsec.Internal
110 Data.Attoparsec.Internal.Fhthagn
111 Data.Attoparsec.Internal.Types
112 Data.Attoparsec.Number
113 Data.Attoparsec.Text
114 Data.Attoparsec.Text.Buffer
115 Data.Attoparsec.Text.FastSet
116 Data.Attoparsec.Text.Internal
117 Data.Attoparsec.Text.Lazy
118 Data.Attoparsec.Zepto
120 ghc-options:
121 -Wall -threaded -rtsopts
123 if flag(developer)
124 ghc-options: -Werror
126 build-depends:
127 array,
128 base,
129 bytestring,
130 deepseq >= 1.1,
131 QuickCheck >= 2.13.2 && < 2.14,
132 quickcheck-unicode,
133 scientific,
134 tasty >= 0.11,
135 tasty-quickcheck >= 0.8,
136 text,
137 transformers >= 0.2 && (< 0.4 || >= 0.4.1.0) && < 0.6,
138 vector
140 if !impl(ghc >= 8.0)
141 -- Data.Semigroup && Control.Monad.Fail are available in base-4.9+
142 build-depends: fail == 4.9.*,
143 semigroups >=0.16.1 && <0.20
145benchmark benchmarks
146 type: exitcode-stdio-1.0
147 hs-source-dirs: benchmarks benchmarks/warp-3.0.1.1 .
148 ghc-options: -O2 -Wall -rtsopts
149 main-is: Benchmarks.hs
150 other-modules:
151 Common
152 HeadersByteString
153 HeadersByteString.Atto
154 HeadersText
155 Links
156 Network.Wai.Handler.Warp.ReadInt
157 Network.Wai.Handler.Warp.RequestHeader
158 Numbers
159 Sets
160 TextFastSet
161 Warp
162 ghc-options: -O2 -Wall
164 if flag(developer)
165 ghc-options: -Werror
167 build-depends:
168 array,
169 base == 4.*,
170 bytestring >= 0.10.4.0,
171 case-insensitive,
172 containers,
173 criterion >= 1.0,
174 deepseq >= 1.1,
175 directory,
176 filepath,
177 ghc-prim,
178 http-types,
179 parsec >= 3.1.2,
180 scientific,
181 text >= 1.1.1.0,
182 transformers >= 0.2 && (< 0.4 || >= 0.4.1.0) && < 0.6,
183 unordered-containers,
184 vector
186 if !impl(ghc >= 8.0)
187 -- Data.Semigroup && Control.Monad.Fail are available in base-4.9+
188 build-depends: fail == 4.9.*,
189 semigroups >=0.16.1 && <0.19
191source-repository head
192 type: git
193 location: https://github.com/bos/attoparsec