packages feed

web-routing-0.2.0: web-routing.cabal

name:                web-routing
version:             0.2.0
synopsis:            simple routing library
-- description:         
license:             MIT
license-file:        LICENSE
author:              HirotomoMoriwaki<philopon.dependence@gmail.com>
maintainer:          HirotomoMoriwaki<philopon.dependence@gmail.com>
Homepage:            https://github.com/philopon/web-routing
Bug-reports:         https://github.com/philopon/web-routing/issues
copyright:           (c) 2015 Hirotomo Moriwaki
category:            Web
build-type:          Simple
cabal-version:       >=1.10

library
  exposed-modules:     Network.Routing
                       Network.Routing.Dict
  other-modules:       Network.Routing.Compat
                       Network.Routing.Dict.Internal
  build-depends:       base                 >=4.6  && <4.8
                     , bytestring           >=0.10 && <0.11
                     , text                 >=1.1  && <1.3 
                     , unordered-containers >=0.2  && <0.3
                     , primitive            >=0.5  && <0.6
  ghc-options:         -O2 -Wall
  hs-source-dirs:      src
  default-language:    Haskell2010

test-suite doctests
  type:                exitcode-stdio-1.0
  ghc-options:         -threaded
  main-is:             doctest.hs
  hs-source-dirs:      tests
  build-depends:       base    >=4.6 && <4.8
                     , doctest >=0.9 && <0.10
  default-language:    Haskell2010

benchmark benchmarks
  type:                exitcode-stdio-1.0
  main-is:             bench/main.hs
  build-depends:       base    >=4.6 && <4.8
                     , web-routing
                     , criterion
                     , text
  ghc-options:         -O2 -Wall -threaded
  default-language:    Haskell2010