forked from ozataman/csv-conduit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
csv-conduit.cabal
133 lines (114 loc) · 3.18 KB
/
csv-conduit.cabal
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
Name: csv-conduit
Version: 0.7.1.0
Synopsis: A flexible, fast, conduit-based CSV parser library for Haskell.
Homepage: http://github.com/ozataman/csv-conduit
License: BSD3
License-file: LICENSE
Author: Ozgun Ataman
Maintainer: Ozgun Ataman <ozataman@gmail.com>
Category: Data, Conduit, CSV, Text
Build-type: Simple
Cabal-version: >= 1.9.2
Tested-with: GHC == 7.6.1
Description:
CSV files are the de-facto standard in many situations involving data transfer,
particularly when dealing with enterprise application or disparate database
systems.
.
While there are a number of CSV libraries in Haskell, at the time of this
project's start in 2010, there wasn't one that provided all of the following:
.
* Full flexibility in quote characters, separators, input/output
.
* Constant space operation
.
* Robust parsing, correctness and error resiliency
.
* Convenient interface that supports a variety of use cases
.
* Fast operation
.
This library is an attempt to close these gaps. Please note that
this library started its life based on the enumerator package and
has recently been ported to work with conduits instead. In the
process, it has been greatly simplified thanks to the modular nature
of the conduits library.
.
Following the port to conduits, the library has also gained the
ability to parameterize on the stream type and work both with
ByteString and Text.
.
For more documentation and examples, check out the README at:
.
<http://github.com/ozataman/csv-conduit>
.
extra-source-files:
README.md
changelog.md
test/test.csv
test/Test.hs
flag lib-Werror
default: False
manual: True
library
exposed-modules:
Data.CSV.Conduit
Data.CSV.Conduit.Types
Data.CSV.Conduit.Conversion
Data.CSV.Conduit.Parser.ByteString
Data.CSV.Conduit.Parser.Text
other-modules:
Data.CSV.Conduit.Conversion.Internal
Data.CSV.Conduit.Monoid
ghc-options: -Wall -funbox-strict-fields
if flag(lib-Werror)
ghc-options: -Werror
hs-source-dirs: src
build-depends:
attoparsec >= 0.10
, base >= 4 && < 5
, bytestring
, conduit >= 1.2.8
, conduit-extra
, containers >= 0.3
, exceptions >= 0.3
, monad-control
, text
, data-default
, vector
, array
, blaze-builder
, unordered-containers
, transformers
, mtl
, mmorph
, primitive
, resourcet >= 1.1.2.1
, semigroups
if impl(ghc >= 7.2.1)
cpp-options: -DGENERICS
build-depends: ghc-prim >= 0.2
test-suite test
type: exitcode-stdio-1.0
main-is: Test.hs
ghc-options: -Wall
if flag(lib-Werror)
ghc-options: -Werror
hs-source-dirs: test
build-depends:
base >= 4 && < 5
, bytestring
, containers >= 0.3
, csv-conduit
, directory
, vector
, HUnit >= 1.2
, test-framework
, test-framework-hunit
, text
, transformers
, mtl
, primitive
source-repository head
type: git
location: git://github.com/ozataman/csv-conduit.git