-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathmodern-uri.cabal
132 lines (115 loc) · 3.37 KB
/
modern-uri.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
cabal-version: 2.4
name: modern-uri
version: 0.3.6.1
license: BSD-3-Clause
license-file: LICENSE.md
maintainer: Mark Karpov <[email protected]>
author: Mark Karpov <[email protected]>
tested-with: ghc ==9.8.4 ghc ==9.10.1 ghc ==9.12.1
homepage: https://github.com/mrkkrp/modern-uri
bug-reports: https://github.com/mrkkrp/modern-uri/issues
synopsis: Modern library for working with URIs
description: Modern library for working with URIs.
category: Text
build-type: Simple
extra-doc-files:
CHANGELOG.md
README.md
source-repository head
type: git
location: https://github.com/mrkkrp/modern-uri.git
flag dev
description: Turn on development settings.
default: False
manual: True
library
exposed-modules:
Text.URI
Text.URI.Lens
Text.URI.QQ
other-modules:
Text.URI.Parser.ByteString
Text.URI.Parser.Text
Text.URI.Parser.Text.Utils
Text.URI.Render
Text.URI.Types
default-language: Haskell2010
build-depends:
QuickCheck >=2.4 && <3,
base >=4.15 && <5,
bytestring >=0.2 && <0.13,
containers >=0.5 && <0.8,
deepseq >=1.3 && <1.6,
exceptions >=0.6 && <0.11,
hashable >=1.3 && <2,
megaparsec >=8 && <10,
mtl >=2 && <3,
profunctors >=5.2.1 && <6,
reflection >=2 && <3,
tagged >=0.8 && <0.9,
template-haskell >=2.10 && <2.24,
text >=0.2 && <2.2
if flag(dev)
ghc-options: -Wall -Werror -Wpartial-fields -Wunused-packages
else
ghc-options: -O2 -Wall
test-suite tests
type: exitcode-stdio-1.0
main-is: Spec.hs
build-tool-depends: hspec-discover:hspec-discover >=2 && <3
hs-source-dirs: tests
other-modules:
Text.QQSpec
Text.URISpec
default-language: GHC2021
build-depends:
QuickCheck >=2.4 && <3,
base >=4.15 && <5,
bytestring >=0.2 && <0.13,
hspec >=2 && <3,
hspec-megaparsec >=2 && <3,
megaparsec >=8 && <10,
modern-uri,
text >=0.2 && <2.2
if flag(dev)
ghc-options:
-Wall -Werror -Wredundant-constraints -Wpartial-fields
-Wunused-packages
else
ghc-options: -O2 -Wall
benchmark bench-speed
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: bench/speed
default-language: GHC2021
build-depends:
base >=4.15 && <5.0,
bytestring >=0.2 && <0.13,
criterion >=0.6.2.1 && <1.7,
megaparsec >=8 && <10,
modern-uri,
text >=0.2 && <2.2
if flag(dev)
ghc-options:
-Wall -Werror -Wredundant-constraints -Wpartial-fields
-Wunused-packages
else
ghc-options: -O2 -Wall
benchmark bench-memory
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: bench/memory
default-language: GHC2021
build-depends:
base >=4.15 && <5,
bytestring >=0.2 && <0.13,
megaparsec >=8 && <10,
modern-uri,
text >=0.2 && <2.2,
weigh >=0.0.4
if flag(dev)
ghc-options:
-Wall -Werror -Wredundant-constraints -Wpartial-fields
-Wunused-packages
else
ghc-options: -O2 -Wall