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.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.2
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 , 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.
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.
80 base-compat >= 0.10.5 && < 0.12
81 , base64-bytestring >= 1.0.0.1 && < 1.3
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
98 default-language: Haskell2010
100 ghc-options: -Wall -Wno-redundant-constraints
104 hs-source-dirs: example
106 default-language: Haskell2010
116 aeson >= 1.4.1.0 && < 1.6
117 , warp >= 3.2.25 && < 3.4
120 type: exitcode-stdio-1.0
122 default-language: Haskell2010
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
138 -- Dependencies inherited from the library. No need to specify bounds.
153 , transformers-compat
156 -- Additional dependencies
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
168 hspec-discover:hspec-discover >= 2.6.0 && <2.8
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