-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathmysql-haskell.cabal
More file actions
272 lines (249 loc) · 6.4 KB
/
Copy pathmysql-haskell.cabal
File metadata and controls
272 lines (249 loc) · 6.4 KB
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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
cabal-version: 3.4
name: mysql-haskell
version: 1.3.0
synopsis: pure haskell MySQL driver
description: pure haskell MySQL driver.
license: BSD-3-Clause
license-file: LICENSE
author: winterland1989
maintainer: hi@jappie.me
copyright: (c) 2016 Winterland
category: Database
build-type: Simple
extra-doc-files: ChangeLog.md
extra-source-files:
mozillaCAStore.pem
README.md
test/cert/ca-key.pem
test/cert/ca.pem
test/cert/server-cert.pem
test/cert/server-key.pem
test/cert/server-req.pem
test/json-data/buffer-builder.json
test/json-data/dates-fract.json
test/json-data/dates.json
test/json-data/example.json
test/json-data/geometry.json
test/json-data/integers.json
test/json-data/jp10.json
test/json-data/jp100.json
test/json-data/jp50.json
test/json-data/numbers.json
test/json-data/twitter1.json
test/json-data/twitter10.json
test/json-data/twitter100.json
test/json-data/twitter20.json
test/json-data/twitter50.json
homepage: https://github.com/winterland1989/mysql-haskell
bug-reports: https://github.com/winterland1989/mysql-haskell/issues
source-repository head
type: git
location: https://github.com/winterland1989/mysql-haskell
flag crypton-1-1
description: Build with crypton >= 1.1.0 (uses ram instead of memory for ByteArrayAccess)
default: True
manual: False
common common-options
ghc-options:
-Wall -Wincomplete-uni-patterns
-Wincomplete-record-updates -Widentities -Wredundant-constraints
-Wcpp-undef -fwarn-tabs -Wpartial-fields
-Wunused-packages
-fenable-th-splice-warnings
-fno-omit-yields
build-depends:
base >=4.9.1.0 && <4.22.0
default-language: GHC2021
library
import: common-options
exposed-modules:
Data.Binary.Parser
Data.Binary.Parser.Numeric
Data.Binary.Parser.Word8
Data.Connection
Data.Int.Int24
Data.TLSSetting
Data.Word.Word24
Database.MySQL.Base
Database.MySQL.BinLog
Database.MySQL.BinLogProtocol.BinLogEvent
Database.MySQL.BinLogProtocol.BinLogMeta
Database.MySQL.BinLogProtocol.BinLogValue
Database.MySQL.Connection
Database.MySQL.Field
Database.MySQL.Protocol.Auth
Database.MySQL.Protocol.ColumnDef
Database.MySQL.Protocol.Command
Database.MySQL.Protocol.Escape
Database.MySQL.Protocol.MySQLValue
Database.MySQL.Protocol.Packet
Database.MySQL.TLS
System.IO.Streams.TCP
System.IO.Streams.TLS
other-modules: Paths_mysql_haskell
autogen-modules: Paths_mysql_haskell
hs-source-dirs: src
other-modules: Database.MySQL.Query
build-depends:
asn1-encoding >=0.9 && <0.10,
asn1-types >=0.3 && <0.4,
binary >=0.8.3 && <0.9,
blaze-textual >=0.2 && <0.3,
bytestring >=0.10.2.0 && <0.12 || ^>=0.12.0,
bytestring-lexing >=0.5 && <0.6,
crypton-x509 >=1.5 && <2.0,
crypton-x509-store >=1.5 && <2.0,
crypton-x509-system >=1.5 && <2.0,
data-default-class >=0.1.2 && <0.2 || ^>=0.2.0,
deepseq >=1.4.6 && <1.5 || ^>=1.5.0,
io-streams >=1.2 && <2.0,
monad-loops >=0.4 && <0.5,
network >=2.3 && <4.0,
crypton-pem >=0.2.4 && <0.4,
scientific >=0.3 && <0.4,
text >=1.1 && <2.1 || ^>=2.1,
time >=1.5.0 && <1.12 || ^>=1.12.2 || ^>=1.14,
tls >=1.7.0 && <1.8 || ^>=1.8.0 || ^>=1.9.0 || ^>=2.0.0 || ^>=2.1.0 || ^>=2.2.0 || ^>=2.3.0 || ^>=2.4.0,
vector >=0.8 && <0.13 || ^>=0.13.0,
word-compat >=0.0 && <0.1
if flag(crypton-1-1)
build-depends:
crypton ^>=1.1.0,
ram >=0.20 && <0.23
else
build-depends:
crypton >=0.31 && <0.40 || ^>=1.0.0,
memory >=0.14.4 && <0.19
default-extensions:
DeriveDataTypeable
DeriveGeneric
MultiWayIf
OverloadedStrings
test-suite test
import: common-options
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Aeson
AesonBP
BoundsCheck
FieldRoundtrip
JSON
QC.ByteString
QC.Combinator
QC.Common
Orphans
Sha1Scramble
Sha256Scramble
TCPStreams
Word24
hs-source-dirs: test
build-depends:
attoparsec < 1.0,
base16-bytestring >=1.0 && <2.0,
binary >=0.8,
bytestring >=0.10,
deepseq,
directory < 2.0,
filepath < 2.0,
io-streams,
mysql-haskell,
network,
QuickCheck >=2.7 && <3.0,
quickcheck-instances < 1.0,
scientific >=0.3.0,
tasty >=0.11 && <2.0,
tasty-expected-failure < 1.0,
tasty-hunit < 1.0,
tasty-quickcheck >=0.8 && < 1.0,
text,
time,
unordered-containers < 1.0,
vector
default-extensions:
MultiWayIf
OverloadedStrings
ghc-options: -threaded
test-suite integration
type: exitcode-stdio-1.0
main-is: Integration.hs
other-modules:
BinaryRow
BinaryRowNew
BinLog
BinLogNew
CachingSha2
ExecuteMany
MysqlTests
RoundtripBit
RoundtripYear
SelectOne
TextRow
TLSConnection
TextRowNew
UnixSocket
hs-source-dirs: test
build-depends:
base,
bytestring >=0.10,
directory,
io-streams,
mysql-haskell,
tasty >=0.11 && <2.0,
tasty-hunit < 1.0,
text,
time,
vector
default-extensions:
MultiWayIf
OverloadedStrings
ghc-options: -threaded
default-language: Haskell2010
benchmark binary-parsers-bench
import: common-options
other-modules:
Aeson
AesonBP
Common
HttpReq
Network.Wai.Handler.Warp.ReadInt
Network.Wai.Handler.Warp.RequestHeader
build-depends:
attoparsec,
binary,
bytestring,
case-insensitive < 2,
criterion >=1.1 && <1.2 || ^>=1.6.3,
deepseq,
directory < 1.4,
filepath < 1.6,
http-types < 1.0,
mysql-haskell,
scanner < 0.4,
scientific,
text,
unordered-containers,
vector
hs-source-dirs: binary-parser-bench
main-is: Bench.hs
type: exitcode-stdio-1.0
ghc-options: -O2
benchmark bench24
import: common-options
type: exitcode-stdio-1.0
hs-source-dirs: word24-bench
main-is: Benchmark.hs
build-depends:
criterion >=1.1,
deepseq >=1.2 && <2,
mysql-haskell
ghc-options: -O2
-- enable to debug the RULES
-- executable exe
-- import: common-options
-- main-is: Main.hs
-- hs-source-dirs:
-- app
-- build-depends:
-- mysql-haskell
-- ghc-options: -Wno-unused-packages