name: scotty-rest version: 0.2.0.0 synopsis: Webmachine-style REST library for scotty homepage: http://github.com/ehamberg/scotty-rest license: BSD3 license-file: LICENSE author: Erlend Hamberg maintainer: erlend@hamberg.no copyright: 2015, Erlend Hamberg category: Web build-type: Simple cabal-version: >=1.10 description: Webmachine-like REST library for Scotty. flag build-examples Description: Build the example servers Default: False library exposed-modules: Web.Scotty.Rest other-modules: Web.Scotty.Rest.Types default-language: Haskell2010 hs-source-dirs: src build-depends: base >= 4.7 && < 5 , base-prelude , bytestring >= 0.10 && < 0.11 , convertible >= 1.1 && < 1.2 , http-date >= 0.0.1 && < 0.1 , http-media >= 0.6 && < 0.8 , http-types >= 0.9 && < 0.10 , mtl >= 2.1 && < 2.3 , scotty >= 0.11 && < 0.12 , string-conversions >= 0.4 && < 0.5 , text >= 1.2 && < 1.3 , time >= 1.6 && < 1.9 , transformers >= 0.5 && < 0.6 , wai >= 3.2 && < 3.3 , wai-extra >= 3.0 && < 3.1 default-language: Haskell2010 GHC-options: -Wall executable database-example main-is: Database.hs hs-source-dirs: examples default-language: Haskell2010 GHC-options: -Wall if flag(build-examples) Buildable: True else Buildable: False build-depends: base , scotty-rest , aeson , mtl , sqlite-simple , scotty , text , wai-extra executable hello-world-example main-is: HelloWorld.hs hs-source-dirs: examples default-language: Haskell2010 GHC-options: -Wall if flag(build-examples) Buildable: True else Buildable: False build-depends: base , scotty-rest , scotty , wai-extra executable parameters-example main-is: Parameters.hs hs-source-dirs: examples default-language: Haskell2010 GHC-options: -Wall if flag(build-examples) Buildable: True else Buildable: False build-depends: base , scotty-rest , scotty , text , wai-extra executable mutable-state-example main-is: MutableState.hs hs-source-dirs: examples default-language: Haskell2010 GHC-options: -Wall if flag(build-examples) Buildable: True else Buildable: False build-depends: base , scotty-rest , scotty , text , wai-extra test-suite spec main-is: Spec.hs type: exitcode-stdio-1.0 other-modules: Web.ScottyRestSpec default-language: Haskell2010 hs-source-dirs: test build-depends: base , bytestring , hspec , hspec-wai >= 0.6 , mtl , QuickCheck , scotty , scotty-rest , string-conversions , text , wai GHC-options: -Wall -threaded -fno-warn-orphans source-repository head type: git location: git://github.com/ehamberg/scotty-rest.git