fastapi-http 0.1.1

Zero-copy HTTP/1.1 parser for fastapi_rust
Documentation
[package]
name = "fastapi-http"
description = "Zero-copy HTTP/1.1 parser for fastapi_rust"
version.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
repository.workspace = true
homepage.workspace = true
documentation = "https://docs.rs/fastapi-http"
readme = "../../README.md"
keywords = ["http", "parser", "zero-copy", "fastapi", "server"]
categories = ["network-programming", "web-programming::http-server", "asynchronous"]

[dependencies]
fastapi-core = { workspace = true }
asupersync = { workspace = true }

# Optional: tokio for concurrent connection spawning
# When asupersync has accessible spawn API, this can be removed
tokio = { version = "1", features = ["rt", "sync"], optional = true }

[features]
default = []
# Enable concurrent connection handling via tokio::spawn
# This is a transitional feature until asupersync spawn is accessible from Cx
concurrent = ["tokio"]

[dev-dependencies]
tokio = { version = "1", features = ["rt", "macros"] }
criterion = { version = "0.5", features = ["html_reports"] }

[[bench]]
name = "http_parser"
harness = false

[lints]
workspace = true