cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.32.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: 643336b80dad57ed97e0d7dc4bd18505a3975ae9343c124925a6d89c4b1ce920
name: Shpadoinkle-router
version: 0.1.0.1
synopsis: A single page application rounter for Shpadoinkle based on Servant.
description: Surjective single page application routing with Servant. Surjectivity means routes can be backward compatible, allowing URLs to evolve. Since routes are specified as Servant combinators, serving these routes from the backend is trivial. For an example of leveraging the client-server isomorphism via Servant specification, check the servant-crud example.
category: Web
author: Isaac Shapira
maintainer: fresheyeball@protonmail.com
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
CHANGELOG.md
source-repository head
type: git
location: https://gitlab.com/fresheyeball/Shpadoinkle.git
library
exposed-modules:
Shpadoinkle.Router
Shpadoinkle.Router.Client
Shpadoinkle.Router.Server
other-modules:
Paths_Shpadoinkle_router
hs-source-dirs:
./.
ghc-options: -Wall -Wcompat -fwarn-redundant-constraints -fwarn-incomplete-uni-patterns -fwarn-tabs -fwarn-incomplete-record-updates -fwarn-identities
build-depends:
Shpadoinkle
, aeson >=1.4.4 && <1.5
, base >=4.12.0 && <4.15
, bytestring >=0.10.8 && <0.11
, compactable >=0.1.2 && <0.2
, exceptions >=0.10.3 && <0.11
, ghcjs-dom >=0.9.4 && <0.20
, http-api-data >=0.4.1 && <0.5
, jsaddle >=0.9.7 && <0.20
, jsaddle-dom >=0.9.3 && <0.20
, lens >=4.17.1 && <5.0
, network-uri >=2.6.1 && <2.8
, servant >=0.16 && <0.18
, text >=1.2.3 && <1.3
, unliftio >=0.2.12 && <0.3
if impl(ghcjs)
build-depends:
servant-client-ghcjs
else
build-depends:
Shpadoinkle-backend-static
, servant-client >=0.16.0 && <0.18
, servant-server >=0.16 && <0.18
, wai >=3.2.2 && <3.3
, wai-app-static >=3.1.6 && <3.2
, warp >=3.2.28 && <3.3
default-language: Haskell2010