packages feed

htmx-0.0.0.1: htmx.cabal

cabal-version:      3.6
name:               htmx
version:            0.0.0.1
synopsis:           Use htmx with various haskell libraries
description:
  Please see the README on GitHub at <https://github.com/JonathanLorimer/htmx#readme>

license:            MIT
category:           Web, HTML
author:             Jonathan Lorimer
maintainer:         jonathanlorimer@pm.me
build-type:         Simple
extra-source-files: README.md

source-repository head
  type:     git
  location: https://github.com/JonathanLorimer/htmx

common def-exts
  default-extensions:
    LambdaCase
    OverloadedStrings

library
  import:           def-exts

  -- cabal-fmt: expand src
  exposed-modules:
    Htmx.Event
    Htmx.Extension
    Htmx.Lucid.Core
    Htmx.Lucid.Extension.IncludeVals
    Htmx.Lucid.Extra
    Htmx.Lucid.Head
    Htmx.Lucid.Servant
    Htmx.Render
    Htmx.Servant.RequestHeaders
    Htmx.Servant.ResponseHeaders
    Htmx.Swap

  hs-source-dirs:   src
  build-depends:
    , base     >=4.7      && <5
    , lucid    >=2.9.12.1 && <2.11.20230408.0
    , servant  >=0.19     && <0.30
    , text     >=2        && <3

  default-language: Haskell2010

test-suite htmx-test
  import:           def-exts
  type:             exitcode-stdio-1.0
  main-is:          Spec.hs
  hs-source-dirs:   test
  ghc-options:      -threaded -rtsopts -with-rtsopts=-N
  build-depends:
    , base     >=4.7      && <5
    , htmx
    , lucid    >=2.9.12.1 && <2.11.20230408.0
    , servant  >=0.19     && <0.30
    , text     >=2        && <3

  default-language: Haskell2010