5synopsis: A family of combinators for defining webservices APIs and serving them
8 A family of combinators for defining webservices APIs and serving them
10 You can learn about the basics in the <http://docs.servant.dev/en/stable/tutorial/index.html tutorial>.
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.
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
22author: Servant Contributors
23maintainer: haskell-servant-maintainers@googlegroups.com
24copyright: 2014-2016 Zalora South East Asia Pte Ltd, 2016-2019 Servant Contributors
26tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.2 || ==9.0.1
34 location: http://github.com/haskell-servant/servant.git
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
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
64 , bytestring >= 0.10.8.1 && < 0.12
65 , constraints >= 0.2 && < 0.14
66 , containers >= 0.5.7.1 && < 0.7
67 , mtl >= 2.2.2 && < 2.3
68 , text >= 1.2.3.0 && < 1.3
69 , transformers >= 0.5.2.0 && < 0.6
70 , filepath >= 1.4.1.1 && < 1.5
72 -- Servant dependencies
73 -- strict dependency as we re-export 'servant' things.
76 , http-api-data >= 0.4.1 && < 0.4.4
78 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
79 -- Here can be exceptions if we really need features from the newer versions.
81 base-compat >= 0.10.5 && < 0.12
82 , base64-bytestring >= 1.0.0.1 && < 1.3
83 , exceptions >= 0.10.0 && < 0.11
84 , http-media >= 0.7.1.3 && < 0.9
85 , http-types >= 0.12.2 && < 0.13
86 , network-uri >= 2.6.1.0 && < 2.8
87 , monad-control >= 1.0.2.3 && < 1.1
88 , network >= 2.8 && < 3.2
89 , sop-core >= 0.4.0.0 && < 0.6
90 , string-conversions >= 0.4.0.1 && < 0.5
91 , resourcet >= 1.2.2 && < 1.3
92 , tagged >= 0.8.6 && < 0.9
93 , transformers-base >= 0.4.5.2 && < 0.5
94 , wai >= 3.2.1.2 && < 3.3
95 , wai-app-static >= 3.1.6.2 && < 3.2
96 , word8 >= 0.1.3 && < 0.2
99 default-language: Haskell2010
101 ghc-options: -Wall -Wno-redundant-constraints
105 hs-source-dirs: example
107 default-language: Haskell2010
117 aeson >= 1.4.1.0 && < 3
118 , warp >= 3.2.25 && < 3.4
121 type: exitcode-stdio-1.0
123 default-language: Haskell2010
127 Servant.ArbitraryMonadServerSpec
128 Servant.Server.ErrorSpec
129 Servant.Server.Internal.ContextSpec
130 Servant.Server.Internal.RoutingApplicationSpec
131 Servant.Server.RouterSpec
132 Servant.Server.StaticFilesSpec
133 Servant.Server.StreamingSpec
134 Servant.Server.UsingContextSpec
135 Servant.Server.UsingContextSpec.TestCombinators
139 -- Dependencies inherited from the library. No need to specify bounds.
155 , transformers-compat
158 -- Additional dependencies
160 aeson >= 1.4.1.0 && < 3
161 , directory >= 1.3.0.0 && < 1.4
162 , hspec >= 2.6.0 && < 2.9
163 , hspec-wai >= 0.10.1 && < 0.12
164 , QuickCheck >= 2.12.6.1 && < 2.15
165 , should-not-typecheck >= 2.1.0 && < 2.2
166 , temporary >= 1.3 && < 1.4
167 , wai-extra >= 3.0.24.3 && < 3.2
170 hspec-discover:hspec-discover >= 2.6.0 && <2.9
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list