packages feed

reroute-0.2.2.0: reroute.cabal

name:                reroute
version:             0.2.2.0
synopsis:            abstract implementation of typed and untyped web routing
description:         abstraction over how urls with/without parameters are mapped to their corresponding handlers
homepage:            http://github.com/agrafix/reroute
license:             MIT
license-file:        LICENSE
author:              Alexander Thiemann <mail@agrafix.net>, Tim Baumann <tim@timbaumann.info>
maintainer:          mail@agrafix.net
copyright:           (c) 2014 Alexander Thiemann <mail@agrafix.net>, Tim Baumann <tim@timbaumann.info>
category:            Web
build-type:          Simple
cabal-version:       >=1.10

library
  exposed-modules:     Data.HVect,
                       Data.PolyMap,
                       Web.Routing.AbstractRouter,
                       Web.Routing.SafeRouting,
                       Web.Routing.TextRouting
  build-depends:       base >=4.6 && <4.8,
                       transformers >=0.3,
                       text >= 0.11.3.1,
                       unordered-containers ==0.2.*,
                       regex-compat ==0.95.*,
                       hashable >=1.2,
                       mtl >=2.1,
                       path-pieces >=0.1,
                       vector >=0.10,
                       deepseq >= 1.1.0.2,
                       graph-core >=0.2.1
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options: -Wall -fno-warn-orphans


test-suite reroute-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  other-modules:       Web.Routing.SafeRoutingSpec, Web.Routing.TextRoutingSpec
  build-depends:       base >=4.6 && <4.8,
                       reroute,
                       transformers >=0.3,
                       text >= 0.11.3.1,
                       unordered-containers ==0.2.*,
                       regex-compat ==0.95.*,
                       hashable >=1.2,
                       mtl >=2.1,
                       path-pieces >=0.1,
                       hspec == 2.*,
                       vector >=0.10,
                       deepseq >= 1.1.0.2,
                       graph-core >=0.2.1
  default-language:    Haskell2010
  ghc-options: -Wall -fno-warn-orphans

benchmark reroute-benchmarks
  type:             exitcode-stdio-1.0
  ghc-options:      -Wall -O2
  hs-source-dirs:   src benchmarks
  default-language: Haskell2010
  main-is:          Benchmarks.hs
  build-depends:
    base,
    criterion,
    text,
    mtl,
    unordered-containers,
    vector,
    hashable,
    regex-compat,
    random,
    deepseq,
    path-pieces,
    graph-core

source-repository head
  type:     git
  location: git://github.com/agrafix/reroute.git