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