packages feed

caerbannog-0.6.1.0: caerbannog.cabal

cabal-version: >= 1.10

name: caerbannog
version: 0.6.1.0
synopsis: That rabbit's got a vicious streak a mile wide!
description:
  Caerbannog is a drop in replacement for the @binary-bits@ package. Unlike
  @binary-bits@ Caerbannog works with GHC 8.10, 8.8, and 8.6.
  .
  The original package description of @binary-bits@ at version 0.5 was: "Bit
  parsing\/writing on top of binary. Provides functions to read and write bits
  to and from 8\/16\/32\/64 words."
  .
  Caerbannog allows you to do bit level gets and puts on top of the interface
  provided by the @binary@ package. This can be useful for parsing or
  generating binary formats that are not byte aligned.
  .
  There are many names for these types of actions: get and put, read and write,
  parse and generate, deserialize and serialize, decode and encode. Caerbannog
  doesn't care which word you use. It'll work anyway.

author: Lennart Kolmodin
build-type: Simple
category: Data, Parsing
extra-source-files:
  CHANGELOG.markdown
  README.markdown
license-file: LICENSE.txt
license: BSD3
maintainer: Taylor Fausak

source-repository head
  location: https://github.com/tfausak/caerbannog
  type: git

library
  build-depends:
    base >= 4.13.0 && < 4.16
    , binary >= 0.8.7 && < 0.9
    , bytestring >= 0.10.10 && < 0.11
  default-language: Haskell98
  exposed-modules:
    Data.Binary.Bits
    Data.Binary.Bits.Get
    Data.Binary.Bits.Put
  ghc-options:
    -Wall
  hs-source-dirs: src/lib

test-suite test
  build-depends:
    base
    , binary
    , caerbannog
    , bytestring
    , hspec >= 2.7.6 && < 2.9
    , QuickCheck >= 2.13.2 && < 2.15
    , random >= 1.1 && < 1.3
  default-language: Haskell98
  hs-source-dirs: src/test
  main-is: Main.hs
  type: exitcode-stdio-1.0