45c1cbdfd5
- Introduce SourceT, which is simple variant of "correct `ListT`". There are another variants possible (like in `streaming`), but I'm not sure there's much real difference. - Introduce `Codensity`. There's a flag if people don't want to depend on `kan-extensions`. - `StreamGenerator` and `ResultStream` are both `SourceT`. `Stream` combinator in `servant-client` uses `Codensity` for CPS. - Add servant-machines, servant-conduit, servant-pipes - Add streaming cookbook: just code, no explanations. - Add a script to run streaming 'benchmarks'
60 lines
1.7 KiB
Text
60 lines
1.7 KiB
Text
name: servant-pipes
|
|
version: 1
|
|
synopsis: Servant Stream support for pipes
|
|
description: Servant Stream support for pipes.
|
|
homepage: http://haskell-servant.readthedocs.org/
|
|
license: BSD3
|
|
license-file: LICENSE
|
|
author: Servant Contributors
|
|
maintainer: haskell-servant-maintainers@googlegroups.com
|
|
copyright: 2018 Servant Contributors
|
|
category: Web, Servant, Pipes
|
|
build-type: Simple
|
|
cabal-version: >=1.10
|
|
bug-reports: http://github.com/haskell-servant/servant-pipes/issues
|
|
tested-with:
|
|
GHC ==8.0.2
|
|
|| ==8.2.2
|
|
|| ==8.4.4
|
|
|| ==8.6.1
|
|
|
|
source-repository head
|
|
type: git
|
|
location: http://github.com/haskell-servant/servant-pipes.git
|
|
|
|
library
|
|
exposed-modules: Servant.Pipes
|
|
build-depends:
|
|
base >=4.9 && <5
|
|
, bytestring >=0.10.4.0 && <0.11
|
|
, pipes >=4.3.9 && <4.4
|
|
, pipes-safe >=2.3.1 && <2.4
|
|
, mtl >=2.1 && <2.3
|
|
, monad-control >=1.0.2.3 && <1.1
|
|
, servant >=0.14 && <0.15
|
|
hs-source-dirs: src
|
|
default-language: Haskell2010
|
|
ghc-options: -Wall
|
|
|
|
test-suite example
|
|
type: exitcode-stdio-1.0
|
|
main-is: Main.hs
|
|
hs-source-dirs:
|
|
example
|
|
ghc-options: -Wall -rtsopts -threaded
|
|
build-depends:
|
|
base
|
|
, base-compat
|
|
, bytestring
|
|
, http-media
|
|
, servant
|
|
, pipes
|
|
, pipes-safe
|
|
, servant-pipes
|
|
, pipes-bytestring >= 2.1.6 && <2.2
|
|
, servant-server >=0.14 && <0.15
|
|
, servant-client >=0.14 && <0.15
|
|
, wai >=3.0.3.0 && <3.3
|
|
, warp >=3.0.13.1 && <3.3
|
|
, http-client
|
|
default-language: Haskell2010
|