cabal-version: 3.0
name: datastar-hs-zstd
version: 1.0.0.0
synopsis: zstd compressor for datastar-hs
description:
@zstd@ @Content-Encoding@ compressor for
<https://hackage.haskell.org/package/datastar-hs datastar-hs> SSE streams.
.
No system library needed: the <https://hackage.haskell.org/package/zstd zstd>
package bundles the zstd C sources by default (its @standalone@ flag).
Requires @zstd >= 0.1.4@ for the streaming @flushStream@ binding.
homepage: https://github.com/starfederation/datastar-haskell
bug-reports: https://github.com/starfederation/datastar-haskell/issues
license: MIT
license-file: LICENSE
author: Carlo Hamalainen
maintainer: carlo@carlo-hamalainen.net
category: Web, Hypermedia
build-type: Simple
extra-doc-files: CHANGELOG.md
source-repository head
type: git
location: https://github.com/starfederation/datastar-haskell.git
common warnings
ghc-options:
-Wall
-Wcompat
-Wunused-packages
-Wredundant-constraints
-Wincomplete-uni-patterns
-Wincomplete-record-updates
library
import: warnings
exposed-modules:
Hypermedia.Datastar.Compression.Zstd
hs-source-dirs: src
default-language: Haskell2010
default-extensions:
ImportQualifiedPost
LambdaCase
OverloadedStrings
build-depends:
, base >= 4.14 && < 5
, bytestring >= 0.10.12 && < 1
, datastar-hs >= 1.1 && < 1.2
, zstd >= 0.1.4 && < 1
test-suite datastar-hs-zstd-test
import: warnings
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
other-modules:
Hypermedia.Datastar.Compression.ZstdSpec
build-depends:
, base
, bytestring
, datastar-hs
, datastar-hs-zlib
, datastar-hs-zstd
, hspec
, http-types
, wai
, zstd
default-language: Haskell2010
default-extensions:
ImportQualifiedPost
OverloadedStrings