cabal-version: 2.4
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack
name: servant-prometheus
version: 1.2.0
synopsis: Helpers for using prometheus with servant
description: Please see the README on GitHub at <https://github.com/worm2fed/servant-prometheus#readme>
category: Servant, Web, System
homepage: https://github.com/worm2fed/servant-prometheus#readme
bug-reports: https://github.com/worm2fed/servant-prometheus/issues
author: Andrii Demydenko <worm2fed@gmail.com>, Anchor Engineering <engineering@lists.anchor.net.au>, Servant Contributors
maintainer: Andrii Demydenko <worm2fed@gmail.com>
license: BSD-3-Clause
license-file: LICENSE
build-type: Simple
tested-with:
GHC == 9.2.8
, GHC == 9.4.7
, GHC == 9.4.8
extra-source-files:
README.md
LICENSE
extra-doc-files:
CHANGELOG.md
source-repository head
type: git
location: https://github.com/worm2fed/servant-prometheus
library
exposed-modules:
Prometheus.Servant
Prometheus.Servant.Internal
other-modules:
Paths_servant_prometheus
autogen-modules:
Paths_servant_prometheus
hs-source-dirs:
lib
default-extensions:
DataKinds
DeriveAnyClass
DerivingStrategies
OverloadedStrings
RecordWildCards
UndecidableInstances
ghc-options: -Weverything -Wno-missing-exported-signatures -Wno-missing-import-lists -Wno-missed-specialisations -Wno-all-missed-specialisations -Wno-unsafe -Wno-safe -Wno-inferred-safe-imports -Wno-missing-safe-haskell-mode -Wno-missing-local-signatures -Wno-monomorphism-restriction -Wno-prepositive-qualified-module -Wno-missing-kind-signatures -Wno-implicit-prelude
build-depends:
base >=4.10 && <4.18
, clock >=0.8.3 && <0.9
, ghc-prim >=0.8.0 && <0.10
, hashable >=1.4.2 && <1.5
, http-types >=0.12.3 && <0.13
, prometheus-client >=1.1.0 && <1.2
, servant >=0.14 && <0.20
, text >=1.2.5 && <2.1
, wai >=3.2.3 && <3.3
default-language: GHC2021
test-suite spec
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Prometheus.ServantSpec
Paths_servant_prometheus
autogen-modules:
Paths_servant_prometheus
hs-source-dirs:
test
default-extensions:
DataKinds
DeriveAnyClass
DerivingStrategies
OverloadedStrings
RecordWildCards
UndecidableInstances
ghc-options: -Weverything -Wno-missing-exported-signatures -Wno-missing-import-lists -Wno-missed-specialisations -Wno-all-missed-specialisations -Wno-unsafe -Wno-safe -Wno-inferred-safe-imports -Wno-missing-safe-haskell-mode -Wno-missing-local-signatures -Wno-monomorphism-restriction -Wno-prepositive-qualified-module -Wno-missing-kind-signatures -Wno-implicit-prelude -Wno-missing-export-lists -threaded "-with-rtsopts=-N -A64m -AL256m"
build-tool-depends:
hspec-discover:hspec-discover
build-depends:
aeson >=2.0 && <2.2
, base >=4.10 && <4.18
, containers >=0.6.5 && <0.7
, hspec ==2.*
, hspec-expectations-pretty-diff >=0.7.2.2 && <0.8
, http-client >=0.7.13 && <0.8
, prometheus-client
, servant
, servant-client >=0.14 && <0.20
, servant-prometheus
, servant-server >=0.14 && <0.20
, text
, wai
, warp >=3.2.4 && <3.4
default-language: GHC2021
benchmark bench
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Paths_servant_prometheus
autogen-modules:
Paths_servant_prometheus
hs-source-dirs:
bench
default-extensions:
DataKinds
DeriveAnyClass
DerivingStrategies
OverloadedStrings
RecordWildCards
UndecidableInstances
ghc-options: -Weverything -Wno-missing-exported-signatures -Wno-missing-import-lists -Wno-missed-specialisations -Wno-all-missed-specialisations -Wno-unsafe -Wno-safe -Wno-inferred-safe-imports -Wno-missing-safe-haskell-mode -Wno-missing-local-signatures -Wno-monomorphism-restriction -Wno-prepositive-qualified-module -Wno-missing-kind-signatures -Wno-implicit-prelude -threaded "-with-rtsopts=-N -A64m -AL256m"
build-depends:
base >=4.10 && <4.18
, process >=1.6.16 && <1.7
, servant-prometheus
, servant-server
, text
, wai
, warp
default-language: GHC2021