-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathunleash-client-haskell.cabal
87 lines (80 loc) · 2.28 KB
/
unleash-client-haskell.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
cabal-version: 3.0
name: unleash-client-haskell
version: 0.7.0
synopsis: Unleash feature toggle client
description:
This is an [Unleash](https://www.getunleash.io/) client SDK for Haskell.
'Unleash.Client' provides a stateful HTTP client with functions and types for:
- Client configuration
- Client registration
- Fetching feature toggles
- Fetching variants
- Sending metrics
See [the source repo](https://github.com/finn-no/unleash-client-haskell) for more information and example usage.
category: Web
author: FINN.no
homepage: https://github.com/finn-no/unleash-client-haskell
maintainer: See README.md
license: MIT
copyright: Copyright © FINN.no AS, Inc. All rights reserved.
extra-doc-files: CHANGELOG.md
extra-source-files: README.md
common all
default-extensions:
BlockArguments
DataKinds
DeriveFoldable
DeriveFunctor
DeriveTraversable
DerivingStrategies
DuplicateRecordFields
ExplicitNamespaces
FlexibleInstances
LambdaCase
MultiParamTypeClasses
OverloadedRecordDot
OverloadedStrings
RankNTypes
ScopedTypeVariables
TypeOperators
TypeApplications
ghc-options:
-W
-Wno-unused-top-binds
-Wredundant-constraints
-Wunused-packages
-haddock
default-language: Haskell2010
library
import: all
exposed-modules:
Unleash.Client,
other-modules:
Unleash.Internal.HttpClient
Paths_unleash_client_haskell
autogen-modules:
Paths_unleash_client_haskell
hs-source-dirs: src
build-depends:
aeson >= 2.0.3 && < 2.2,
base >= 4.7 && < 5,
containers >= 0.6.4 && < 0.7,
mtl >= 2.2.2 && < 2.4,
text >= 1.2.5 && < 2.1,
time >= 1.9.3 && < 1.13,
http-client-tls >= 0.3.6 && < 0.4,
http-media >= 0.8.0 && < 0.9,
servant >= 0.19.1 && < 0.21,
servant-client >= 0.19 && < 0.21,
unleash-client-haskell-core >= 0.11.0 && < 0.12,
executable example
import: all
main-is: Main.hs
hs-source-dirs: example
build-depends:
unliftio >= 0.2.23 && < 0.3,
base,
mtl,
servant-client,
text,
unleash-client-haskell,