packages feed

hw-bits-0.0.0.3: hw-bits.cabal

name:                   hw-bits
version:                0.0.0.3
synopsis:               Conduits for tokenizing streams.
description:            Please see README.md
homepage:               http://github.com/haskell-works/hw-bits#readme
license:                BSD3
license-file:           LICENSE
author:                 John Ky
maintainer:             newhoggy@gmail.com
copyright:              2016 John Ky
category:               Data, Conduit
build-type:             Simple
extra-source-files:     README.md
cabal-version:          >= 1.10
data-files:             test/data/sample.json

executable hw-bits-example
  hs-source-dirs:       app
  main-is:              Main.hs
  ghc-options:          -threaded -rtsopts -with-rtsopts=-N -Wall -msse4.2
  build-depends:        base            >= 4       && < 5
                      , bytestring
                      , conduit
                      , criterion
                      , hw-bits
                      , mmap
                      , resourcet
                      , vector
  default-language:     Haskell2010

library
  hs-source-dirs:       src
  exposed-modules:      HaskellWorks.Data.Bits
                      , HaskellWorks.Data.Bits.BitLength
                      , HaskellWorks.Data.Bits.BitParse
                      , HaskellWorks.Data.Bits.BitRead
                      , HaskellWorks.Data.Bits.BitShow
                      , HaskellWorks.Data.Bits.BitShown
                      , HaskellWorks.Data.Bits.BitWise
                      , HaskellWorks.Data.Bits.ElemFixedBitSize
                      , HaskellWorks.Data.Bits.FixedBitSize
                      , HaskellWorks.Data.Bits.PopCount
                      , HaskellWorks.Data.Bits.PopCount.PopCount0
                      , HaskellWorks.Data.Bits.PopCount.PopCount1
                      , HaskellWorks.Data.Bits.Types.Broadword
                      , HaskellWorks.Data.Bits.Types.Builtin
                      , HaskellWorks.Data.ByteString
                      , HaskellWorks.Data.FromByteString
                      , HaskellWorks.Data.FromForeignRegion
                      , HaskellWorks.Data.Positioning
                      , HaskellWorks.Data.Search
                      , HaskellWorks.Data.Vector.BoxedVectorLike
                      , HaskellWorks.Data.Vector.StorableVectorLike
                      , HaskellWorks.Data.Vector.VectorLike
                      , HaskellWorks.Data.Word
  build-depends:        base                            >= 4.7  && < 5
                      , array
                      , attoparsec
                      , bytestring
                      , conduit
                      , deepseq
                      , ghc-prim
                      , lens
                      , mmap
                      , mono-traversable
                      , parsec
                      , QuickCheck
                      , random
                      , resourcet
                      , safe
                      , text
                      , vector
                      , word8

  default-language:     Haskell2010
  ghc-options:          -rtsopts -with-rtsopts=-N -Wall -O2 -msse4.2

test-suite hw-bits-test
  type:                 exitcode-stdio-1.0
  hs-source-dirs:       test
  main-is:              Spec.hs
  other-modules:        HaskellWorks.Data.Bits.BitReadSpec
                      , HaskellWorks.Data.Bits.BitWiseSpec
  build-depends:        base
                      , attoparsec
                      , bytestring
                      , conduit
                      , hspec
                      , hw-bits
                      , mmap
                      , parsec
                      , QuickCheck
                      , resourcet
                      , transformers
                      , vector
  ghc-options:          -threaded -rtsopts -with-rtsopts=-N -Wall
  default-language:     Haskell2010

source-repository head
  type:     git
  location: https://github.com/haskell-works/hw-bits

benchmark bench
    Type: exitcode-stdio-1.0
    HS-Source-Dirs: bench
    Main-Is: Main.hs
    GHC-Options: -Wall -O2 -msse4.2
    Default-Language: Haskell2010
    Build-Depends:      base            >= 4       && < 5
                      , bytestring
                      , conduit
                      , criterion
                      , hw-bits
                      , mmap
                      , resourcet
                      , vector