6synopsis: A family of combinators for defining webservices APIs and serving them
9 A family of combinators for defining webservices APIs and serving them
11 You can learn about the basics in the <http://docs.servant.dev/en/stable/tutorial/index.html tutorial>.
13 <https://github.com/haskell-servant/servant/blob/master/servant-server/example/greet.hs Here>
14 is a runnable example, with comments, that defines a dummy API and implements
15 a webserver that serves this API, using this package.
17 <https://github.com/haskell-servant/servant/blob/master/servant-server/CHANGELOG.md CHANGELOG>
19homepage: http://docs.servant.dev/
20bug-reports: http://github.com/haskell-servant/servant/issues
23author: Servant Contributors
24maintainer: haskell-servant-maintainers@googlegroups.com
25copyright: 2014-2016 Zalora South East Asia Pte Ltd, 2016-2019 Servant Contributors
40 location: http://github.com/haskell-servant/servant.git
46 cabal-doctest >= 1.0.6 && <1.1
52 Servant.Server.Experimental.Auth
53 Servant.Server.Generic
54 Servant.Server.Internal
55 Servant.Server.Internal.BasicAuth
56 Servant.Server.Internal.Context
57 Servant.Server.Internal.Delayed
58 Servant.Server.Internal.DelayedIO
59 Servant.Server.Internal.Handler
60 Servant.Server.Internal.Router
61 Servant.Server.Internal.RouteResult
62 Servant.Server.Internal.RoutingApplication
63 Servant.Server.Internal.ServerError
64 Servant.Server.StaticFiles
68 Servant.Utils.StaticFiles
70 -- Bundled with GHC: Lower bound to not force re-installs
71 -- text and mtl are bundled starting with GHC-8.4
74 , bytestring >= 0.10.8.1 && < 0.11
75 , containers >= 0.5.7.1 && < 0.7
76 , mtl >= 2.2.2 && < 2.3
77 , text >= 1.2.3.0 && < 1.3
78 , transformers >= 0.5.2.0 && < 0.6
79 , filepath >= 1.4.1.1 && < 1.5
81 -- Servant dependencies
82 -- strict dependency as we re-export 'servant' things.
84 servant >= 0.16.2 && < 0.16.3
85 , http-api-data >= 0.4.1 && < 0.4.2
87 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
88 -- Here can be exceptions if we really need features from the newer versions.
90 base-compat >= 0.10.5 && < 0.12
91 , base64-bytestring >= 1.0.0.1 && < 1.1
92 , exceptions >= 0.10.0 && < 0.11
93 , http-media >= 0.7.1.3 && < 0.9
94 , http-types >= 0.12.2 && < 0.13
95 , network-uri >= 2.6.1.0 && < 2.8
96 , monad-control >= 1.0.2.3 && < 1.1
97 , network >= 2.8 && < 3.2
98 , string-conversions >= 0.4.0.1 && < 0.5
99 , resourcet >= 1.2.2 && < 1.3
100 , tagged >= 0.8.6 && < 0.9
101 , transformers-base >= 0.4.5.2 && < 0.5
102 , wai >= 3.2.1.2 && < 3.3
103 , wai-app-static >= 3.1.6.2 && < 3.2
104 , word8 >= 0.1.3 && < 0.2
107 default-language: Haskell2010
108 ghc-options: -Wall -Wno-redundant-constraints
112 hs-source-dirs: example
114 default-language: Haskell2010
124 aeson >= 1.4.1.0 && < 1.5
125 , warp >= 3.2.25 && < 3.4
128 type: exitcode-stdio-1.0
130 default-language: Haskell2010
134 Servant.ArbitraryMonadServerSpec
135 Servant.Server.ErrorSpec
136 Servant.Server.Internal.ContextSpec
137 Servant.Server.Internal.RoutingApplicationSpec
138 Servant.Server.RouterSpec
139 Servant.Server.StaticFilesSpec
140 Servant.Server.StreamingSpec
141 Servant.Server.UsingContextSpec
142 Servant.Server.UsingContextSpec.TestCombinators
146 -- Dependencies inherited from the library. No need to specify bounds.
161 , transformers-compat
164 -- Additonal dependencies
166 aeson >= 1.4.1.0 && < 1.5
167 , directory >= 1.3.0.0 && < 1.4
168 , hspec >= 2.6.0 && < 2.8
169 , hspec-wai >= 0.9.0 && < 0.10
170 , QuickCheck >= 2.12.6.1 && < 2.14
171 , should-not-typecheck >= 2.1.0 && < 2.2
172 , temporary >= 1.3 && < 1.4
173 , wai-extra >= 3.0.24.3 && < 3.1
176 hspec-discover:hspec-discover >= 2.6.0 && <2.8
182 , doctest >= 0.16.0 && <0.17
183 type: exitcode-stdio-1.0
184 main-is: test/doctests.hs
186 default-language: Haskell2010
187 ghc-options: -Wall -threaded
189 x-doctest-options: -fdiagnostics-color=never
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