-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhttp-interchange.cabal
76 lines (67 loc) · 1.94 KB
/
http-interchange.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
cabal-version: 3.0
name: http-interchange
version: 0.3.2.2
license: BSD-3-Clause
license-file: LICENSE
author: Andrew Martin
maintainer: [email protected]
homepage: https://github.com/byteverse/http-interchange
bug-reports: https://github.com/byteverse/http-interchange/issues
synopsis: Types and serialization for HTTP
description:
Types and serialization for HTTP. This includes things like request
line, status line, and headers. There is also a collection type
for headers that supports fast, case-insensitive lookup.
copyright: 2023 Andrew Martin
category: Data
build-type: Simple
extra-doc-files:
CHANGELOG.md
README.md
extra-source-files:
golden/request/*.json
golden/request/*.output
golden/response/*.input
golden/response/*.output
tested-with: GHC ==9.4.8 || ==9.6.3 || ==9.8.1
common build-settings
default-language: GHC2021
ghc-options: -Wall -Wunused-packages
library
import: build-settings
ghc-options: -O2
exposed-modules:
Http.Bodied
Http.Header
Http.Headers
Http.Request
Http.Response
Http.Types
build-depends:
, base >=4.16.3.0 && <5
, bytebuild >=0.3.10
, byteslice >=0.2.11
, bytesmith >=0.3.10
, contiguous >=0.6.3
, primitive >=0.9.0
, text >=2.0
hs-source-dirs: src
test-suite test
import: build-settings
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
build-depends:
, aeson >=2.1
, base >=4.16.3.0
, byteslice
, bytestring >=0.11
, filepath
, http-interchange
, pretty-show >=1.10
, primitive >=0.9.0
, tasty >=1.4.3
, tasty-golden >=2.3.5
source-repository head
type: git
location: git://github.com/byteverse/http-interchange.git