name: wai-cli version: 0.2.1 x-revision: 2 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://codeberg.org/valpackett/soad for a more interesting (and not linux-only) thing than what systemd does), and graceful shutdown (on TERM signal). category: Web homepage: https://codeberg.org/valpackett/wai-cli author: Val Packett copyright: 2017-2019 Val Packett maintainer: val@packett.cool 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: https://codeberg.org/valpackett/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 && < 2.9 , 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