packages feed

leb128-0.1.0.0: leb128.cabal

cabal-version:       1.22

name:                leb128
version:             0.1.0.0
synopsis:            LEB128 encoding logic for and in Haskell
description:         Encode and decode integral numbers to and from sequences of bytes using LEB128.
homepage:            https://github.com/AndreasPK/leb128/issues

-- bug-reports:
license:             BSD3
license-file:        LICENSE
author:              Andreas Klebinger
maintainer:          klebinger.andreas@gmx.at
-- copyright:
category:            Codec
build-type:          Simple
extra-source-files:  CHANGELOG.md, README.md

source-repository head
  type:     git
  location: https://github.com/AndreasPK/leb128

library
  exposed-modules:
    Codec.LEB128.List
    Codec.LEB128.Generic
    Codec.LEB128.Internal.BS
    Codec.LEB128
    Codec.LEB128.Constraints
  build-depends:
      base >= 4.8 && < 4.15
    , bytestring >= 0.10.6 && < 0.10.11
    , ghc-prim
    , transformers
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options: -Wall
  -- ghc-options: -ddump-stg-final -ddump-simpl -ddump-to-file
              --  -dno-typeable-binds


test-suite leb128-test
  default-language:    Haskell2010
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:
      TestLEB.hs
  other-modules:
      LEB128.Props

  build-depends:
      base
    , leb128 -any
    , QuickCheck >= 2.13 && < 2.15
    , test-framework >= 0.8 && < 0.9
    , test-framework-quickcheck2 >= 0.3 && < 0.4
    , bytestring

benchmark leb128-bench
  default-language:    Haskell2010
  type:                exitcode-stdio-1.0
  hs-source-dirs:      bench
  main-is:             Bench.hs
  build-depends:
      base
    , leb128 -any
    , criterion >= 1.5 && < 1.6
    , bytestring
    , deepseq