1
+ cabal-version : 1.12
1
2
Name : cassava
2
3
Version : 0.5.1.0
3
4
Synopsis : A CSV parsing and encoding library
4
- Description :
5
- A CSV parsing and encoding library optimized for ease of use and high
6
- performance.
5
+ Description : {
6
+
7
+ @cassava@ is a library for parsing and encoding [RFC 4180](https://tools.ietf.org/html/rfc4180)
8
+ compliant [comma-separated values (CSV)](https://en.wikipedia.org/wiki/Comma-separated_values) data,
9
+ which is a textual line-oriented format commonly used for exchanging tabular data.
10
+ .
11
+ @cassava@'s API includes support for
12
+ .
13
+ - Index-based record-conversion
14
+ - Name-based record-conversion
15
+ - Typeclass directed conversion of fields and records
16
+ - Built-in field-conversion instances for standard types
17
+ - Customizable record-conversion instance derivation via GHC generics
18
+ - Low-level [bytestring](https://hackage.haskell.org/package/bytestring) builders (see "Data.Csv.Builder")
19
+ - Incremental decoding and encoding API (see "Data.Csv.Incremental")
20
+ - Streaming API for constant-space decoding (see "Data.Csv.Streaming")
21
+ .
22
+ Moreover, this library is designed to be easy to use; for instance, here's a
23
+ very simple example of encoding CSV data :
24
+ .
25
+ >>> Data.Csv.encode [("John",27),("Jane",28)]
26
+ "John,27\r\nJane,28\r\n"
27
+ .
28
+ Please refer to the documentation in "Data.Csv" and the included [README](#readme) for more usage examples.
29
+
30
+ }
7
31
Homepage : https://github.com/hvr/cassava
8
32
License : BSD3
9
33
License-file : LICENSE
@@ -15,15 +39,19 @@ Author: Johan Tibell
15
39
16
40
Category : Text, Web, CSV
17
41
Build-type : Simple
18
- Cabal-version : >= 1.10
19
42
Extra-source-files : examples/*.hs,
20
- CHANGES.md
43
+ CHANGES.md,
44
+ README.md
21
45
Tested-with : GHC == 8.2.1 , GHC == 8.0.2 , GHC == 8.0.1 , GHC == 7.10.3 , GHC == 7.8.4 , GHC == 7.6.3 , GHC == 7.4.2
22
46
23
47
----------------------------------------------------------------------------
24
48
25
- flag pre-bytestring-0-10-4
26
- description : bytestring < 0.10.4
49
+ source-repository head
50
+ type : git
51
+ location : https://github.com/hvr/cassava
52
+
53
+ flag bytestring--LT-0_10_4
54
+ description : [bytestring](https://hackage.haskell.org/haskell/package) < 0.10.4
27
55
28
56
Library
29
57
default-language : Haskell2010
@@ -77,7 +105,7 @@ Library
77
105
vector >= 0.8 && < 0.13 ,
78
106
Only >= 0.1 && < 0.1.1
79
107
80
- if flag(pre- bytestring-0-10-4 )
108
+ if flag(bytestring--LT-0_10_4 )
81
109
build-depends : bytestring < 0.10.4
82
110
, bytestring-builder >= 0.10.8 && < 0.11
83
111
else
0 commit comments