]> git.immae.eu Git - github/fretlink/text-pipes.git/blame - pipes-text.cabal
bump for pipes-4.4
[github/fretlink/text-pipes.git] / pipes-text.cabal
CommitLineData
7faef8bc 1name: pipes-text
39cd06f5 2version: 0.0.2.5
5dca0cf2 3synopsis: properly streaming text
7abdd201 4description: /New in version 0.0.2.x/: The new module @Pipes.Prelude.Text@ exports line-based @Text@ producers and consumers as a drop-in replacement for the @String@ material in @Pipes.Prelude@ and @Pipes.Safe.Prelude@. They can be used as one uses @Pipes.Prelude@ without reference to the rest of this package. See the caveats in the documentation for that module.
5dca0cf2 5 .
ed90410b 6 The organization of this package follows the rule:
4989a357 7 .
8 * @pipes-text : pipes-bytestring :: text : bytestring@
11b2cbe9 9 .
7abdd201 10 Familiarity with the other three packages should give one an idea what to expect where. The package has three principal modules, @Pipes.Text@ , @Pipes.Text.Encoding@ and @Pipes.Text.IO@; the division has more or less the significance it has in the @text@ library.
02bc50d5 11 .
7abdd201 12 The module @Pipes.Text.IO@ is present as a convenience. Official pipes IO uses @Pipes.ByteString@ together with the bytestring decoding functions in @Pipes.Text.Encoding@. In particular, the @Pipes.Text.IO@ functions use Text exceptions, while @Pipes.Text@ uses the standard pipes practice of breaking with a failed parse. Thus, for example, the type of @decodeUtf8@ is
7da7dbc8 13 .
7abdd201 14 * @decodeUtf8 :: Monad m => Producer ByteString m r -> Producer Text m (Producer ByteString m r)@
15 .
16 where any unparsed bytes are returned.
17 .
18 @Pipes.Text.IO@ and @Pipes.Prelude.Text@ use version 0.11.3 or later of the @text@ library; older versions of @text@ can be used with the flag @-fnoio@
7da7dbc8 19
20
409759e8 21
11b2cbe9 22homepage: https://github.com/michaelt/text-pipes
23bug-reports: https://github.com/michaelt/text-pipes/issues
91727d11 24license: BSD3
25license-file: LICENSE
409759e8 26author: Michael Thompson
91727d11 27maintainer: what_is_it_to_do_anything@yahoo.com
409759e8 28category: Text, Pipes
91727d11 29build-type: Simple
91727d11 30cabal-version: >=1.10
11777d08 31
ea05597c 32extra-source-files: README.md changelog
11777d08 33source-repository head
34 type: git
35 location: https://github.com/michaelt/text-pipes
36
bbdfd305 37flag noio
38 default: False
39 Description: Use a version of text earlier than 0.11.3
91727d11 40
41library
bbdfd305 42 exposed-modules: Pipes.Text, Pipes.Text.Encoding
e8336ba6 43 build-depends: base >= 4 && < 5 ,
eae50557 44 bytestring >= 0.9.2.1 && < 0.11,
6f9d4cfe 45 text >= 0.11.2 && < 1.3 ,
eae50557 46 streaming-commons >= 0.1 && < 0.2 ,
39cd06f5 47 pipes >= 4.0 && < 4.4 ,
eae50557 48 pipes-group >= 1.0.0 && < 1.1 ,
49 pipes-parse >= 3.0.0 && < 3.1 ,
50 pipes-safe >= 2.1 && < 2.3 ,
57454c33 51 pipes-bytestring >= 1.0 && < 2.2 ,
4816b595 52 transformers >= 0.2.0.0 && < 0.6
eae50557 53
bbdfd305 54 other-extensions: RankNTypes
3694350a 55 default-language: Haskell2010
bbdfd305 56
57 if !flag(noio)
6a143165 58 exposed-modules: Pipes.Text.IO, Pipes.Text.Tutorial, Pipes.Prelude.Text
6f9d4cfe 59 build-depends: text >=0.11.3 && < 1.3