git.iko.soy/typeable/servant
on try-fix-uverb help sign in
typeable/servant/servant-server/servant-server.cabal
168 lines 5.5 kB history raw
1cabal-version: >=1.10
2name: servant-server
3version: 0.18.2
5synopsis: A family of combinators for defining webservices APIs and serving them
6category: Servant, Web
7description:
8 A family of combinators for defining webservices APIs and serving them
9 .
10 You can learn about the basics in the <http://docs.servant.dev/en/stable/tutorial/index.html tutorial>.
11 .
12 <https://github.com/haskell-servant/servant/blob/master/servant-server/example/greet.hs Here>
13 is a runnable example, with comments, that defines a dummy API and implements
14 a webserver that serves this API, using this package.
15 .
16 <https://github.com/haskell-servant/servant/blob/master/servant-server/CHANGELOG.md CHANGELOG>
18homepage: http://docs.servant.dev/
19bug-reports: http://github.com/haskell-servant/servant/issues
20license: BSD3
21license-file: LICENSE
22author: Servant Contributors
23maintainer: haskell-servant-maintainers@googlegroups.com
24copyright: 2014-2016 Zalora South East Asia Pte Ltd, 2016-2019 Servant Contributors
25build-type: Simple
26tested-with: GHC ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.2
28extra-source-files:
29 CHANGELOG.md
30 README.md
32source-repository head
33 type: git
34 location: http://github.com/haskell-servant/servant.git
36library
37 exposed-modules:
38 Servant
39 Servant.Server
40 Servant.Server.Experimental.Auth
41 Servant.Server.Generic
42 Servant.Server.Internal
43 Servant.Server.Internal.BasicAuth
44 Servant.Server.Internal.Context
45 Servant.Server.Internal.Delayed
46 Servant.Server.Internal.DelayedIO
47 Servant.Server.Internal.ErrorFormatter
48 Servant.Server.Internal.Handler
49 Servant.Server.Internal.RouteResult
50 Servant.Server.Internal.Router
51 Servant.Server.Internal.RoutingApplication
52 Servant.Server.Internal.ServerError
53 Servant.Server.StaticFiles
54 Servant.Server.UVerb
56 -- deprecated
57 exposed-modules:
58 Servant.Utils.StaticFiles
60 -- Bundled with GHC: Lower bound to not force re-installs
61 -- text and mtl are bundled starting with GHC-8.4
62 build-depends:
63 base >= 4.9 && < 4.15
64 , bytestring >= 0.10.8.1 && < 0.11
65 , containers >= 0.5.7.1 && < 0.7
66 , mtl >= 2.2.2 && < 2.3
67 , text >= 1.2.3.0 && < 1.3
68 , transformers >= 0.5.2.0 && < 0.6
69 , filepath >= 1.4.1.1 && < 1.5
71 -- Servant dependencies
72 -- strict dependency as we re-export 'servant' things.
73 build-depends:
74 servant >= 0.18.2 && < 0.18.3
75 , http-api-data >= 0.4.1 && < 0.4.3
77 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
78 -- Here can be exceptions if we really need features from the newer versions.
79 build-depends:
80 base-compat >= 0.10.5 && < 0.12
81 , base64-bytestring >= 1.0.0.1 && < 1.2
82 , exceptions >= 0.10.0 && < 0.11
83 , http-media >= 0.7.1.3 && < 0.9
84 , http-types >= 0.12.2 && < 0.13
85 , network-uri >= 2.6.1.0 && < 2.8
86 , monad-control >= 1.0.2.3 && < 1.1
87 , network >= 2.8 && < 3.2
88 , sop-core >= 0.4.0.0 && < 0.6
89 , string-conversions >= 0.4.0.1 && < 0.5
90 , resourcet >= 1.2.2 && < 1.3
91 , tagged >= 0.8.6 && < 0.9
92 , transformers-base >= 0.4.5.2 && < 0.5
93 , wai >= 3.2.1.2 && < 3.3
94 , wai-app-static >= 3.1.6.2 && < 3.2
95 , word8 >= 0.1.3 && < 0.2
97 hs-source-dirs: src
98 default-language: Haskell2010
100 ghc-options: -Wall -Wno-redundant-constraints
102executable greet
103 main-is: greet.hs
104 hs-source-dirs: example
105 ghc-options: -Wall
106 default-language: Haskell2010
107 build-depends:
108 base
109 , base-compat
110 , servant
111 , servant-server
112 , wai
113 , text
115 build-depends:
116 aeson >= 1.4.1.0 && < 1.6
117 , warp >= 3.2.25 && < 3.4
119test-suite spec
120 type: exitcode-stdio-1.0
121 ghc-options: -Wall
122 default-language: Haskell2010
123 hs-source-dirs: test
124 main-is: Spec.hs
125 other-modules:
126 Servant.ArbitraryMonadServerSpec
127 Servant.Server.ErrorSpec
128 Servant.Server.Internal.ContextSpec
129 Servant.Server.Internal.RoutingApplicationSpec
130 Servant.Server.RouterSpec
131 Servant.Server.StaticFilesSpec
132 Servant.Server.StreamingSpec
133 Servant.Server.UsingContextSpec
134 Servant.Server.UsingContextSpec.TestCombinators
135 Servant.HoistSpec
136 Servant.ServerSpec
138 -- Dependencies inherited from the library. No need to specify bounds.
139 build-depends:
140 base
141 , base-compat
142 , base64-bytestring
143 , bytestring
144 , http-types
145 , mtl
146 , resourcet
147 , safe
148 , servant
149 , servant-server
150 , string-conversions
151 , text
152 , transformers
153 , transformers-compat
154 , wai
156 -- Additional dependencies
157 build-depends:
158 aeson >= 1.4.1.0 && < 1.6
159 , directory >= 1.3.0.0 && < 1.4
160 , hspec >= 2.6.0 && < 2.8
161 , hspec-wai >= 0.10.1 && < 0.12
162 , QuickCheck >= 2.12.6.1 && < 2.15
163 , should-not-typecheck >= 2.1.0 && < 2.2
164 , temporary >= 1.3 && < 1.4
165 , wai-extra >= 3.0.24.3 && < 3.2
167 build-tool-depends:
168 hspec-discover:hspec-discover >= 2.6.0 && <2.8