-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathid.cabal
More file actions
85 lines (72 loc) · 1.8 KB
/
id.cabal
File metadata and controls
85 lines (72 loc) · 1.8 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
cabal-version: 2.4
name: id
version: 0.2.0.0
license-file: LICENSE
flag cassava
description: Enable Postgresql support
default: True
manual: False
flag postgres
description: Enable Postgresql support
default: True
manual: False
flag flat
description: Enable Flat serialization support
default: True
manual: False
flag store
description: Enable Data.Store serialization support
default: False
manual: False
flag uuid-impl
description: Include some functions with extra dependencies.
Disable to reduce dependencies.
default: True
manual: False
library
exposed-modules: Data.Id
build-depends:
, aeson >=1.0
, base >=4.12 && <5
, binary
, deepseq
, hashable
, http-api-data
, lens
, path-pieces
, text
, uuid-types
if flag(uuid-impl)
build-depends:
, uuid >=1.3.9
cpp-options: -DUSE_UUID
if !(impl(ghcjs) || arch(javascript) || arch(wasm32))
build-depends:
, openapi3
, QuickCheck
cpp-options: -DBACKEND
if (flag(postgres) && !(impl(ghcjs) || arch(javascript) || arch(wasm32)))
build-depends: postgresql-simple
cpp-options: -DUSE_POSTGRES
if (flag(cassava) && !(impl(ghcjs) || arch(javascript) || arch(wasm32)))
build-depends: cassava
cpp-options: -DUSE_CASSAVA
if flag(flat)
build-depends: flat >=0.4
cpp-options: -DUSE_FLAT
if flag(store)
build-depends: store
cpp-options: -DUSE_STORE
hs-source-dirs: src
default-language: Haskell2010
default-extensions:
AllowAmbiguousTypes
DeriveGeneric
DerivingStrategies
GeneralizedNewtypeDeriving
PolyKinds
RankNTypes
RoleAnnotations
ScopedTypeVariables
TypeApplications
TypeFamilies