mirror of
https://github.com/typeable/id.git
synced 2024-08-16 08:30:37 +03:00
78 lines
1.4 KiB
Plaintext
78 lines
1.4 KiB
Plaintext
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
|
|
|
|
library
|
|
exposed-modules:
|
|
Data.Id
|
|
-- other-modules:
|
|
-- other-extensions:
|
|
build-depends:
|
|
aeson,
|
|
base >=4.12 && <5,
|
|
binary,
|
|
deepseq,
|
|
hashable,
|
|
http-api-data,
|
|
lens,
|
|
openapi3,
|
|
path-pieces,
|
|
text,
|
|
QuickCheck,
|
|
uuid,
|
|
if flag(postgres) && !impl(ghcjs)
|
|
build-depends:
|
|
postgresql-simple
|
|
cpp-options: -DUSE_POSTGRES
|
|
if flag(cassava) && !impl(ghcjs)
|
|
build-depends:
|
|
cassava
|
|
cpp-options: -DUSE_CASSAVA
|
|
if flag(flat)
|
|
build-depends:
|
|
flat,
|
|
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
|