twirp-0.2.2.0: twirp.cabal
cabal-version: 2.4
name: twirp
version: 0.2.2.0
synopsis: Haskell twirp foundations
description: Please see the README on GitHub at <https://github.com/tclem/twirp-haskell#readme>
homepage: https://github.com/tclem/twirp-haskell#readme
bug-reports: https://github.com/tclem/twirp-haskell/issues
license: BSD-3-Clause
license-file: LICENSE
author: Timothy Clem
maintainer: timothy.clem@gmail.com
copyright: 2019 Timothy Clem
category: Web
build-type: Simple
extra-source-files: README.md
tested-with: GHC == 8.10.7
GHC == 9.2.2
-- GHC extensions shared between targets
common haskell
default-language: Haskell2010
default-extensions: DataKinds
, DeriveFoldable
, DeriveFunctor
, DeriveGeneric
, DeriveTraversable
, FlexibleContexts
, FlexibleInstances
, MultiParamTypeClasses
, OverloadedStrings
, RecordWildCards
, StandaloneDeriving
, StrictData
, TypeApplications
ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
common dependencies
build-depends:
base >= 4.13 && <5
, aeson >= 1.4 && < 3
, bytestring >= 0.10.8 && < 12
, http-media >= 0.8
, http-types >= 0.12.3
, proto-lens >= 0.5 && < 0.8
, proto-lens-jsonpb == 0.2.2
, proto-lens-runtime
, servant >= 0.16 && <0.20
, text >= 1.2.3.2 && < 3
, wai >= 3.2.2.1
library
import: haskell, dependencies
exposed-modules:
Twirp
Twirp.Middleware.Errors
hs-source-dirs:
src
ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
build-depends:
test-suite twirp-test
import: haskell, dependencies
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs:
test
ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
build-depends:
twirp
source-repository head
type: git
location: https://github.com/tclem/twirp-haskell