packages feed

binary-strict-0.4.8.6: binary-strict.cabal

cabal-version:       >=1.10
name:                binary-strict
version:             0.4.8.6
synopsis:            Binary deserialisation using strict ByteStrings
description:         This is a strict version of the Get monad from the binary
                     package. It's pretty much just a copy and paste job
                     from the original source code. The binary team are
                     currently unsure about their future plans
                     w.r.t. strictness, so this is just a stop gap
                     measure. See
                     <http://www.haskell.org/haskellwiki/DealingWithBinaryData>
                     for documentation.
bug-reports:         https://github.com/idontgetoutmuch/binary-low-level
license:             BSD3
license-file:        LICENSE
author:              Lennart Kolmodin <kolmodin@dtek.chalmers.se>
maintainer:          Dominic Steinitz <dominic@steinitz.org>
copyright:           Dominic Steinitz, Lennart Kolmodin
category:            Data, Parsing
build-type:          Simple
extra-source-files:  src/Data/Binary/Strict/Common.h

library
  exposed-modules:     Data.Binary.BitBuilder,
                       Data.Binary.BitPut,
                       Data.Binary.Strict.Class,
                       Data.Binary.Strict.BitGet,
                       Data.Binary.Strict.IncrementalGet,
                       Data.Binary.Strict.Get,
                       Data.Binary.Strict.BitUtil,
                       Data.Binary.Strict.ByteSet,
                       Data.Binary.Strict.Util
  other-extensions:    CPP,
                       FlexibleInstances,
                       MultiParamTypeClasses,
                       UndecidableInstances
  build-depends:       base >=4.12 && <4.15,
                       bytestring >=0.10 && <0.11,
                       mtl >=2.2 && <2.3,
                       array >=0.5 && <0.6
  hs-source-dirs:      src
  default-language:    Haskell2010

Test-Suite test
    type:              exitcode-stdio-1.0
    main-is:           tests/BitGetTest.hs
    build-depends:     base >=4.12 && <4.15,
                       bytestring >=0.10 && <0.11,
                       binary-strict
    default-language:  Haskell2010