packages feed

bytestring-read-0.2.0: bytestring-read.cabal

name:                bytestring-read
version:             0.2.0
synopsis:            fast ByteString to number converting library
description:         benchmark: <http://philopon.github.io/bytestring-read/bench.html>
license:             MIT
license-file:        LICENSE
author:              HirotomoMoriwaki<philopon.dependence@gmail.com>
maintainer:          HirotomoMoriwaki<philopon.dependence@gmail.com>
Homepage:            https://github.com/philopon/bytestring-read
Bug-reports:         https://github.com/philopon/bytestring-read/issues
copyright:           (c) 2015 Hirotomo Moriwaki
category:            Data
build-type:          Simple
cabal-version:       >=1.10

library
  exposed-modules:     Data.ByteString.Read
                       Data.ByteString.Read.Class
                       Data.ByteString.Read.Fractional
                       Data.ByteString.Read.Integral
                       Data.ByteString.Read.DEPRECATED
  build-depends:       base         >=4.6  && <4.8
                     , bytestring   >=0.10 && <0.11
                     , types-compat >=0.1  && <0.2
  hs-source-dirs:      src
  ghc-options:         -Wall -O2
  default-language:    Haskell2010

benchmark bench
  type:                exitcode-stdio-1.0
  main-is:             bench/main.hs
  build-depends:       base
                     , bytestring-read
                     , bytestring        >=0.10 && <0.11
                     , text
                     , bytestring-lexing >=0.4  && <0.5
                     , criterion         >=1.0  && <1.1
                     , scientific
                     , attoparsec
  ghc-options:         -Wall -O2
  default-language:    Haskell2010

test-suite tasty
  type:                exitcode-stdio-1.0
  main-is:             tests/tasty.hs
  build-depends:       base
                     , bytestring-read
                     , bytestring        >=0.10 && <0.11
                     , tasty             >=0.10 && <0.11
                     , tasty-quickcheck  >=0.8  && <0.9
  ghc-options:         -Wall -O2
  default-language:    Haskell2010

test-suite doctests
  type:                exitcode-stdio-1.0
  ghc-options:         -threaded
  main-is:             tests/doctest.hs
  build-depends:       base    >=4.6 && <4.8
                     , doctest >=0.9 && <0.10
  default-language:    Haskell2010