packages feed

spire-wai-0.1.0.0: spire-wai.cabal

cabal-version:   3.0
name:            spire-wai
version:         0.1.0.0
synopsis:        WAI/warp backend adapter for spire
category:        Web
description:
  Bridges spire Services (using http-core types) to WAI Applications
  running on warp. This is the only package that imports WAI; everything
  above is backend-agnostic.

license:         BSD-3-Clause
license-file:    LICENSE
author:          Josh Burgess
maintainer:      Josh Burgess <joshburgess.webdev@gmail.com>
homepage:        https://github.com/joshburgess/acolyte
bug-reports:     https://github.com/joshburgess/acolyte/issues
build-type:      Simple

extra-doc-files:
  CHANGELOG.md

library
  exposed-modules:
    Spire.Wai

  build-depends:
      base         >= 4.20 && < 5
    , spire        >= 0.1  && < 0.2
    , http-core    >= 0.1  && < 0.2
    , wai          >= 3.2  && < 3.3
    , warp         >= 3.3  && < 3.5
    , bytestring   >= 0.11 && < 0.13
    , text         >= 2.0  && < 2.2
    , http-types   >= 0.12 && < 0.13

  hs-source-dirs: src
  default-language: GHC2024
  default-extensions:
    OverloadedStrings
    StrictData

  ghc-options: -Wall -funbox-strict-fields

test-suite spec
  type: exitcode-stdio-1.0
  main-is: Main.hs
  hs-source-dirs: test
  default-language: GHC2024
  default-extensions:
    OverloadedStrings
    StrictData

  ghc-options: -Wall -rtsopts "-with-rtsopts=-K1K"

  build-depends:
      base         >= 4.20 && < 5
    , spire-wai    >= 0.1  && < 0.2
    , spire        >= 0.1  && < 0.2
    , spire-http   >= 0.1  && < 0.2
    , http-core    >= 0.1  && < 0.2
    , wai          >= 3.2  && < 3.3
    , warp         >= 3.3  && < 3.5
    , bytestring   >= 0.11 && < 0.13
    , http-types   >= 0.12 && < 0.13

source-repository head
  type:     git
  location: https://github.com/joshburgess/acolyte.git