packages feed

spire-0.1.0.0: spire.cabal

cabal-version:   3.0
name:            spire
version:         0.1.0.0
synopsis:        Composable service and middleware abstractions for Haskell
category:        Control
description:
  A standalone, framework-agnostic library providing composable
  Service and Layer abstractions. The Haskell equivalent of Rust's
  tower crate.
  .
  This library is useful on its own; any Haskell project can use it
  for composable middleware without depending on any web framework.

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
    Spire.Service
    Spire.Layer

  build-depends:
    base >= 4.20 && < 5

  hs-source-dirs: src
  default-language: GHC2024
  default-extensions:
    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:
    StrictData

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

  build-depends:
    base >= 4.20 && < 5,
    spire

test-suite properties
  type: exitcode-stdio-1.0
  main-is: Properties.hs
  hs-source-dirs: test
  default-language: GHC2024
  default-extensions:
    StrictData

  ghc-options: -Wall

  build-depends:
    base >= 4.20 && < 5,
    spire,
    hedgehog >= 1.4 && < 1.8

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