packages feed

wai-route-1.0.0: wai-route.cabal

name: wai-route
version: 1.0.0
synopsis: WAI middleware for path-based request routing with captures.
category: Web
description:
    WAI middleware for path-based request routing with captures,
    including further utilities for processing query strings and
    request headers.

license: MPL-2.0
license-file: LICENSE
author: Roman S. Borschel
maintainer: Roman S. Borschel <roman@pkaboo.org>
copyright: 2018 Roman S. Borschel

build-type: Simple
cabal-version: 1.18

tested-with: GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.2

extra-source-files:
    README.md, CHANGELOG.md, examples/*.hs

source-repository head
    type:     git
    location: git@github.com:romanb/wai-route.git

library
    default-language: Haskell2010
    hs-source-dirs: src
    exposed-modules:
        Network.Wai.Route

    default-extensions:
        NoImplicitPrelude

    build-depends:
        base                 >= 4.9 && < 5
      , bytestring           >= 0.10
      , containers           >= 0.5.7
      , deepseq              >= 1.4.3
      , http-api-data        >= 0.3
      , http-types           >= 0.8
      , pattern-trie         >= 0.1
      , text
      , unordered-containers >= 0.2
      , wai                  >= 3.0.2 && < 3.3

    ghc-options:
        -Wall
        -fwarn-tabs

test-suite wai-route-test
    default-language: Haskell2010
    type: exitcode-stdio-1.0
    hs-source-dirs: test
    main-is: Main.hs

    other-modules:
        Test.Network.Wai.Route

    build-depends:
        base == 4.*
      , bytestring
      , containers
      , deepseq
      , http-types
      , mtl >= 2.1
      , pattern-trie
      , QuickCheck >= 2.10
      , tasty >= 0.11
      , tasty-quickcheck >= 0.9
      , text
      , unordered-containers
      , wai
      , wai-route

    ghc-options:
        -Wall
        -fwarn-tabs
        -threaded

test-suite doctests
    default-language: Haskell2010
    type: exitcode-stdio-1.0
    main-is: doctests.hs
    build-depends: base, doctest >= 0.16