-
Notifications
You must be signed in to change notification settings - Fork 107
/
Copy pathcassava-iut.cabal
136 lines (111 loc) · 3.27 KB
/
cassava-iut.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
134
135
136
Name: cassava-iut
Version: 0
Synopsis: benchmarks for cassava
Homepage: https://github.com/hvr/cassava
License: BSD3
Maintainer: hvr@gnu.org
Build-type: Simple
Cabal-version: >=1.10
Extra-source-files: *.csv
-- cloned from cassava.cabal
----------------------------------------------------------------------------
flag pre-bytestring-0-10-4
description: bytestring < 0.10.4
default: False
manual: False
Library
default-language: Haskell2010
other-extensions:
BangPatterns
CPP
DataKinds
DefaultSignatures
DeriveFunctor
FlexibleContexts
FlexibleInstances
KindSignatures
MultiParamTypeClasses
OverloadedStrings
PolyKinds
Rank2Types
ScopedTypeVariables
TypeOperators
UndecidableInstances
if impl(ghc >= 8.0)
other-extensions:
DataKinds
PolyKinds
Exposed-modules:
Data.Csv
Data.Csv.Builder
Data.Csv.Incremental
Data.Csv.Parser
Data.Csv.Streaming
Other-modules:
Data.Csv.Conversion
Data.Csv.Conversion.Internal
Data.Csv.Encoding
Data.Csv.Types
Data.Csv.Util
Build-depends:
array >= 0.4 && < 0.6,
attoparsec >= 0.10.2 && < 0.15,
base >= 4.5 && < 5,
bytestring >= 0.9.2 && < 0.12,
containers >= 0.4.2 && < 0.7,
deepseq >= 1.1 && < 1.5,
hashable < 1.5,
text < 2.1,
unordered-containers < 0.3,
vector >= 0.8 && < 0.14,
Only >= 0.1 && < 0.1.1
if flag(pre-bytestring-0-10-4)
build-depends: bytestring < 0.10.4
, bytestring-builder >= 0.10.8 && < 0.11
else
build-depends: bytestring >= 0.10.4
, text-short == 0.1.*
-- GHC.Generics lived in `ghc-prim` for GHC 7.2 & GHC 7.4 only
if impl(ghc < 7.6)
build-depends: ghc-prim == 0.2.*
-- https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0#Recommendationsforforward-compatibility
if impl(ghc >= 8.0)
ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances
else
-- provide/emulate `Control.Monad.Fail` and `Data.Semigroups` API for pre-GHC8
build-depends: fail == 4.9.*, semigroups == 0.18.*
if impl(ghc >= 8.2)
ghc-options: -Wcpp-undef
ghc-options: -Wall -O2
hs-source-dirs: ../
----------------------------------------------------------------------------
Benchmark benchmark-iut
default-language: Haskell2010
Type: exitcode-stdio-1.0
Main-is: Benchmarks.hs
-- dependencies with version constraints inherited via lib:cassava-iut
build-depends: base
, bytestring
, cassava-iut
, deepseq
, unordered-containers
, text
, vector
build-depends: criterion >= 1.2 && < 1.6
, lazy-csv == 0.5.*
ghc-options: -Wall -O2
Benchmark benchmark-ref
default-language: Haskell2010
Type: exitcode-stdio-1.0
Main-is: Benchmarks.hs
-- dependencies with version constraints inherited via lib:cassava-iut
build-depends: base
, bytestring
, deepseq
, unordered-containers
, text
, vector
build-depends: criterion >= 1.2 && < 1.6
, lazy-csv == 0.5.*
, cassava >= 0.4 && < 0.6
ghc-options: -Wall -O2