nested-routes-8.0.2: nested-routes.cabal
-- This file has been generated from package.yaml by hpack version 0.21.2.
--
-- see: https://github.com/sol/hpack
--
-- hash: 3cba23da53b9eb7a5d98a85f0bdb6467464282f0dfcd97e2e82f38e36ffd4b6b
name: nested-routes
version: 8.0.2
synopsis: Declarative, compositional Wai responses
description: This library attempts to make it easier to write nice Wai response handlers by giving us a Sinatra/ <https://hackage.haskell.org/package/scotty Scotty>-like syntax for declaring HTTP-verb oriented routes, in addition to file-extension handling and rose-tree like composition. Not only do we have literal route specification, like <https://hackage.haskell.org/package/scotty Scotty> & <https://hackage.haskell.org/package/spock Spock>, but we can also embed <https://hackage.haskell.org/package/attoparsec Attoparsec> parsers and <https://hackage.haskell.org/package/regex-compat Regular Expressions> /directly/ in our routes, with our handlers reflecting their results.
category: Web
homepage: https://github.com/athanclark/nested-routes#readme
bug-reports: https://github.com/athanclark/nested-routes/issues
maintainer: Athan Clark <athan.clark@gmail.com>
license: BSD3
license-file: LICENSE
build-type: Simple
cabal-version: >= 1.10
source-repository head
type: git
location: https://github.com/athanclark/nested-routes
library
exposed-modules:
Web.Routes.Nested
Web.Routes.Nested.Match
Web.Routes.Nested.Types
other-modules:
Paths_nested_routes
hs-source-dirs:
src
ghc-options: -Wall
build-depends:
attoparsec
, base >=4.9 && <5
, bifunctors
, bytestring
, errors
, exceptions
, extractable-singleton
, hashable
, hashtables
, monad-control-aligned
, mtl
, poly-arity >=0.0.7
, pred-set >=0.0.1
, pred-trie >=0.5.1
, regex-compat
, semigroups
, text
, transformers
, tries
, unordered-containers
, wai-middleware-content-type >=0.5.0.1
, wai-middleware-verbs >=0.3.1
, wai-transformers >=0.0.7
default-language: Haskell2010
test-suite spec
type: exitcode-stdio-1.0
main-is: Test.hs
other-modules:
Spec
Web.Routes.NestedSpec
Web.Routes.NestedSpec.Basic
Web.Routes.Nested
Web.Routes.Nested.Match
Web.Routes.Nested.Types
Paths_nested_routes
hs-source-dirs:
test
src
ghc-options: -Wall
build-depends:
HSet
, attoparsec
, base
, bifunctors
, bytestring
, composition-extra
, errors
, exceptions
, extractable-singleton
, hashable
, hashtables
, hspec
, hspec-wai
, http-types
, monad-control-aligned
, mtl
, poly-arity
, pred-set
, pred-trie
, regex-compat
, semigroups
, tasty
, tasty-hspec
, text
, transformers
, tries
, unordered-containers
, wai-middleware-content-type
, wai-middleware-verbs
, wai-transformers
default-language: Haskell2010