on mniip/backend help sign in
typeable/id/id.cabal
70 lines 1.5 kB history raw
1cabal-version: 2.4
2name: id
3version: 0.2.0.0
4license-file: LICENSE
6flag cassava
7 description: Enable Postgresql support
8 default: True
9 manual: False
11flag postgres
12 description: Enable Postgresql support
13 default: True
14 manual: False
16flag flat
17 description: Enable Flat serialization support
18 default: True
19 manual: False
21flag store
22 description: Enable Data.Store serialization support
23 default: False
24 manual: False
26library
27 exposed-modules: Data.Id
28 build-depends:
29 , aeson >=1.0
30 , base >=4.12 && <5
31 , binary
32 , deepseq
33 , hashable
34 , http-api-data
35 , lens
36 , openapi3
37 , path-pieces
38 , QuickCheck
39 , text
40 , uuid >=1.3.9
42 if (flag(postgres) && !(impl(ghcjs) || arch(javascript)))
43 build-depends: postgresql-simple
44 cpp-options: -DUSE_POSTGRES
46 if (flag(cassava) && !(impl(ghcjs) || arch(javascript)))
47 build-depends: cassava
48 cpp-options: -DUSE_CASSAVA
50 if flag(flat)
51 build-depends: flat >=0.4
52 cpp-options: -DUSE_FLAT
54 if flag(store)
55 build-depends: store
56 cpp-options: -DUSE_STORE
58 hs-source-dirs: src
59 default-language: Haskell2010
60 default-extensions:
61 AllowAmbiguousTypes
62 DeriveGeneric
63 DerivingStrategies
64 GeneralizedNewtypeDeriving
65 PolyKinds
66 RankNTypes
67 RoleAnnotations
68 ScopedTypeVariables
69 TypeApplications
70 TypeFamilies