-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpreql.cabal
189 lines (183 loc) · 5.11 KB
/
preql.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
cabal-version: 1.18
-- This file has been generated from package.yaml by hpack version 0.33.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: f4dbe72a66bc70347b232733521f1dc19162d6cae9eb9467c4f262693e91d5b2
name: preql
version: 0.6
synopsis: safe PostgreSQL queries using Quasiquoters
description: Before you Post(gres)QL, preql.
.
@preql@ provides an effect type class `SQL`, a `select` quasiquoter
that checks SQL syntax at compile time, and a `sql` quasiquoter that
supports variable antiquotes, but does not attempt syntax
validation.
.
For more details, read
the [quickstart](https://github.com/bergey/preql#quickstart)
or the [vision](https://github.com/bergey/preql#vision-parsing-sql-in-haskell-quasiquotes)
.
Most applications will want to import the top-level module @Preql@. When writing @SQL@
instances or your own higher-level abstractions, you may want the lower-level,
IO-specific functions in @Preql.Wire@, not all of which are re-exported from @Preql@.
.
category: Database, PostgreSQL
homepage: https://github.com/bergey/preql#readme
bug-reports: https://github.com/bergey/preql/issues
author: Daniel Bergey
maintainer: [email protected]
license: BSD3
license-file: LICENSE
build-type: Simple
extra-doc-files:
CHANGELOG.md
source-repository head
type: git
location: https://github.com/bergey/preql
library
exposed-modules:
Preql
Preql.Effect
Preql.Effect.Internal
Preql.FromSql
Preql.FromSql.Class
Preql.FromSql.Instances
Preql.FromSql.TH
Preql.FromSql.Tuple
Preql.Imports
Preql.QuasiQuoter.Common
Preql.QuasiQuoter.Raw.Lex
Preql.QuasiQuoter.Raw.TH
Preql.QuasiQuoter.Syntax.Lex
Preql.QuasiQuoter.Syntax.Name
Preql.QuasiQuoter.Syntax.Params
Preql.QuasiQuoter.Syntax.Parser
Preql.QuasiQuoter.Syntax.Printer
Preql.QuasiQuoter.Syntax.Syntax
Preql.QuasiQuoter.Syntax.TH
Preql.Wire
Preql.Wire.Errors
Preql.Wire.Internal
Preql.Wire.Orphans
Preql.Wire.Query
Preql.Wire.ToSql
Preql.Wire.Tuples
Preql.Wire.TypeInfo.Static
Preql.Wire.TypeInfo.Types
Preql.Wire.Types
other-modules:
Paths_preql
hs-source-dirs:
src
default-extensions: OverloadedStrings DataKinds
build-tools:
alex
, happy
build-depends:
aeson >=1.4.7.1
, array >=0.5.4.0
, base >=4.13.0.0 && <5.0
, binary-parser >=0.5.6
, bytestring >=0.10.10.0
, bytestring-strict-builder >=0.4.5.3
, contravariant >=1.5.2
, mtl >=2.2.2
, postgresql-binary >=0.12.2
, postgresql-libpq >=0.9.4.2
, scientific >=0.3.6.2
, syb >=0.7.1
, template-haskell >=2.15.0.0
, text >=1.2.3.2
, th-lift-instances >=0.1.17
, time >=1.9.3
, transformers >=0.5.6.2
, unordered-containers
, uuid >=1.3.13
, vector >=0.12.1.2
, vector-sized >=1.4.1
default-language: Haskell2010
test-suite tests
type: exitcode-stdio-1.0
main-is: Test.hs
other-modules:
Test.Syntax.Generators
Test.Syntax.Parser
Test.Syntax.Printer
Test.Syntax.RoundTrip
Test.Wire
Test.Wire.Enum
Paths_preql
hs-source-dirs:
test
default-extensions: OverloadedStrings DataKinds
build-tools:
alex
, happy
build-depends:
aeson >=1.4.7.1
, array >=0.5.4.0
, base >=4.13.0.0 && <5.0
, binary-parser >=0.5.6
, bytestring >=0.10.10.0
, bytestring-strict-builder >=0.4.5.3
, containers >=0.6.2.1
, contravariant >=1.5.2
, generic-random
, hedgehog >=1.0.3
, mtl >=2.2.2
, postgresql-binary >=0.12.2
, postgresql-libpq >=0.9.4.2
, preql
, scientific >=0.3.6.2
, syb >=0.7.1
, tasty >=1.2.3
, tasty-hedgehog >=1.0
, tasty-hunit >=0.10.0
, template-haskell >=2.15.0.0
, text >=1.2.3.2
, th-lift-instances >=0.1.17
, time >=1.9.3
, transformers >=0.5.6.2
, unordered-containers
, uuid >=1.3.13
, vector >=0.12.1.2
, vector-sized >=1.4.1
default-language: Haskell2010
benchmark pgbench
type: exitcode-stdio-1.0
main-is: Bench.hs
other-modules:
Paths_preql
hs-source-dirs:
benchmark
default-extensions: OverloadedStrings DataKinds
build-tools:
alex
, happy
build-depends:
aeson >=1.4.7.1
, array >=0.5.4.0
, base >=4.13.0.0 && <5.0
, binary-parser >=0.5.6
, bytestring >=0.10.10.0
, bytestring-strict-builder >=0.4.5.3
, contravariant >=1.5.2
, criterion
, deepseq
, mtl >=2.2.2
, postgresql-binary >=0.12.2
, postgresql-libpq >=0.9.4.2
, preql
, scientific >=0.3.6.2
, syb >=0.7.1
, template-haskell >=2.15.0.0
, text >=1.2.3.2
, th-lift-instances >=0.1.17
, time >=1.9.3
, transformers >=0.5.6.2
, unordered-containers
, uuid >=1.3.13
, vector >=0.12.1.2
, vector-sized >=1.4.1
default-language: Haskell2010