2018-11-12 21:04:29 +01:00
cabal-version: >=1.10
2015-09-21 12:31:00 +02:00
name: servant-foreign
2020-11-22 15:51:32 +01:00
version: 0.15.3
2018-11-12 21:04:29 +01:00
2015-09-23 00:03:56 +02:00
synopsis: Helpers for generating clients for servant APIs in any programming language
2018-11-12 21:04:29 +01:00
category: Servant, Web
2015-09-22 21:36:03 +02:00
description:
Helper types and functions for generating client functions for servant APIs in any programming language
.
This package provides types and functions that collect all the data needed to generate client functions in the programming language of your choice. This effectively means you only have to write the code that "pretty-prints" this data as some code in your target language.
.
2015-09-23 00:03:56 +02:00
See the servant-js package for an example
2015-09-22 21:36:03 +02:00
.
<https://github.com/haskell-servant/servant/blob/master/servant-foreign/CHANGELOG.md CHANGELOG>
2018-11-12 21:04:29 +01:00
2019-03-02 10:08:03 +01:00
homepage: http://docs.servant.dev/
2018-11-12 21:04:29 +01:00
bug-reports: http://github.com/haskell-servant/servant/issues
2015-09-21 12:31:00 +02:00
license: BSD3
license-file: LICENSE
2016-01-20 16:58:29 +01:00
author: Servant Contributors
maintainer: haskell-servant-maintainers@googlegroups.com
2019-02-27 17:13:35 +01:00
copyright: 2015-2019 Servant Contributors
2015-09-21 12:31:00 +02:00
build-type: Simple
2021-04-05 16:35:39 +02:00
tested-with: GHC ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.2 || ==9.0.1
2018-11-12 21:04:29 +01:00
2015-09-21 12:31:00 +02:00
extra-source-files:
CHANGELOG.md
README.md
2017-10-22 11:59:10 +02:00
2015-09-21 12:31:00 +02:00
source-repository head
type: git
location: http://github.com/haskell-servant/servant.git
library
2016-02-17 22:47:30 +01:00
exposed-modules: Servant.Foreign
, Servant.Foreign.Internal
, Servant.Foreign.Inflections
2018-01-25 12:49:39 +01:00
-- Bundled with GHC: Lower bound to not force re-installs
-- text and mtl are bundled starting with GHC-8.4
--
-- note: mtl lower bound is so low because of GHC-7.8
build-depends:
2021-04-05 16:35:39 +02:00
base >= 4.9 && < 4.16
2018-01-25 12:49:39 +01:00
, text >= 1.2.3.0 && < 1.3
-- Servant dependencies
build-depends:
2020-07-30 18:03:58 +02:00
servant >=0.18 && <0.19
2018-01-25 12:49:39 +01:00
-- Other dependencies: Lower bound around what is in the latest Stackage LTS.
-- Here can be exceptions if we really need features from the newer versions.
build-depends:
2019-09-11 09:34:29 +02:00
base-compat >= 0.10.5 && < 0.12
2021-06-05 23:37:35 +02:00
, lens >= 4.17 && < 5.1
2018-11-09 18:04:47 +01:00
, http-types >= 0.12.2 && < 0.13
2018-01-25 12:49:39 +01:00
2015-09-21 12:31:00 +02:00
hs-source-dirs: src
default-language: Haskell2010
2018-07-11 00:39:38 +02:00
ghc-options: -Wall -Wno-redundant-constraints
2015-11-04 12:16:14 +01:00
test-suite spec
type: exitcode-stdio-1.0
hs-source-dirs: test
ghc-options: -Wall
main-is: Spec.hs
2016-02-17 22:47:30 +01:00
other-modules: Servant.ForeignSpec
2018-01-25 12:49:39 +01:00
-- Dependencies inherited from the library. No need to specify bounds.
build-depends:
base
, servant
, servant-foreign
2020-06-06 06:43:51 +02:00
-- Additional dependencies
2018-01-25 12:49:39 +01:00
build-depends:
2021-05-14 11:34:04 +02:00
hspec >= 2.6.0 && <2.9
2017-10-22 13:13:18 +02:00
build-tool-depends:
2021-05-14 11:34:04 +02:00
hspec-discover:hspec-discover >=2.6.0 && <2.9
2015-12-02 15:26:45 +01:00
default-language: Haskell2010