]> git.immae.eu Git - github/fretlink/text-pipes.git/blob - pipes-text.cabal
Merge branch 'master' of https://github.com/michaelt/text-pipes
[github/fretlink/text-pipes.git] / pipes-text.cabal
1 name: pipes-text
2 version: 0.0.2.1
3 synopsis: properly streaming text
4 description: /New in version 0.0.2/:
5 .
6 A 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.
7 .
8 For the rest, the organization of this package follows the rule:
9 .
10 * @pipes-text : pipes-bytestring :: text : bytestring@
11 .
12 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. A fourth module @Pipes.Prelude.Text@ is explained below.
13 .
14 The module @Pipes.Text.IO@ is present as a convenience. Official pipes IO would use @Pipes.ByteString@ together with the bytestring decoding functions in @Pipes.Text.Encoding@. In particular, the @Pipes.Text.IO@ functions use Text exceptions.
15 .
16 @Pipes.Text.IO@ and @Pipes.Prelude.Text@ use version 0.11.3 or later of the @text@ library. To use a (very) old version of @text@, install with the flag @-fnoio@
17
18
19
20 homepage: https://github.com/michaelt/text-pipes
21 bug-reports: https://github.com/michaelt/text-pipes/issues
22 license: BSD3
23 license-file: LICENSE
24 author: Michael Thompson
25 maintainer: what_is_it_to_do_anything@yahoo.com
26 category: Text, Pipes
27 build-type: Simple
28 cabal-version: >=1.10
29
30 extra-source-files: README.md changelog
31 source-repository head
32 type: git
33 location: https://github.com/michaelt/text-pipes
34
35 flag noio
36 default: False
37 Description: Use a version of text earlier than 0.11.3
38
39 library
40 exposed-modules: Pipes.Text, Pipes.Text.Encoding
41 build-depends: base >= 4 && < 5 ,
42 bytestring >= 0.9.2.1 && < 0.11,
43 text >= 0.11.2 && < 1.3 ,
44 streaming-commons >= 0.1 && < 0.2 ,
45 pipes >= 4.0 && < 4.2 ,
46 pipes-group >= 1.0.0 && < 1.1 ,
47 pipes-parse >= 3.0.0 && < 3.1 ,
48 pipes-safe >= 2.1 && < 2.3 ,
49 pipes-bytestring >= 1.0 && < 2.2 ,
50 transformers >= 0.2.0.0 && < 0.6
51
52 other-extensions: RankNTypes
53 default-language: Haskell2010
54
55 if !flag(noio)
56 exposed-modules: Pipes.Text.IO, Pipes.Text.Tutorial, Pipes.Prelude.Text
57 build-depends: text >=0.11.3 && < 1.3