packages feed

twain-2.2.0.1: twain.cabal

cabal-version: 2.2

-- This file has been generated from package.yaml by hpack version 0.34.4.
--
-- see: https://github.com/sol/hpack

name:           twain
version:        2.2.0.1
synopsis:       Tiny web application framework for WAI.
description:    Twain is tiny web application framework for WAI. It provides routing, parameter parsing, and an either-like monad for composing responses.
category:       Web
homepage:       https://github.com/alexmingoia/twain#readme
bug-reports:    https://github.com/alexmingoia/twain/issues
author:         Alex Mingoia
maintainer:     alex@alexmingoia.com
copyright:      2021 Alexander C. Mingoia
license:        BSD-3-Clause
license-file:   LICENSE
build-type:     Simple
extra-doc-files:
    README.md
    changelog.md

source-repository head
  type: git
  location: https://github.com/alexmingoia/twain

library
  exposed-modules:
    Web.Twain
    Web.Twain.Types
  other-modules:
    Web.Twain.Internal
  hs-source-dirs:
    src
  default-extensions:
    OverloadedStrings
  build-depends:
      aeson >=2 && <3
    , base >=4.7 && <5
    , bytestring >=0.10 && < 0.12
    , case-insensitive ==1.2.*
    , cookie >=0.4 && <0.6
    , either ==5.0.*
    , exceptions ==0.10.*
    , http-types ==0.12.*
    , http2 >=5.0 && <5.4
    , text >=1.2.3 && <3
    , time >=1.8 && <2
    , transformers >=0.5.6 && <0.7
    , vault ==0.3.*
    , wai ==3.2.*
    , wai-extra >=3.0 && <3.2
  default-language: Haskell2010

test-suite twain-test
  type: exitcode-stdio-1.0
  hs-source-dirs: test
  main-is: Spec.hs
  other-modules:
    TwainSpec
  default-extensions:
    OverloadedStrings
  build-depends:
      base
    , hspec
    , hspec-discover
    , hspec-wai
    , twain
  ghc-options:
    -threaded -rtsopts -with-rtsopts=-N
  build-tool-depends:
    hspec-discover:hspec-discover
  default-language: Haskell2010