packages feed

servant-lint-0.1.1.0: servant-lint.cabal

cabal-version:   3.0
name:            servant-lint
version:         0.1.1.0
synopsis:        Lint Servant Routes
description:     Lint Servant Routes and reject bad routes, overlaps, and more
license:         BSD-3-Clause
license-file:    LICENSE
author:          Isaac Shapira
maintainer:      isaac.shapira@platonic.systems
category:        Web
build-type:      Simple
extra-doc-files:
  README.md
  CHANGELOG.md

source-repository head
  type: git
  location: https://gitlab.com/platonic/servant-lint.git

common warnings
  ghc-options: -Wall

library
  import:           warnings
  exposed-modules:  Servant.Lint
  build-depends:
    base >= 4.18.2 && < 5,
    bytestring >= 0.11.5 && < 0.12,
    containers >= 0.6.7 && < 0.7,
    safe-coloured-text >= 0.2.0 && < 0.3,
    text >= 2.0.2 && < 2.1,
    servant >= 0.20.1 && < 0.21,
    servant-multipart >= 0.12 && < 0.13,
    servant-server >= 0.20 && < 0.21
  hs-source-dirs:   src
  default-language: GHC2021

test-suite servant-lint-test
  import:           warnings
  default-language: GHC2021
  ghc-options:      -threaded -rtsopts -with-rtsopts=-N
  other-modules: Servant.Lint
  type:             exitcode-stdio-1.0
  hs-source-dirs:   test src
  main-is:          Main.hs
  build-depends:
    , base >= 4.18.2 && < 5
    , bytestring >= 0.11.5 && < 0.12
    , containers >= 0.6.7 && < 0.7
    , safe-coloured-text >= 0.2.0 && < 0.3
    , servant >= 0.20.1 && < 0.21
    , servant-multipart >= 0.12 && < 0.13
    , servant-server >= 0.20 && < 0.21
    , sydtest
    , text >= 2.0.2 && < 2.1