Name: text-stream-decode Version: 0.1.0 x-revision: 1 Synopsis: Streaming decoding functions for UTF encodings. Description: The @text@ package provides high performance functions for decoding strict and lazy @ByteString@s into @Text@. However, these functions present two issues for streaming data libraries: they throw exceptions from pure code, and are not designed for incremental consumption. This library addresses both issues with a unified API for UTF-8, -16LE, -16BE, -32LE, and -32BE. It is intended for use by high level streaming data libraries, such as conduit, enumerator, iteratee, and pipes. License: MIT License-file: LICENSE Author: Michael Snoyman Maintainer: michael@snoyman.com Category: Data, Text Build-type: Simple Cabal-version: >=1.8 Homepage: http://github.com/fpco/text-stream-decode extra-source-files: include/text_cbits.h cbits/cbits.c flag text11 default: False Description: Use text version 1.1, which exports many encoding modules. Library exposed-modules: Data.Text.StreamDecoding Build-depends: base >= 4.4 && < 5 , bytestring >= 0.9 if flag(text11) build-depends: text >= 1.1 hs-source-dirs: . else build-depends: text >= 0.11 && < 1.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 hs-source-dirs: ., text ghc-options: -Wall -O2 c-sources: cbits/cbits.c include-dirs: include test-suite test hs-source-dirs: test main-is: Spec.hs type: exitcode-stdio-1.0 cpp-options: -DTEST build-depends: base , bytestring , text , hspec >= 1.3 , text-stream-decode , deepseq ghc-options: -Wall benchmark count-chars type: exitcode-stdio-1.0 hs-source-dirs: bench build-depends: base , text-stream-decode , criterion , bytestring , text main-is: count-chars.hs ghc-options: -Wall -O2 source-repository head type: git location: git://github.com/fpco/text-stream-decode.git