packages feed

scotty-path-normalizer-0.1.0.0: scotty-path-normalizer.cabal

name: scotty-path-normalizer
version: 0.1.0.0
category: Web
synopsis: Redirect to a normalized path

description:
    Interprets dots and slashes and issues a redirect to
    a normalized path if the request target is not already
    in normal form.

homepage:    https://github.com/typeclasses/scotty-path-normalizer
bug-reports: https://github.com/typeclasses/scotty-path-normalizer/issues

author:     Chris Martin
maintainer: Chris Martin, Julie Moronuki

copyright: 2018 Typeclass Consulting, LLC
license: MIT
license-file: license.txt

build-type: Simple
cabal-version: >= 1.10

extra-source-files:
    README.md

tested-with: GHC==8.6.1, GHC==8.4.3, GHC==8.2.2

source-repository head
  type: git
  location: https://github.com/typeclasses/scotty-path-normalizer

library
  default-language: Haskell2010
  hs-source-dirs: src

  build-depends:
      base >=4.7 && <5
    , bytestring
    , scotty
    , text
    , wai

  exposed-modules:
      Web.Scotty.PathNormalizer

test-suite doctest
  default-language: Haskell2010
  hs-source-dirs: test
  type: exitcode-stdio-1.0
  main-is: doctest.hs
  ghc-options: -threaded -rtsopts -with-rtsopts=-N

  build-depends:
      base >=4.7 && <5
    , doctest