[package]
edition = "2024"
rust-version = "1.85"
name = "fastapi-http"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zero-copy HTTP/1.1 parser for fastapi_rust"
homepage = "https://github.com/Dicklesworthstone/fastapi_rust"
documentation = "https://docs.rs/fastapi-http"
readme = "README.md"
keywords = [
"http",
"parser",
"zero-copy",
"fastapi",
"server",
]
categories = [
"network-programming",
"web-programming::http-server",
"asynchronous",
]
license = "MIT"
repository = "https://github.com/Dicklesworthstone/fastapi_rust"
resolver = "2"
[features]
concurrent = ["tokio"]
default = []
[lib]
name = "fastapi_http"
path = "src/lib.rs"
[[test]]
name = "security"
path = "tests/security.rs"
[[bench]]
name = "http_parser"
path = "benches/http_parser.rs"
harness = false
[dependencies.asupersync]
version = "0.1.0"
[dependencies.fastapi-core]
version = "0.1.1"
[dependencies.tokio]
version = "1"
features = [
"rt",
"sync",
]
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"macros",
]
[lints.clippy]
doc_link_with_quotes = "allow"
doc_markdown = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "warn"