-- This file has been generated from package.yaml by hpack version 0.20.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: 797d81a87d712077af6ca7831011f5a91155ba63ac6309462407444c50a25e2b
name: jml-web-service
version: 0.1.0
synopsis: Common utilities for running a web service
description: This is a personal set of helper functions used to create a web API service.
.
We assume that the service is intended to run in a container on a Kubernetes
cluster, but it\'s likely that these routines would be useful for other
services.
.
We provide command-line options for use with optparse-applicative,
Prometheus instrumentation, and some basic logging.
category: Web
homepage: https://github.com/jml/jml-web-service#readme
bug-reports: https://github.com/jml/jml-web-service/issues
maintainer: Jonathan M. Lange <jml@mumak.net>
license: Apache-2.0
license-file: LICENSE
build-type: Simple
cabal-version: >= 1.10
source-repository head
type: git
location: https://github.com/jml/jml-web-service
library
hs-source-dirs:
src
default-extensions: NoImplicitPrelude OverloadedStrings RecordWildCards TypeApplications
ghc-options: -Wall
build-depends:
base >=4.10 && <5
, bytestring
, clock
, data-default
, http-types
, monad-logger
, optparse-applicative
, prometheus-client
, prometheus-metrics-ghc
, protolude >=0.2
, text
, wai
, wai-extra
, warp
exposed-modules:
JmlSvc
JmlSvc.Instrument
JmlSvc.Logging
JmlSvc.Metrics
JmlSvc.Web
other-modules:
Paths_jml_web_service
default-language: Haskell2010
test-suite tasty
type: exitcode-stdio-1.0
main-is: Tasty.hs
hs-source-dirs:
tests
default-extensions: NoImplicitPrelude OverloadedStrings RecordWildCards TypeApplications
ghc-options: -Wall
build-depends:
base >=4.10 && <5
, jml-web-service
, protolude >=0.2
, tasty
other-modules:
Paths_jml_web_service
default-language: Haskell2010