name: streaming-commons
version: 0.1.4
synopsis: Common lower-level functions needed by various streaming data libraries
description: Provides low-dependency functionality commonly needed by various streaming data libraries, such as conduit and pipes.
homepage: https://github.com/fpco/streaming-commons
license: MIT
license-file: LICENSE
author: Michael Snoyman, Gabriel Gonzalez
maintainer: michael@snoyman.com
-- copyright:
category: Data
build-type: Simple
cabal-version: >=1.8
extra-source-files:
test/filesystem/*.txt
test/filesystem/bin/*.txt
include/*.h
cbits/*.c
test/LICENSE.gz
library
exposed-modules: Data.Streaming.Blaze
Data.Streaming.FileRead
Data.Streaming.Filesystem
Data.Streaming.Network
Data.Streaming.Network.Internal
Data.Streaming.Process
Data.Streaming.Process.Internal
Data.Streaming.Text
Data.Streaming.Zlib
Data.Streaming.Zlib.Lowlevel
-- Due to cabal bugs, not making inclusion of this dependent on text version.
-- For more information, see: https://github.com/fpco/text-stream-decode/issues/1
other-modules: Data.Text.Internal.Unsafe.Char
Data.Text.Internal.Unsafe.Shift
Data.Text.Internal.Encoding.Utf8
Data.Text.Internal.Encoding.Utf16
Data.Text.Internal.Encoding.Utf32
build-depends: base >= 4 && < 5
, array
, blaze-builder >= 0.3 && < 0.4
, bytestring
, directory
, network
, random
, process
, stm
, text
, transformers
, zlib
c-sources: cbits/zlib-helper.c
cbits/text-helper.c
include-dirs: include
if os(windows)
build-depends: Win32
, filepath
cpp-options: -DWINDOWS
other-modules: System.Win32File
else
build-depends: unix
test-suite test
hs-source-dirs: test
main-is: Spec.hs
type: exitcode-stdio-1.0
ghc-options: -Wall -threaded
other-modules: Data.Streaming.FileReadSpec
Data.Streaming.FilesystemSpec
Data.Streaming.NetworkSpec
Data.Streaming.TextSpec
Data.Streaming.ZlibSpec
build-depends: base
, streaming-commons
, hspec >= 1.8
, QuickCheck
, array
, async
, blaze-builder
, bytestring
, deepseq
, network
, text
, zlib
if os(windows)
cpp-options: -DWINDOWS
else
build-depends: unix
benchmark count-chars
type: exitcode-stdio-1.0
hs-source-dirs: bench
build-depends: base
, criterion
, bytestring
, text
main-is: count-chars.hs
ghc-options: -Wall -O2
benchmark decode-memory-usage
type: exitcode-stdio-1.0
hs-source-dirs: bench
build-depends: base
, bytestring
, text
main-is: decode-memory-usage.hs
ghc-options: -Wall -O2 -with-rtsopts=-s
source-repository head
type: git
location: git://github.com/fpco/streaming-commons.git