forked from nikita-volkov/hasql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhasql.cabal
205 lines (193 loc) · 6.84 KB
/
hasql.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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
name:
hasql
version:
1.1.1
category:
Hasql, Database, PostgreSQL
synopsis:
An efficient PostgreSQL driver and a flexible mapping API
description:
This package is the root of the \"hasql\" ecosystem.
.
The API is completely disinfected from exceptions. All error-reporting is explicit and is presented using the 'Either' type.
.
The version 1 is completely backward-compatible with 0.19.
homepage:
https://github.com/nikita-volkov/hasql
bug-reports:
https://github.com/nikita-volkov/hasql/issues
author:
Nikita Volkov <[email protected]>
maintainer:
Nikita Volkov <[email protected]>
copyright:
(c) 2014, Nikita Volkov
license:
MIT
license-file:
LICENSE
build-type:
Simple
cabal-version:
>=1.10
source-repository head
type:
git
location:
git://github.com/nikita-volkov/hasql.git
library
hs-source-dirs:
library
ghc-options:
default-extensions:
Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
default-language:
Haskell2010
other-modules:
Hasql.Private.Prelude
Hasql.Private.PTI
Hasql.Private.IO
Hasql.Private.Query
Hasql.Private.Session
Hasql.Private.Connection
Hasql.Private.PreparedStatementRegistry
Hasql.Private.Settings
Hasql.Private.Commands
Hasql.Private.Decoders.Array
Hasql.Private.Decoders.Composite
Hasql.Private.Decoders.Value
Hasql.Private.Decoders.Row
Hasql.Private.Decoders.Result
Hasql.Private.Decoders.Results
Hasql.Private.Encoders.Array
Hasql.Private.Encoders.Value
Hasql.Private.Encoders.Params
exposed-modules:
Hasql.Decoders
Hasql.Encoders
Hasql.Connection
Hasql.Query
Hasql.Session
build-depends:
-- parsing:
attoparsec >= 0.10 && < 0.14,
-- database:
postgresql-binary >= 0.12.1 && < 0.13,
postgresql-libpq == 0.9.*,
-- builders:
bytestring-strict-builder >= 0.4 && < 0.5,
-- data:
dlist >= 0.7 && < 0.9,
vector >= 0.10 && < 0.13,
hashtables >= 1.1 && < 2,
text >= 1 && < 2,
bytestring >= 0.10 && < 0.11,
hashable >= 1.2 && < 1.3,
-- control:
semigroups >= 0.18 && < 0.20,
data-default-class >= 0.0.1 && < 0.2,
profunctors >= 5.1 && < 6,
contravariant-extras == 0.3.*,
contravariant >= 1.3 && < 2,
mtl >= 2 && < 3,
transformers >= 0.3 && < 0.6,
-- errors:
loch-th == 0.2.*,
placeholders == 0.1.*,
-- general:
base-prelude >= 0.1.19 && < 2,
base >= 4.6 && < 5
test-suite tasty
type:
exitcode-stdio-1.0
hs-source-dirs:
tasty
main-is:
Main.hs
other-modules:
Main.DSL
Main.Connection
Main.Queries
Main.Prelude
default-extensions:
Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
default-language:
Haskell2010
build-depends:
-- database:
hasql,
-- testing:
tasty >= 0.12 && < 0.13,
tasty-quickcheck >= 0.9 && < 0.10,
tasty-hunit >= 0.9 && < 0.11,
quickcheck-instances >= 0.3.11 && < 0.4,
QuickCheck >= 2.8.1 && < 3,
-- general:
data-default-class,
--
rerebase < 2
test-suite threads-test
type:
exitcode-stdio-1.0
hs-source-dirs:
threads-test
main-is:
Main.hs
other-modules:
Main.Queries
ghc-options:
-O2
-threaded
"-with-rtsopts=-N"
default-extensions:
Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
default-language:
Haskell2010
build-depends:
-- database:
hasql,
--
rebase
benchmark benchmarks
type:
exitcode-stdio-1.0
hs-source-dirs:
benchmarks
main-is:
Main.hs
ghc-options:
-O2
-threaded
"-with-rtsopts=-N"
-rtsopts
-funbox-strict-fields
default-extensions:
Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
default-language:
Haskell2010
build-depends:
hasql,
-- benchmarking:
criterion >= 1.1 && < 2,
-- general:
bug == 1.*,
rerebase < 2
test-suite profiling
type:
exitcode-stdio-1.0
hs-source-dirs:
profiling
main-is:
Main.hs
ghc-options:
-O2
-threaded
-rtsopts
default-extensions:
Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
default-language:
Haskell2010
build-depends:
hasql,
bug == 1.*,
rerebase == 1.*