katip-wai-0.1.2.0: katip-wai.cabal
cabal-version: 2.2
name: katip-wai
version: 0.1.2.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: 2021 David Burkett
license: BSD-3-Clause
license-file: LICENSE
extra-source-files:
README.md
common shared
default-language: Haskell2010
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
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
build-depends:
, aeson >=0.6 && <2.1
, base >=4.7 && <5
, bytestring >=0.9 && <0.12
, http-types >=0.12 && <0.13
, katip >=0.8 && <0.9
, text >=0.11 && <2.1
, uuid >=1.3 && <1.4
, wai >=3.0 && <3.3
library
import: shared
hs-source-dirs: src
exposed-modules:
Katip.Wai
build-depends:
, clock >=0.8 && <0.9
, network >=3.0 && <3.2
test-suite katip-wai-test
import: shared
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test
other-modules:
DebugApplication
DebugScribe
Katip.WaiSpec
LogEntry
Spec
build-tool-depends:
, hspec-discover:hspec-discover ==2.*
build-depends:
, katip-wai
, async
, containers
, hspec
, http-client
, stm
if impl(ghc >= 9.2)
build-depends:
, warp >= 3.3.18
else
build-depends:
, warp