cabal-version: 3.4
name: dani-servant-lucid2
version: 0.1.0.0
synopsis: Servant support for lucid2
description:
Servant support for lucid2.
'HTML' content type backed by the `ToHtml` typeclass.
homepage: https://github.com/danidiaz/dani-servant-lucid2
license: BSD-3-Clause
license-file: LICENSE
author: Daniel Díaz
maintainer: diaz_carrete@yahoo.com
-- copyright:
category: Web
build-type: Simple
extra-doc-files: CHANGELOG.md
-- extra-source-files:
tested-with: GHC==9.8.1 GHC==9.2.8
source-repository head
type: git
location: https://github.com/danidiaz/dani-servant-lucid2.git
common basic
ghc-options: -Wall
default-language: GHC2021
build-depends:
base >=4.9 && <5,
http-media >= 0.8.1 && < 0.9,
lucid2 >= 0.0.20230706 && < 0.1,
library
import: basic
exposed-modules:
Servant.API.ContentTypes.Lucid
hs-source-dirs: lib
build-depends:
servant >= 0.20.1 && < 0.21,
library server
import: basic
exposed-modules:
Servant.Server.Lucid
hs-source-dirs: lib-server
build-depends:
servant-server >= 0.20 && < 0.21,
http-types >= 0.12.4 && < 0.13,
visibility: public
test-suite tests
import: basic
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: tests.hs
build-depends:
lucid2,
dani-servant-lucid2,
dani-servant-lucid2:server,
servant-server >= 0.20 && < 0.21,