[package]
edition = "2024"
rust-version = "1.95"
name = "cgi-response"
version = "0.0.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Parse a CGI child's stdout into an http::Response with a streaming body."
readme = "README.md"
keywords = [
"cgi",
"rfc3875",
"http-body",
"response",
"stream",
]
categories = [
"web-programming::http-server",
"network-programming",
]
license = "MIT"
repository = "https://github.com/canmi21/vane"
[lib]
name = "cgi_response"
path = "src/lib.rs"
[dependencies.bytes]
version = "1"
[dependencies.http]
version = "1"
[dependencies.http-body]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"io-util",
"time",
]
[dev-dependencies.http-body-util]
version = "0.1"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"io-util",
"time",
"test-util",
]
[lints.clippy]
cognitive_complexity = "warn"
doc_markdown = "allow"
similar_names = "allow"
unnecessary_wraps = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unreachable_pub = "warn"
unsafe_code = "deny"