]> Git — Sourcephile - haskell/symantic-http.git/blob - symantic-http.cabal
Add streaming support through pipes
[haskell/symantic-http.git] / symantic-http.cabal
1 name: symantic-http
2 -- PVP: +-+------- breaking API changes
3 -- | | +----- non-breaking API additions
4 -- | | | +--- code changes with no API change
5 version: 0.0.0.20190324
6 category: Protocol
7 synopsis: Symantic combinators for deriving HTTP clients, servers and docs from an API.
8 description: An experimental embedded Domain-Specific Language (eDSL)
9 to automatically derive code, mainly for:
10 .
11 * HTTP clients (request building and encoding)
12 based upon <https://hackage.haskell.org/package/http-client http-client>.
13 * and HTTP servers (request routing and decoding)
14 based upon <https://hackage.haskell.org/package/warp warp>.
15 .
16 This is the same approach than <https://hackage.haskell.org/package/servant servant>'s
17 but with different implementation and interface
18 based upon <http://okmij.org/ftp/typed-formatting/ symantics> (aka. Tagless-Final eDSL)
19 instead of an advanced type-level interface.
20 extra-doc-files:
21 license: GPL-3
22 license-file: COPYING
23 stability: experimental
24 author: Julien Moutinho <julm+symantic-http@autogeree.net>
25 maintainer: Julien Moutinho <julm+symantic-http@autogeree.net>
26 bug-reports: Julien Moutinho <julm+symantic-http@autogeree.net>
27 -- homepage:
28
29 build-type: Simple
30 cabal-version: 1.24
31 tested-with: GHC==8.4.4
32 extra-source-files:
33 stack.yaml
34 extra-tmp-files:
35
36 Source-Repository head
37 location: git://git.autogeree.net/symantic-http
38 type: git
39
40 Library
41 exposed-modules:
42 Symantic.HTTP
43 Symantic.HTTP.API
44 Symantic.HTTP.Client
45 Symantic.HTTP.Layout
46 Symantic.HTTP.MIME
47 Symantic.HTTP.Pipes
48 Symantic.HTTP.Server
49 Symantic.HTTP.URI
50 Symantic.HTTP.Utils
51 default-language: Haskell2010
52 default-extensions:
53 AllowAmbiguousTypes
54 DataKinds
55 FlexibleContexts
56 FlexibleInstances
57 InstanceSigs
58 LambdaCase
59 MultiParamTypeClasses
60 NamedFieldPuns
61 NoImplicitPrelude
62 RecordWildCards
63 ScopedTypeVariables
64 TupleSections
65 TypeApplications
66 TypeFamilies
67 TypeOperators
68 ghc-options:
69 -Wall
70 -Wincomplete-uni-patterns
71 -Wincomplete-record-updates
72 -fno-warn-tabs
73 -- -fhide-source-paths
74 build-depends:
75 base >= 4.10 && < 5
76 , base64-bytestring >= 1.0.0.1
77 , bytestring >= 0.10
78 , containers >= 0.5
79 , http-api-data >= 0.4
80 , http-client >= 0.5.12
81 , http-media >= 0.7
82 , http-types >= 0.12
83 , lens-family-core >= 1.2
84 , monad-classes >= 0.3.2
85 , network-uri >= 2.6
86 , pipes >= 4.3
87 , pipes-bytestring >= 2.1
88 , pipes-group >= 1.0
89 , pipes-parse >= 3.0
90 , pipes-safe >= 2.2
91 , stm >= 2.4.5
92 , text >= 1.2
93 , time >= 1.8
94 , transformers >= 0.5
95 , wai >= 3.2.1.1
96 , warp >= 3.2
97 , word8 >= 0.1.3
98 -- pkgconfig-depends: zlib
99 -- extra-libraries: z
100
101 Test-Suite symantic-http-test
102 type: exitcode-stdio-1.0
103 hs-source-dirs: test
104 main-is: Main.hs
105 other-modules:
106 -- Golden
107 Hspec
108 Hspec.API
109 Hspec.Client
110 Hspec.Client.BasicAuth
111 Hspec.Client.Server
112 Hspec.Client.Stream
113 Hspec.Server
114 Hspec.Server.Error
115 Hspec.Server.Stream
116 Hspec.Utils
117 HUnit
118 -- HUnit.HSpec
119 -- QuickCheck
120 default-language: Haskell2010
121 default-extensions:
122 DataKinds
123 FlexibleContexts
124 FlexibleInstances
125 LambdaCase
126 MultiParamTypeClasses
127 NamedFieldPuns
128 NoImplicitPrelude
129 RecordWildCards
130 ScopedTypeVariables
131 TupleSections
132 TypeApplications
133 TypeFamilies
134 TypeOperators
135 ViewPatterns
136 ghc-options:
137 -Wall
138 -Wincomplete-uni-patterns
139 -Wincomplete-record-updates
140 -fno-warn-tabs
141 -fhide-source-paths
142 build-depends:
143 symantic-http
144 , base >= 4.10 && < 5
145 , base64-bytestring >= 1.0.0.1
146 , bytestring >= 0.10
147 , containers >= 0.5
148 , deepseq >= 1.4
149 , filepath >= 1.4
150 , hashable >= 1.2.6
151 , hspec
152 , hspec-wai >= 0.9
153 , http-api-data >= 0.4
154 , http-client >= 0.5.12
155 , http-media >= 0.7
156 , http-types >= 0.12
157 , monad-classes >= 0.3.2
158 , network >= 2.6
159 , network-uri >= 2.6
160 , pipes >= 4.3
161 , pipes-bytestring >= 2.1
162 , pipes-safe >= 2.2
163 , tasty >= 0.11
164 , tasty-hspec >= 1.1
165 , tasty-hunit >= 0.10
166 , text >= 1.2
167 , time >= 1.8
168 , transformers >= 0.4
169 , wai >= 3.2.1.1
170 , wai-extra >= 3.0
171 , warp >= 3.2