File: conduit.cabal

package info (click to toggle)
haskell-conduit 1.3.6-1
  • links: PTS
  • area: main
  • in suites: sid, trixie
  • size: 516 kB
  • sloc: haskell: 8,068; ansic: 20; makefile: 4
file content (151 lines) | stat: -rw-r--r-- 5,092 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
Name:                conduit
Version:             1.3.6
Synopsis:            Streaming data processing library.
description:
    `conduit` is a solution to the streaming data problem, allowing for production,
    transformation, and consumption of streams of data in constant memory. It is an
    alternative to lazy I\/O which guarantees deterministic resource handling.
    .
    For more information about conduit in general, and how this package in
    particular fits into the ecosystem, see [the conduit
    homepage](https://github.com/snoyberg/conduit#readme).
    .
    Hackage documentation generation is not reliable. For up to date documentation, please see: <http://www.stackage.org/package/conduit>.
License:             MIT
License-file:        LICENSE
Author:              Michael Snoyman
Maintainer:          michael@snoyman.com
Category:            Data, Conduit
Build-type:          Simple
Cabal-version:       >=1.10
Homepage:            http://github.com/snoyberg/conduit
extra-source-files:  test/main.hs
                   , test/doctests.hs
                   , test/subdir/dummyfile.txt
                   , README.md
                   , ChangeLog.md
                   , fusion-macros.h

Library
  default-language:    Haskell2010
  hs-source-dirs:      src
  Exposed-modules:     Data.Conduit
                       Data.Conduit.Combinators
                       Data.Conduit.List
                       Data.Conduit.Internal
                       Data.Conduit.Lift
                       Data.Conduit.Internal.Fusion
                       Data.Conduit.Internal.List.Stream
                       Data.Conduit.Combinators.Stream
                       Conduit
  other-modules:       Data.Conduit.Internal.Pipe
                       Data.Conduit.Internal.Conduit
                       Data.Conduit.Combinators.Unqualified
                       Data.Streaming.FileRead
                       Data.Streaming.Filesystem
  Build-depends:       base                     >= 4.12         && < 5
                     , resourcet                >= 1.2          && < 1.4
                     , transformers             >= 0.4
                     , mtl
                     , primitive
                     , unliftio-core
                     , exceptions
                     , mono-traversable         >= 1.0.7
                     , vector
                     , bytestring
                     , text
                     , filepath
                     , directory

  if os(windows)
    build-depends:     Win32
    other-modules:     System.Win32File
    cpp-options:       -DWINDOWS
  else
    build-depends:     unix

  ghc-options:         -Wall
  include-dirs:        .

test-suite conduit-test
    default-language:    Haskell2010
    hs-source-dirs: test
    main-is: main.hs
    other-modules: Data.Conduit.Extra.ZipConduitSpec
                 , Data.Conduit.StreamSpec
                 , Spec
                 , StreamSpec
    type: exitcode-stdio-1.0
    cpp-options:   -DTEST
    build-depends:   conduit
                   , base
                   , hspec >= 1.3
                   , QuickCheck >= 2.7
                   , transformers
                   , mtl
                   , resourcet
                   , containers
                   , exceptions >= 0.6
                   , safe
                   , split >= 0.2.0.0
                   , mono-traversable
                   , text
                   , vector
                   , directory
                   , bytestring
                   , silently
                   , filepath
                   , unliftio >= 0.2.4.0
    ghc-options:     -Wall

  if os(windows)
    cpp-options:     -DWINDOWS

--test-suite doctests
--    hs-source-dirs: test
--    main-is: doctests.hs
--    type: exitcode-stdio-1.0
--    ghc-options: -threaded
--    build-depends: base, directory, doctest >= 0.8

-- benchmark utf8-memory-usage
--     type: exitcode-stdio-1.0
--     hs-source-dirs: benchmarks
--     build-depends:  base
--                   , text-stream-decode
--                   , bytestring
--                   , text
--                   , conduit
--     main-is:        utf8-memory-usage.hs
--     ghc-options:    -Wall -O2 -with-rtsopts=-s

benchmark optimize-201408
    default-language:    Haskell2010
    type: exitcode-stdio-1.0
    hs-source-dirs: benchmarks
    build-depends:  base
                  , conduit
                  , vector
                  , deepseq
                  , containers
                  , transformers
                  , hspec
                  , mwc-random
                  , gauge
    main-is:        optimize-201408.hs
    ghc-options:    -Wall -O2 -rtsopts

benchmark unfused
    default-language:    Haskell2010
    type: exitcode-stdio-1.0
    hs-source-dirs: benchmarks
    build-depends:  base
                  , conduit
                  , gauge
                  , transformers
    main-is:        unfused.hs
    ghc-options:    -Wall -O2 -rtsopts

source-repository head
  type:     git
  location: git://github.com/snoyberg/conduit.git