cabal-version: >=1.10
name: leb128-cereal
version: 1.2
synopsis: LEB128 and SLEB128 encoding
description:
This module implements encoding and decoding of 'Natural' and 'Integer'
values according to LEB128 and SLEB128. See
<https://en.wikipedia.org/wiki/LEB128> for a specification.
.
This package uses the @cereal@ package, but also provides direct encoding and
decoding to 'ByteString'.
bug-reports: https://github.com/nomeata/haskell-leb128-cereal/issues
license: MIT
license-file: LICENSE
author: Joachim Breitner
maintainer: mail@joachim-breitner.de
copyright: 2020 Joachim Breitner
category: Codec
build-type: Simple
extra-source-files: CHANGELOG.md
tested-with: GHC == 8.2, GHC == 8.4, GHC == 8.6, GHC == 8.8, GHC == 8.10
library
exposed-modules: Data.Serialize.LEB128
exposed-modules: Data.Serialize.LEB128.Lenient
build-depends: base >=4.10 && <5
build-depends: bytestring >= 0.10
build-depends: cereal >= 0.5
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall -Wno-name-shadowing
test-suite test
default-language: Haskell2010
type: exitcode-stdio-1.0
main-is: test.hs
build-depends: base >= 4 && < 5
build-depends: tasty >= 0.7
build-depends: tasty-quickcheck
build-depends: tasty-hunit
build-depends: leb128-cereal
build-depends: bytestring
test-suite test-lenient
default-language: Haskell2010
type: exitcode-stdio-1.0
main-is: test.hs
build-depends: base >= 4 && < 5
build-depends: tasty >= 0.7
build-depends: tasty-quickcheck
build-depends: tasty-hunit
build-depends: leb128-cereal
build-depends: bytestring
source-repository head
type: git
location: https://github.com/nomeata/haskell-leb128-cereal