cabal-version:  >=1.10

name:                streamly-binary
version:             1.0.0.0
synopsis:            Integration of streamly and binary
description:         Support for encoding/decoding using @binary@ in @streamly@ streams.
homepage:            https://sr.ht/~geyaeb/streamly-binary/
bug-reports:         https://todo.sr.ht/~geyaeb/streamly-binary
license:             BSD3
license-file:        LICENSE
author:              G. Eyaeb
maintainer:          geyaeb@protonmail.com
copyright:           2020 G. Eyaeb
category:            Streamly, Streaming, Binary
build-type:          Simple
extra-source-files:  CHANGELOG.md, README.md

source-repository head
  type:             mercurial
  location:         https://hg.sr.ht/~geyaeb/streamly-binary

library
  exposed-modules:  Streamly.Binary
  hs-source-dirs:   src
  build-depends:    base >=4.7 && <5
                  , binary == 0.8.*
                  , bytestring == 0.10.*
                  , streamly == 0.7.*
  default-language: Haskell2010

test-suite streamly-binary-test
  type:             exitcode-stdio-1.0
  main-is:          Spec.hs
  hs-source-dirs:   test
  ghc-options:      -threaded -rtsopts -with-rtsopts=-N
  build-depends:    QuickCheck
                  , base >=4.7 && <5
                  , binary == 0.8.*
                  , bytestring == 0.10.*
                  , hspec == 2.7.*
                  , streamly == 0.7.* 
                  , streamly-binary
  default-language: Haskell2010