forked from nikita-volkov/postgresql-binary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
postgresql-binary.cabal
181 lines (171 loc) · 5.99 KB
/
postgresql-binary.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
name:
postgresql-binary
version:
0.6.0
synopsis:
Encoders and decoders for the PostgreSQL's binary format
description:
An API for dealing with PostgreSQL's binary data format.
.
It can be used to implement high level APIs for Postgres.
E.g., <http://hackage.haskell.org/package/hasql-postgres "hasql-postgres">
is based on this library.
.
It supports all Postgres versions starting from 8.3
and is tested against 8.3, 9.3 and 9.4
with the @integer_datetimes@ setting off and on.
category:
Database, Codecs, Parsing
homepage:
https://github.com/nikita-volkov/postgresql-binary
bug-reports:
https://github.com/nikita-volkov/postgresql-binary/issues
author:
Nikita Volkov <nikita.y.volkov@mail.ru>
maintainer:
Nikita Volkov <nikita.y.volkov@mail.ru>
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/postgresql-binary.git
library
hs-source-dirs:
library
ghc-options:
-funbox-strict-fields
default-extensions:
Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, 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:
PostgreSQLBinary.Prelude
PostgreSQLBinary.Encoder.Builder
PostgreSQLBinary.Decoder.Zepto
PostgreSQLBinary.Integral
PostgreSQLBinary.Numeric
PostgreSQLBinary.Time
PostgreSQLBinary.Interval
exposed-modules:
PostgreSQLBinary.Array
PostgreSQLBinary.Composite
PostgreSQLBinary.Encoder
PostgreSQLBinary.Decoder
build-depends:
-- parsers:
attoparsec >= 0.10 && < 0.13,
-- data:
uuid == 1.3.*,
time >= 1.4 && < 1.6,
scientific >= 0.2 && < 0.4,
text >= 1 && < 1.3,
bytestring >= 0.10 && < 0.11,
vector == 0.10.*,
-- errors:
loch-th == 0.2.*,
placeholders == 0.1.*,
-- general:
transformers >= 0.3 && < 0.5,
base-prelude >= 0.1.3 && < 0.2
test-suite tests
type:
exitcode-stdio-1.0
hs-source-dirs:
executables
main-is:
Tests.hs
other-modules:
PostgreSQLBinary.PTI
ghc-options:
-threaded
"-with-rtsopts=-N"
-funbox-strict-fields
default-extensions:
Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, 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:
-- testing:
postgresql-binary,
HTF == 0.12.*,
quickcheck-instances == 0.3.*,
QuickCheck >= 2.7 && < 2.8,
-- database:
postgresql-libpq == 0.9.*,
-- data:
uuid == 1.3.*,
time >= 1.4 && < 1.6,
scientific >= 0.2 && < 0.4,
text >= 1 && < 1.3,
bytestring >= 0.10 && < 0.11,
vector == 0.10.*,
-- general:
base-prelude >= 0.1.3 && < 0.2
benchmark decoding
type:
exitcode-stdio-1.0
hs-source-dirs:
executables
main-is:
Decoding.hs
ghc-options:
-O2
-threaded
"-with-rtsopts=-N"
-funbox-strict-fields
default-extensions:
Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, 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:
postgresql-binary,
-- benchmarking:
criterion == 1.0.*,
-- data:
time >= 1.4 && < 1.6,
scientific >= 0.2 && < 0.4,
text >= 1 && < 1.3,
bytestring >= 0.10 && < 0.11,
-- general:
deepseq >= 1.3 && < 1.5,
mtl-prelude < 3,
base-prelude >= 0.1.3 && < 0.2
benchmark encoding
type:
exitcode-stdio-1.0
hs-source-dirs:
executables
main-is:
Encoding.hs
ghc-options:
-O2
-threaded
"-with-rtsopts=-N"
-funbox-strict-fields
default-extensions:
Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, 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:
postgresql-binary,
-- benchmarking:
criterion == 1.0.*,
-- data:
time >= 1.4 && < 1.6,
scientific >= 0.2 && < 0.4,
text >= 1 && < 1.3,
bytestring >= 0.10 && < 0.11,
-- general:
deepseq >= 1.3 && < 1.5,
mtl-prelude < 3,
base-prelude >= 0.1.3 && < 0.2