git.iko.soy/typeable/attoparsec
on 0.12.1.0 help sign in
typeable/attoparsec/attoparsec.cabal
142 lines 3.8 kB history raw
1name: attoparsec
2version: 0.12.1.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, GHC == 7.2, GHC == 7.4, GHC == 7.6, GHC == 7.8
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/Makefile
25 benchmarks/med.txt.bz2
26 changelog.md
27 examples/*.c
28 examples/*.hs
29 examples/Makefile
30 tests/*.hs
31 tests/Makefile
32 tests/QC/*.hs
33 tests/TestFastSet.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 text >= 1.1.1.3
48 if impl(ghc < 7.4)
49 build-depends:
50 bytestring < 0.10.4.0
52 exposed-modules: Data.Attoparsec
53 Data.Attoparsec.ByteString
54 Data.Attoparsec.ByteString.Char8
55 Data.Attoparsec.ByteString.Lazy
56 Data.Attoparsec.Char8
57 Data.Attoparsec.Combinator
58 Data.Attoparsec.Lazy
59 Data.Attoparsec.Number
60 Data.Attoparsec.Text
61 Data.Attoparsec.Text.Lazy
62 Data.Attoparsec.Types
63 Data.Attoparsec.Zepto
64 other-modules: Data.Attoparsec.ByteString.Buffer
65 Data.Attoparsec.ByteString.FastSet
66 Data.Attoparsec.ByteString.Internal
67 Data.Attoparsec.Internal
68 Data.Attoparsec.Internal.Fhthagn
69 Data.Attoparsec.Internal.Types
70 Data.Attoparsec.Text.Buffer
71 Data.Attoparsec.Text.FastSet
72 Data.Attoparsec.Text.Internal
73 ghc-options: -O2 -Wall
75 if flag(developer)
76 ghc-prof-options: -auto-all
77 ghc-options: -Werror
79test-suite tests
80 type: exitcode-stdio-1.0
81 hs-source-dirs: tests .
82 main-is: QC.hs
83 other-modules: QC.Buffer
84 QC.ByteString
85 QC.Combinator
86 QC.Common
87 QC.Text
89 ghc-options:
90 -Wall -threaded -rtsopts
92 if flag(developer)
93 ghc-options: -Werror
95 build-depends:
96 array,
97 base >= 4 && < 5,
98 bytestring,
99 deepseq >= 1.1,
100 QuickCheck >= 2.7,
101 scientific,
102 test-framework >= 0.8.0.2,
103 test-framework-quickcheck2 >= 0.3.0.3,
104 text
106benchmark benchmarks
107 type: exitcode-stdio-1.0
108 hs-source-dirs: benchmarks, .
109 ghc-options: -O2 -Wall -rtsopts
110 main-is: Benchmarks.hs
111 other-modules:
112 Common
113 HeadersByteString
114 HeadersText
115 Links
116 Numbers
117 ghc-options: -O2 -Wall
119 if flag(developer)
120 ghc-options: -Werror
122 build-depends:
123 array,
124 base == 4.*,
125 bytestring >= 0.10.4.0,
126 criterion >= 0.8.1.0,
127 deepseq >= 1.1,
128 directory,
129 filepath,
130 parsec >= 3.1.2,
131 scientific,
132 text >= 1.1.1.0,
133 unordered-containers,
134 vector
136source-repository head
137 type: git
138 location: https://github.com/bos/attoparsec
140source-repository head
141 type: mercurial
142 location: https://bitbucket.org/bos/attoparsec