-
-
Notifications
You must be signed in to change notification settings - Fork 412
/
cabal.project
89 lines (76 loc) · 2.12 KB
/
cabal.project
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
packages:
servant/
servant-client-core/
servant-client/
servant-server/
servant-auth/servant-auth
servant-auth/servant-auth-client
servant-auth/servant-auth-docs
servant-auth/servant-auth-server
servant-auth/servant-auth-swagger
servant-docs/
servant-foreign/
servant-http-streams/
servant-quickcheck/
servant-swagger/
doc/tutorial/
-- servant streaming
packages:
servant-machines/
servant-conduit/
servant-pipes/
-- servant GHCJS
-- packages:
-- servant-jsaddle/
-- Cookbooks
packages:
doc/cookbook/basic-auth
doc/cookbook/curl-mock
doc/cookbook/custom-errors
doc/cookbook/basic-streaming
doc/cookbook/db-postgres-pool
doc/cookbook/db-sqlite-simple
doc/cookbook/file-upload
doc/cookbook/generic
doc/cookbook/hoist-server-with-context
doc/cookbook/https
doc/cookbook/jwt-and-basic-auth
doc/cookbook/pagination
-- doc/cookbook/sentry
-- Commented out because servant-quickcheck currently doesn't build.
-- doc/cookbook/testing
doc/cookbook/uverb
doc/cookbook/structuring-apis
doc/cookbook/using-custom-monad
doc/cookbook/using-free-client
-- doc/cookbook/open-id-connect
doc/cookbook/managed-resource
doc/cookbook/openapi3
tests: True
optimization: False
-- Development flags
package *
ghc-options: -fshow-hole-constraints -fhide-source-paths
-- reorder-goals: True
-- Print ticks so that doctest type querying is consistent across GHC versions.
-- This block can be removed when we drop support for GHC 9.4 and below.
if(impl(ghc >= 9.6.1))
package servant
ghc-options: -fprint-redundant-promotion-ticks
package servant-server
ghc-options: -fprint-redundant-promotion-ticks
-- This block is for GHC 9.10.1.
allow-newer: servant-openapi3:base
allow-newer: openapi3:base
allow-newer: openapi3:template-haskell
allow-newer: servant-js:base
allow-newer: servant-js:lens
allow-newer: lucid:base
-- This block is for hashable-1.5
allow-newer: vault:hashable
allow-newer: psqueues:hashable
allow-newer: insert-ordered-containers:hashable
allow-newer: openapi3:hashable
-- http2-5.3.3 is blacklisted, force http2-5.3.2 or http2-5.3.4
constraints:
http2 ==5.3.2 || ==5.3.4