-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathkatip-wai.cabal
143 lines (114 loc) · 2.87 KB
/
katip-wai.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
133
134
135
136
137
138
139
140
141
142
143
cabal-version: 2.2
name: katip-wai
version: 0.2.0.0
synopsis: WAI middleware for logging request and response info through katip.
description: WAI middleware for logging request and response info through katip. Please see the README on GitHub at <https://github.com/Disco-Dave/katip-wai#readme>
build-type: Simple
category: Web, Logging
homepage: https://github.com/Disco-Dave/katip-wai#readme
bug-reports:https://github.com/Disco-Dave/katip-wai/issues
author: David Burkett
maintainer: David Burkett
copyright: 2024 David Burkett
license: BSD-3-Clause
license-file: LICENSE
extra-source-files:
README.md
CHANGELOG.md
CONTRIBUTING.md
flag pedantic
default: False
description: Enables @-Werror@, which turns warnings into errors.
manual: True
common shared
default-language: Haskell2010
default-extensions:
DeriveGeneric
FlexibleContexts
GeneralizedNewtypeDeriving
NamedFieldPuns
NumericUnderscores
OverloadedStrings
RankNTypes
RecordWildCards
StrictData
ghc-options:
-Weverything
-Wno-implicit-prelude
-Wno-safe
-Wno-unsafe
-Wno-missing-exported-signatures
-Wno-missing-import-lists
-Wno-missed-specialisations
-Wno-all-missed-specialisations
-Wno-missing-local-signatures
-Wno-monomorphism-restriction
-Wno-missing-deriving-strategies
-Werror=incomplete-patterns
if impl(ghc >= 8.10)
ghc-options:
-Wno-missing-safe-haskell-mode
-Wno-prepositive-qualified-module
if impl(ghc >= 9.2)
ghc-options:
-Wno-missing-kind-signatures
if impl(ghc >= 9.8)
ghc-options:
-Wno-missing-role-annotations
if flag(pedantic)
ghc-options:
-Werror
build-depends:
, base >=4.7 && <5
library
import: shared
hs-source-dirs: src
exposed-modules:
Katip.Wai
Katip.Wai.Middleware
Katip.Wai.Options
Katip.Wai.Request
Katip.Wai.Response
build-depends:
, aeson >=0.6 && <2.3
, bytestring >=0.9 && <0.13
, case-insensitive >=1.2.1 && <1.3
, clock >=0.8 && <0.9
, containers >=0.6.7 && <0.8
, http-types >=0.12 && <0.13
, katip >=0.8 && <0.9
, network >=3.0 && <3.3
, text >=0.11 && <2.2
, time >=1.12.2 && <1.15
, uuid >=1.3 && <1.4
, wai >=3.0 && <3.3
test-suite katip-wai-test
import: shared
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test
default-extensions:
DuplicateRecordFields
other-modules:
Katip.Wai.DebugApplication
Katip.Wai.DebugScribe
Katip.Wai.LogEntry
Katip.WaiSpec
Spec
build-tool-depends:
, hspec-discover:hspec-discover ==2.*
build-depends:
, aeson
, async >=2.2 && <2.3
, bytestring
, containers
, hspec >=2.10 && <2.12
, http-client >=0.7 && <0.8
, http-types
, katip
, katip-wai
, stm >=2.5 && <2.6
, text
, uuid
, wai
, warp >=3.3 && <3.5