cabal-version: >=1.10
name: servant-event-stream
version: 0.3.2.1
stability: alpha
synopsis: Servant support for Server-Sent events
category: Servant, Web
description:
This library adds necessary type combinators to support
Server Sent Events within Servant ecosystem.
homepage: https://github.com/bflyblue/servant-event-stream
bug-reports: https://github.com/bflyblue/servant-event-stream/issues
license: BSD3
license-file: LICENSE
author: Shaun Sharples
maintainer: shaun.sharples@gmail.com
copyright: (c) 2026 Shaun Sharples
tested-with: GHC == 8.6.5, GHC == 8.10.7, GHC == 9.2.8, GHC == 9.8.4, GHC == 9.12.2
build-type: Simple
extra-source-files:
CHANGELOG.md
README.md
source-repository head
type: git
location: https://github.com/bflyblue/servant-event-stream.git
library
exposed-modules: Servant.API.EventStream
default-extensions:
MultiParamTypeClasses
OverloadedStrings
build-depends:
base >=4.12 && <4.22,
bytestring >=0.11.1.0 && <0.13,
http-media >=0.7.1.3 && <0.9,
lens >=4.17 && <5.4,
servant-foreign >=0.15 && <0.17,
servant-server >=0.15 && <0.21,
text >=1.2.3 && <2.2
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
if impl(ghc < 9.4)
ghc-options: -Wno-unticked-promoted-constructors
test-suite tests-default
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: tests
default-language: Haskell2010
build-depends:
base >=4.12 && <4.22,
bytestring >=0.11.1.0 && <0.13,
hspec >=2.7 && <2.12,
servant >=0.15 && <0.21,
servant-event-stream