packages feed

servant-ede-1.0.0.0: servant-ede.cabal

name:                servant-ede
version:             1.0.0.0
synopsis:            Combinators for rendering EDE templates in servant web applications
description:
  Combinators for rendering EDE templates in servant web applications.
  .
  Documentation and examples available at "Servant.EDE".
homepage:            http://github.com/alpmestan/servant-ede
bug-reports:         http://github.com/alpmestan/servant-ede/issues
license:             BSD3
license-file:        LICENSE
author:              Alp Mestanogullari
maintainer:          sandy.maguire@tweag.io
copyright:           2015-2026 Alp Mestanogullari
category:            Web
build-type:          Simple
extra-source-files:  README.md
cabal-version:       2.0
source-repository head
  type: git
  location: https://github.com/alpmestan/servant-ede.git

library
  exposed-modules:
      Servant.EDE
    , Servant.EDE.Internal
    , Servant.EDE.Internal.ToObject
    , Servant.EDE.Internal.Validate

  build-depends:
      aeson ^>= 2.2.3.0
    , base >=4.7 && <5
    , bytestring >= 0.10.4 && < 0.13
    , filepath >= 1.2 && < 1.6
    , ede ^>= 0.3.4.0
    , either ^>= 5.0.3
    , http-media ^>= 0.8.1.1
    , http-types ^>= 0.12.4
    , semigroups ^>= 0.20.1
    , containers ^>= 0.7
    , monoidal-containers ^>= 0.6.7.0
    , servant >= 0.18 && < 0.21
    , servant-server >= 0.18 && < 0.21
    , text ^>= 2.1.3
    , transformers ^>= 0.6.1.1
    , unordered-containers >= 0.2.3 && < 0.3
    , vector >= 0.7.1 && < 0.14
    , xss-sanitize ^>= 0.3.7.2

  ghc-options:         -Wall
  hs-source-dirs:      src
  default-language:    Haskell2010


executable servant-ede-example
  main-is: example.hs
  hs-source-dirs: example
  default-language: Haskell2010
  build-depends:
      base
    , ede
    , http-media
    , servant-server
    , servant-ede
    , text
    , unordered-containers
    , warp >=3.2.25 && <3.5


executable template-test-example
  main-is: test-example.hs
  hs-source-dirs: example
  default-language: Haskell2010
  build-depends:
      base
    , ede
    , http-media
    , servant
    , servant-ede
    , text
    , unordered-containers
    , containers
    , QuickCheck >= 2.13.2 && < 2.19
    , hspec >= 2.6 && < 2.12
    , aeson
    , filepath