attoparsec / attoparsec.cabal

name:            attoparsec
version:         0.10.1.1
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.12.3, GHC == 7.0.3, GHC == 7.2.1
synopsis:        Fast combinator parsing for bytestrings
cabal-version:   >= 1.8
homepage:        https://github.com/bos/attoparsec
bug-reports:     https://github.com/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:
    benchmarks/Makefile
    benchmarks/med.txt.bz2
    benchmarks/Tiny.hs
    examples/Makefile
    examples/Parsec_RFC2616.hs
    examples/rfc2616.c
    examples/RFC2616.hs
    examples/TestRFC2616.hs
    README.markdown
    tests/Makefile
    tests/QC.hs
    tests/QC/*.hs
    tests/TestFastSet.hs

Flag developer
  Description: Whether to build the library in development mode
  Default: False

library
  build-depends: array,
                 base >= 3 && < 5,
                 bytestring,
                 containers,
                 deepseq,
                 text >= 0.11.1.5

  extensions:      CPP
  exposed-modules: Data.Attoparsec
                   Data.Attoparsec.ByteString
                   Data.Attoparsec.ByteString.Char8
                   Data.Attoparsec.ByteString.Lazy
                   Data.Attoparsec.Char8
                   Data.Attoparsec.Combinator
                   Data.Attoparsec.Lazy
                   Data.Attoparsec.Number
                   Data.Attoparsec.Text
                   Data.Attoparsec.Text.Lazy
                   Data.Attoparsec.Types
                   Data.Attoparsec.Zepto
  other-modules:   Data.Attoparsec.ByteString.FastSet
                   Data.Attoparsec.ByteString.Internal
                   Data.Attoparsec.Internal.Types
                   Data.Attoparsec.Text.FastSet
                   Data.Attoparsec.Text.Internal
  ghc-options:     -Wall

  if flag(developer)
    ghc-prof-options: -auto-all

test-suite tests
  type:           exitcode-stdio-1.0
  hs-source-dirs: tests
  main-is:        QC.hs
  other-modules:  QC.ByteString
                  QC.Text

  ghc-options:
    -Wall -threaded -rtsopts

  build-depends:
    attoparsec,
    base >= 4 && < 5,
    bytestring,
    QuickCheck >= 2.4,
    test-framework >= 0.4,
    test-framework-quickcheck2 >= 0.2,
    text

source-repository head
  type:     git
  location: https://github.com/bos/attoparsec

source-repository head
  type:     mercurial
  location: https://bitbucket.org/bos/attoparsec
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.