-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathservant-routes.cabal
119 lines (112 loc) · 3.03 KB
/
servant-routes.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
cabal-version: 3.0
name: servant-routes
version: 0.1.0.0
synopsis: Generate route descriptions from Servant APIs
description:
See the documentation of 'Servant.API.Routes'.
license: BSD-3-Clause
license-file: LICENSE
author: Frederick Pringle
maintainer: [email protected]
copyright: Copyright(c) Frederick Pringle 2024
homepage: https://github.com/fpringle/servant-routes
bug-reports: https://github.com/fpringle/servant-routes/issues
category: Servant, Web
build-type: Simple
extra-doc-files: CHANGELOG.md
README.md
tested-with:
GHC == 8.8.4
, GHC == 8.10.7
, GHC == 9.0.2
, GHC == 9.2.4
, GHC == 9.2.8
, GHC == 9.4.2
, GHC == 9.4.5
source-repository head
type: git
location: https://github.com/fpringle/servant-routes
common warnings
ghc-options: -Wall -Wno-unused-do-bind
common deps
build-depends:
, base >= 4.13 && < 5
, servant >= 0.17 && < 0.21
, aeson >= 2.0 && < 2.3
, text >= 1.2 && < 2.2
, http-types >= 0.12 && < 0.13
, containers >= 0.6 && < 0.8
, microlens >= 0.4.9 && < 0.5
, microlens-th >= 0.4.3 && < 0.5
, aeson-pretty >= 0.8.8 && < 0.9
common extensions
default-extensions:
DeriveGeneric
DerivingVia
FlexibleContexts
FlexibleInstances
LambdaCase
NamedFieldPuns
OverloadedStrings
PackageImports
RecordWildCards
ScopedTypeVariables
TypeApplications
ViewPatterns
DataKinds
AllowAmbiguousTypes
TypeFamilies
TypeOperators
library
import:
warnings
, deps
, extensions
ghc-options: -Wunused-packages
exposed-modules:
Servant.API.Routes
Servant.API.Routes.Route
Servant.API.Routes.Header
Servant.API.Routes.Param
Servant.API.Routes.Path
Servant.API.Routes.Request
Servant.API.Routes.Response
Servant.API.Routes.Auth
Servant.API.Routes.Internal.Some
Servant.API.Routes.Internal.Header
Servant.API.Routes.Internal.Param
Servant.API.Routes.Internal.Path
Servant.API.Routes.Internal.Request
Servant.API.Routes.Internal.Response
Servant.API.Routes.Internal.Route
Servant.API.Routes.Internal.Auth
other-modules:
Servant.API.Routes.Utils
-- other-extensions:
hs-source-dirs: src
default-language: Haskell2010
test-suite servant-routes-test
import:
warnings
, deps
, extensions
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
other-modules:
Servant.API.RoutesSpec
Servant.API.Routes.RouteSpec
Servant.API.Routes.HeaderSpec
Servant.API.Routes.ParamSpec
Servant.API.Routes.PathSpec
Servant.API.Routes.RequestSpec
Servant.API.Routes.ResponseSpec
Servant.API.Routes.SomeSpec
build-tool-depends:
hspec-discover:hspec-discover
ghc-options: -Wno-orphans
build-depends:
, servant-routes
, hspec >= 2.9 && < 2.11
, QuickCheck >= 2.14 && < 2.15