packages feed

spire-http-0.1.0.0: spire-http.cabal

cabal-version:   3.0
name:            spire-http
version:         0.1.0.0
synopsis:        HTTP-specific middleware layers built on spire
category:        Web
description:
  A collection of HTTP middleware layers using the spire Service/Layer
  abstraction and http-core request/response types. Backend-agnostic;
  works with any server that speaks spire + http-core.

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.Http
    Spire.Http.SecureHeaders
    Spire.Http.RequestId
    Spire.Http.Trace
    Spire.Http.Cors
    Spire.Http.Timeout
    Spire.Http.Compression
    Spire.Http.Static

  build-depends:
      base         >= 4.20 && < 5
    , spire        >= 0.1  && < 0.2
    , http-core    >= 0.1  && < 0.2
    , bytestring   >= 0.11 && < 0.13
    , text         >= 2.0  && < 2.2
    , http-types   >= 0.12 && < 0.13
    , zlib         >= 0.6  && < 0.8
    , directory    >= 1.3  && < 1.4
    , filepath     >= 1.4  && < 1.6

  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-http   >= 0.1  && < 0.2
    , spire        >= 0.1  && < 0.2
    , http-core    >= 0.1  && < 0.2
    , bytestring   >= 0.11 && < 0.13
    , http-types   >= 0.12 && < 0.13
    , text         >= 2.0  && < 2.2
    , directory    >= 1.3  && < 1.4
    , filepath     >= 1.4  && < 1.6

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