[package]
edition = "2021"
rust-version = "1.96"
name = "churust-compression"
version = "0.3.2"
authors = ["David Cruz Anaya <david.cruz@davthecoder.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Response compression plugin (gzip, deflate, brotli) for the Churust web framework."
homepage = "https://github.com/davthecoder/Churust"
readme = "README.md"
keywords = [
"web",
"framework",
"http",
"ktor",
"async",
]
categories = [
"web-programming::http-server",
"asynchronous",
"network-programming",
]
license = "MIT"
repository = "https://github.com/davthecoder/Churust"
[package.metadata.docs.rs]
all-features = true
[lib]
name = "churust_compression"
path = "src/lib.rs"
[[test]]
name = "compression"
path = "tests/compression.rs"
[dependencies.async-compression]
version = "0.4"
features = [
"tokio",
"gzip",
"zlib",
"brotli",
]
[dependencies.async-trait]
version = "0.1"
[dependencies.bytes]
version = "1"
[dependencies.churust-core]
version = "0.3.2"
[dependencies.futures-util]
version = "0.3"
[dependencies.http]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"net",
"io-util",
"time",
"sync",
"signal",
"macros",
]
[dependencies.tokio-util]
version = "0.7"
features = ["io"]
[dev-dependencies.async-compression]
version = "0.4"
features = [
"tokio",
"gzip",
"zlib",
"brotli",
"tokio",
"gzip",
"zlib",
"brotli",
]
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"net",
"io-util",
"time",
"sync",
"signal",
"macros",
]