/
attoparsec.cabal
71 lines (64 loc) · 2.07 KB
/
attoparsec.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
name: attoparsec
version: 0.8.5.0
license: BSD3
license-file: LICENSE
category: Text, Parsing
author: Bryan O'Sullivan <bos@serpentine.com>
maintainer: Bryan O'Sullivan <bos@serpentine.com>
stability: experimental
tested-with: GHC == 6.10.4, GHC == 6.12.3, GHC == 7.0.1
synopsis: Fast combinator parsing for bytestrings
cabal-version: >= 1.6
homepage: http://bitbucket.org/bos/attoparsec
bug-reports: http://bitbucket.org/bos/attoparsec/issues
build-type: Simple
description:
A fast parser combinator library, aimed particularly at dealing
efficiently with network protocols and complicated text/binary
file formats.
extra-source-files:
README.markdown
benchmarks/Makefile
benchmarks/Tiny.hs
benchmarks/med.txt.bz2
tests/Makefile
tests/QC.hs
tests/QCSupport.hs
tests/TestFastSet.hs
examples/Makefile
examples/Parsec_RFC2616.hs
examples/RFC2616.hs
examples/TestRFC2616.hs
examples/rfc2616.c
Flag developer
Description: Whether to build the library in development mode
Default: False
flag split-base
flag applicative-in-base
library
if flag(split-base)
-- bytestring was in base-2.0 and 2.1.1
build-depends: base >= 2.0 && < 2.2
else
-- in base 1.0 and >= 3.0 bytestring is a separate package
build-depends: base < 2.0 || >= 3, bytestring >= 0.9, containers >= 0.1.0.1
if flag(applicative-in-base)
build-depends: base >= 2.0 && < 5.0
cpp-options: -DAPPLICATIVE_IN_BASE
else
build-depends: base < 2.0
extensions: CPP
exposed-modules: Data.Attoparsec
Data.Attoparsec.Char8
Data.Attoparsec.Combinator
Data.Attoparsec.FastSet
Data.Attoparsec.Lazy
Data.Attoparsec.Zepto
other-modules: Data.Attoparsec.Internal
Data.Attoparsec.Number
ghc-options: -Wall
if flag(developer)
ghc-prof-options: -auto-all
source-repository head
type: mercurial
location: http://bitbucket.org/bos/attoparsec