xitca-http 0.9.1

http library for xitca
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "xitca-http"
version = "0.9.1"
authors = ["fakeshadow <everestshadow@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "http library for xitca"
readme = "README.md"
keywords = [
    "xitca",
    "xitca-web",
]
license = "Apache-2.0"
repository = "https://github.com/HFQR/xitca-web"
resolver = "2"

[features]
__tls = []
default = ["http1"]
http1 = [
    "runtime",
    "dep:httparse",
    "dep:itoa",
]
http2 = [
    "runtime",
    "dep:fnv",
    "futures-util/alloc",
]
http3 = [
    "runtime",
    "xitca-io/quic",
    "futures-util/alloc",
    "dep:h3",
    "dep:h3-quinn",
]
io-uring = ["xitca-io/runtime-uring"]
native-tls = [
    "__tls",
    "runtime",
    "xitca-tls/native-tls",
]
openssl = [
    "__tls",
    "runtime",
    "xitca-tls/openssl",
]
router = ["xitca-router"]
runtime = [
    "dep:tokio",
    "xitca-io/runtime",
]
rustls = [
    "__tls",
    "runtime",
    "xitca-tls/rustls",
]

[lib]
name = "xitca_http"
path = "src/lib.rs"

[[bench]]
name = "h1_decode"
path = "benches/h1_decode.rs"
harness = false

[dependencies.fnv]
version = "1.0.7"
optional = true

[dependencies.futures-util]
version = "0.3.17"
optional = true
default-features = false

[dependencies.h3]
version = "0.0.8"
optional = true

[dependencies.h3-quinn]
version = "0.0.10"
optional = true

[dependencies.http]
version = "1.4.0"

[dependencies.http-body-alt]
version = "0.1.0"

[dependencies.httparse]
version = "1.10.1"
optional = true

[dependencies.httpdate]
version = "1.0"

[dependencies.itoa]
version = "1"
optional = true

[dependencies.pin-project-lite]
version = "0.2.17"

[dependencies.tokio]
version = "1.51.0"
features = [
    "rt",
    "time",
]
optional = true

[dependencies.tracing]
version = "0.1.40"
default-features = false

[dependencies.xitca-io]
version = "0.6.0"

[dependencies.xitca-router]
version = "0.4.3"
optional = true

[dependencies.xitca-service]
version = "0.3.0"
features = ["alloc"]

[dependencies.xitca-tls]
version = "0.6.0"
optional = true

[dependencies.xitca-unsafe-collection]
version = "0.2.0"
features = ["bytes"]

[dev-dependencies.assert_matches]
version = "1.5"

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.proptest]
version = "1.11"

[dev-dependencies.xitca-server]
version = "0.7.0"

[target.'cfg(not(target_family = "wasm"))'.dependencies.socket2]
version = "0.6.3"
features = ["all"]

[lints.clippy]
await_holding_lock = "allow"
needless_return = "allow"
new_without_default = "allow"

[lints.rust]
unreachable_patterns = "allow"