wai-cli-0.2.1: wai-cli.cabal
name: wai-cli
version: 0.2.1
synopsis: Command line runner for Wai apps (using Warp) with TLS, CGI, socket activation & graceful shutdown
description:
Command line runner for Wai apps (using Warp) with support for UNIX domain sockets,
TLS (can be turned off with a cabal flag to avoid compiling the TLS library), CGI,
socket activation (systemd-compatible, but see https://github.com/myfreeweb/soad for a more interesting (and not linux-only) thing than what systemd does),
and graceful shutdown (on TERM signal).
category: Web
homepage: https://github.com/myfreeweb/wai-cli
author: Greg V
copyright: 2017-2019 Greg V <greg@unrelenting.technology>
maintainer: greg@unrelenting.technology
license: PublicDomain
license-file: UNLICENSE
build-type: Simple
cabal-version: >= 1.10
extra-source-files:
README.md
tested-with:
GHC == 8.6.3
source-repository head
type: git
location: git://github.com/myfreeweb/wai-cli.git
flag tls
description: Include warp-tls
default: True
flag fastcgi
description: Include wai-handler-fastcgi
default: False
flag unixsockets
description: Enable Unix sockets
default: True
library
build-depends:
base >= 4.8.0.0 && < 5
, options
, warp
, streaming-commons
, http-types
, monads-tf
, stm
, network >= 2.7
, wai
, wai-extra
, ansi-terminal
, iproute
default-language: Haskell2010
exposed-modules:
Network.Wai.Cli
ghc-options: -Wall
hs-source-dirs: library
if flag(tls)
build-depends: warp-tls
cpp-options: -DWaiCliTLS
if flag(fastcgi)
build-depends: wai-handler-fastcgi
cpp-options: -DWaiCliFastCGI
if !os(windows) && flag(unixsockets)
cpp-options: -DWaiCliUnix
build-depends:
unix
, socket-activation