packages feed

webby-0.1.0.0: webby.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.31.1.
--
-- see: https://github.com/sol/hpack
--
-- hash: 4f81f8a7502f5cce8bbeea48a56ceb91bc52428d3b45594d74a22c035108c56c

name:           webby
version:        0.1.0.0
synopsis:       A super-simple web server framework
description:    A super-simple, easy to use web server framework inspired by
                Scotty. The goals of the project are: (1) Be easy to use (2) Allow
                graceful exception handling (3) Parse request parameters easily and
                in a typed manner.
category:       Web
maintainer:     aditya.mmy@gmail.com
license:        Apache-2.0
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md

flag dev
  manual: True
  default: False

library
  hs-source-dirs:
      src
  default-extensions: FlexibleInstances MultiParamTypeClasses NoImplicitPrelude OverloadedStrings ScopedTypeVariables TupleSections
  ghc-options: -Wall
  build-depends:
      aeson
    , base >=4.7 && <5
    , binary
    , bytestring
    , fast-logger
    , formatting
    , http-api-data
    , http-types
    , monad-logger
    , mtl
    , protolude
    , resourcet
    , text
    , unliftio
    , unordered-containers
    , wai
    , wai-extra
    , warp
  if flag(dev)
    ghc-options: -Werror
  exposed-modules:
      Webby
  other-modules:
      Webby.Route
      Webby.Server
      Webby.Types
      WebbyPrelude
      Paths_webby
  default-language: Haskell2010

test-suite webby-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Webby
      Webby.Route
      Webby.Server
      Webby.Types
      WebbyPrelude
      Webby.RouteTest
      Paths_webby
  hs-source-dirs:
      src
      test
  default-extensions: FlexibleInstances MultiParamTypeClasses NoImplicitPrelude OverloadedStrings ScopedTypeVariables TupleSections
  ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      aeson
    , base >=4.7 && <5
    , binary
    , bytestring
    , fast-logger
    , formatting
    , http-api-data
    , http-types
    , monad-logger
    , mtl
    , protolude
    , resourcet
    , tasty
    , tasty-hunit
    , tasty-quickcheck
    , text
    , unliftio
    , unordered-containers
    , wai
    , wai-extra
    , warp
    , webby
  if flag(dev)
    ghc-options: -Werror
  default-language: Haskell2010