packages feed

wai-route-0.3: wai-route.cabal

name:                wai-route
version:             0.3
synopsis:            Minimalistic, efficient routing for WAI
description:
    .
    Simple routing for applications using the WAI, based on an
    efficient tree structure. Routes are defined as string literals
    and path segments prefixed with a ':' indicate captures.
    .
    A sample is available at: <https://github.com/romanb/wai-route/blob/master/sample/Main.hs>.

license:             OtherLicense
license-file:        LICENSE
author:              Roman S. Borschel
maintainer:          Roman S. Borschel <roman@pkaboo.org>
copyright:           2014 Roman S. Borschel
category:            Web
build-type:          Simple
extra-source-files:  README.md, sample/*.hs
cabal-version:       >=1.10

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
      , Network.Wai.Route.Tree

    build-depends:
        base                 == 4.*
      , wai                  >= 3.0.2 && < 3.1
      , unordered-containers >= 0.2
      , http-types           >= 0.8
      , bytestring           >= 0.10

    ghc-options:
        -Wall
        -fwarn-tabs
        -O2

test-suite wai-route-test
    type:             exitcode-stdio-1.0
    default-language: Haskell2010
    hs-source-dirs:   test
    main-is:          Main.hs
    ghc-prof-options: -prof -auto-all
    ghc-options:
        -Wall
        -fwarn-tabs
        -threaded
    other-modules: Test.Network.Wai.Route
    build-depends:
        base             == 4.*
      , bytestring
      , http-types
      , mtl              >= 2.1
      , QuickCheck       >= 2.5
      , tasty            >= 0.8
      , tasty-quickcheck >= 0.8.1
      , wai
      , wai-route