packages feed

streaming-bytestring-0.3.4: streaming-bytestring.cabal

cabal-version:      >=1.10
name:               streaming-bytestring
version:            0.3.4
synopsis:           Fast, effectful byte streams.
description:
  This library enables fast and safe streaming of byte data, in either @Word8@ or
  @Char@ form. It is a core addition to the <https://github.com/haskell-streaming streaming ecosystem>
  and avoids the usual pitfalls of combinbing lazy @ByteString@s with lazy @IO@.
  .
  We follow the philosophy shared by @streaming@ that "the best API is the one
  you already know". Thus this library mirrors the API of the @bytestring@
  library as closely as possible.
  .
  See the module documentation and the README for more information.

license:            BSD3
license-file:       LICENSE
author:             michaelt
maintainer:
  andrew.thaddeus@gmail.com, what_is_it_to_do_anything@yahoo.com, colin@fosskers.ca

-- copyright:
category:           Data, Pipes, Streaming
build-type:         Simple
extra-source-files:
  README.md
  CHANGELOG.md
  tests/sample.txt
  tests/groupBy.txt

stability:          Experimental
homepage:           https://github.com/haskell-streaming/streaming-bytestring
bug-reports:
  https://github.com/haskell-streaming/streaming-bytestring/issues

tested-with:
  GHC ==8.0.2
   || ==8.2.2
   || ==8.4.4
   || ==8.6.5
   || ==8.8.4
   || ==8.10.3
   || ==9.0.2
   || ==9.2.8
   || ==9.4.8
   || ==9.6.6
   || ==9.8.4

source-repository head
  type:     git
  location: https://github.com/haskell-streaming/streaming-bytestring

library
  default-language: Haskell2010
  hs-source-dirs:   lib
  ghc-options:      -Wall -O2
  exposed-modules:
    Data.ByteString.Streaming
    Data.ByteString.Streaming.Char8
    Data.ByteString.Streaming.Internal
    Streaming.ByteString
    Streaming.ByteString.Char8
    Streaming.ByteString.Internal

  -- other-modules:
  other-extensions:
    BangPatterns
    CPP
    DeriveDataTypeable
    ForeignFunctionInterface
    Unsafe

  build-depends:
      base               >=4.9     && <5.0
    , bytestring         >=0.10.4  && <0.13
    , deepseq            >=1.4     && <1.6
    , exceptions         >=0.8     && <0.11
    , ghc-prim           >=0.4     && <0.14
    , mmorph             >=1.0     && <1.3
    , mtl                >=2.2     && <2.4
    , resourcet          >=1.1     && <1.4
    , streaming          >=0.1.4.0 && <0.3
    , transformers       >=0.4     && <0.7
    , transformers-base  >=0.4     && <0.5

  if impl(ghc <8.0)
    build-depends:
      semigroups         >=0.18    && <0.19

test-suite test
  default-language: Haskell2010
  type:             exitcode-stdio-1.0
  hs-source-dirs:   tests
  main-is:          Test.hs
  build-depends:
      base                  >=4.9     && <5
    , bytestring            >=0.10.4  && <0.13
    , resourcet             >=1.1     && <1.4
    , smallcheck            >=1.1.1
    , streaming             >=0.1.4.0 && <0.3
    , streaming-bytestring
    , tasty                 >=0.11.0.4
    , tasty-hunit           >=0.9
    , tasty-smallcheck      >=0.8.1
    , transformers          >=0.3     && <0.7