forked from haskell-works/avro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathavro.cabal
269 lines (258 loc) · 12.1 KB
/
avro.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
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
cabal-version: 2.2
name: avro
version: 0.4.6.0
synopsis: Avro serialization support for Haskell
description: Avro serialization and deserialization support for Haskell
category: Data
homepage: https://github.com/haskell-works/avro#readme
bug-reports: https://github.com/haskell-works/avro/issues
author: Thomas M. DuBuisson
maintainer: Alexey Raga <[email protected]>
license: BSD-3-Clause
license-file: LICENSE
build-type: Simple
extra-source-files: README.md
ChangeLog.md
test/data/enums.avsc
test/data/internal-bindings.avsc
test/data/karma.avsc
test/data/logical.avsc
test/data/maybe.avsc
test/data/record.avsc
test/data/reused.avsc
test/data/small.avsc
test/data/unions-no-namespace.avsc
test/data/unions.avsc
test/data/enums-object.json
test/data/namespace-inference.json
test/data/null-namespace.json
test/data/unions-object-a.json
test/data/unions-object-b.json
test/data/overlay/composite.avsc
test/data/overlay/expectation.avsc
test/data/overlay/primitives.avsc
test/data/fixed-types.avsc
source-repository head
type: git
location: https://github.com/haskell-works/avro
flag dev
description: Use development GHC flags
manual: True
default: False
flag templatehaskell
description: Build Avro.Deriving, which uses Template Haskell.
manual: False
default: True
common base { build-depends: base >= 4 && < 5 }
common aeson { build-depends: aeson }
common array { build-depends: array }
common avro { build-depends: avro }
common base16-bytestring { build-depends: base16-bytestring }
common bifunctors { build-depends: bifunctors }
common big-decimal { build-depends: HasBigDecimal }
common binary { build-depends: binary }
common bytestring { build-depends: bytestring }
common containers { build-depends: containers }
common data-binary-ieee754 { build-depends: data-binary-ieee754 }
common deepseq { build-depends: deepseq }
common directory { build-depends: directory }
common doctest { build-depends: doctest >= 0.16.2 && < 0.17 }
common doctest-discover { build-depends: doctest-discover >= 0.2 && < 0.3 }
common extra { build-depends: extra }
common fail { build-depends: fail }
common gauge { build-depends: gauge }
common hashable { build-depends: hashable }
common hspec { build-depends: hspec }
common lens { build-depends: lens }
common lens-aeson { build-depends: lens-aeson }
common mtl { build-depends: mtl }
common QuickCheck { build-depends: QuickCheck }
common random { build-depends: random }
common raw-strings-qq { build-depends: raw-strings-qq }
common scientific { build-depends: scientific }
common semigroups { build-depends: semigroups }
common tagged { build-depends: tagged }
common text { build-depends: text >= 1.2.3 && < 1.3 }
common time { build-depends: time }
common tf-random { build-depends: tf-random }
common transformers { build-depends: transformers }
common unordered-containers { build-depends: unordered-containers }
common uuid { build-depends: uuid }
common vector { build-depends: vector }
common zlib { build-depends: zlib }
common config
default-language: Haskell2010
if flag(templatehaskell)
other-extensions: TemplateHaskell
build-depends: template-haskell >=2.4
if flag(dev)
ghc-options: -Wall -Werror
library
import: base
, aeson
, array
, base16-bytestring
, bifunctors
, big-decimal
, binary
, bytestring
, containers
, config
, data-binary-ieee754
, deepseq
, fail
, hashable
, mtl
, scientific
, semigroups
, tagged
, text
, time
, tf-random
, unordered-containers
, uuid
, vector
, zlib
exposed-modules: Data.Avro
Data.Avro.Codec
Data.Avro.Decode
Data.Avro.Decode.Get
Data.Avro.Decode.Lazy
Data.Avro.Decode.Lazy.Convert
Data.Avro.Decode.Lazy.Deconflict
Data.Avro.Decode.Lazy.FromLazyAvro
Data.Avro.Decode.Lazy.LazyValue
Data.Avro.Decode.Strict
Data.Avro.Decode.Strict.Internal
Data.Avro.DecodeRaw
Data.Avro.Deconflict
Data.Avro.Deriving
Data.Avro.Deriving.Lift
Data.Avro.Deriving.NormSchema
Data.Avro.EitherN
Data.Avro.Encode
Data.Avro.EncodeRaw
Data.Avro.FromAvro
Data.Avro.HasAvroSchema
Data.Avro.JSON
Data.Avro.Schema
Data.Avro.ToAvro
Data.Avro.Types
Data.Avro.Types.Decimal
Data.Avro.Types.Value
Data.Avro.Zag
Data.Avro.Zig
other-modules: Data.Avro.Types.Time
hs-source-dirs: src
other-extensions: OverloadedStrings
test-suite test
import: base
, aeson
, array
, avro
, base16-bytestring
, bifunctors
, big-decimal
, binary
, bytestring
, containers
, directory
, extra
, fail
, hashable
, hspec
, lens
, lens-aeson
, mtl
, zlib
, QuickCheck
, raw-strings-qq
, scientific
, semigroups
, tagged
, text
, tf-random
, time
, transformers
, unordered-containers
, uuid
, vector
type: exitcode-stdio-1.0
ghc-options: -threaded
default-language: Haskell2010
main-is: Spec.hs
build-tool-depends: hspec-discover:hspec-discover
other-modules:
Avro.Codec.ArraySpec
Avro.Codec.BoolSpec
Avro.Codec.CodecRawSpec
Avro.Codec.DoubleSpec
Avro.Codec.FloatSpec
Avro.Codec.Int64Spec
Avro.Codec.MaybeSpec
Avro.Codec.NestedSpec
Avro.Codec.TextSpec
Avro.Codec.ZigZagSpec
Avro.Decode.Lazy.ContainerSpec
Avro.Decode.Lazy.RawBlocksSpec
Avro.Decode.Lazy.RawValuesSpec
Avro.Decode.Lazy.ValuesSpec
Avro.Deconflict.A.Reader
Avro.Deconflict.A.Writer
Avro.Deconflict.B.Reader
Avro.Deconflict.B.Writer
Avro.Deconflict.C.Reader
Avro.Deconflict.C.Writer
Avro.DeconflictSpec
Avro.DefaultsSpec
Avro.EncodeRawSpec
Avro.JSONSpec
Avro.NamespaceSpec
Avro.NormSchemaSpec
Avro.ReuseFixedSpec
Avro.SchemaSpec
Avro.THEncodeContainerSpec
Avro.THEnumSpec
Avro.THLogicalTypeSpec
Avro.THReusedSpec
Avro.THSimpleSpec
Avro.THUnionSpec
Avro.ToAvroSpec
DecodeContainer
Example1
Paths_avro
autogen-modules: Paths_avro
hs-source-dirs: test
benchmark bench-time
import: base, config
, avro
, aeson
, bytestring
, containers
, gauge
, hashable
, mtl
, random
, raw-strings-qq
, text
, transformers
, unordered-containers
, vector
default-language: Haskell2010
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules: Bench.Deconflict
Bench.Deconflict.Reader
Bench.Deconflict.Writer
Bench.Time
hs-source-dirs: bench
test-suite doctest
import: base, config
, avro
, doctest
, doctest-discover
type: exitcode-stdio-1.0
ghc-options: -threaded
main-is: DoctestDriver.hs
HS-Source-Dirs: doctest
build-tool-depends: doctest-discover:doctest-discover