[package]
edition = "2021"
name = "rust-webx-host"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "rust-webx HTTP layer: Host builder, middleware pipeline, Trie-based router, hyper integration"
homepage = "https://gitcode.com/rf2026/rust-webx"
documentation = "https://docs.rs/rust-webx"
readme = "README.md"
keywords = [
"web",
"http",
"server",
"hyper",
"middleware",
]
categories = [
"web-programming",
"asynchronous",
]
license = "MIT"
repository = "https://gitcode.com/rf2026/rust-webx"
[features]
testing = ["dep:reqwest"]
[lib]
name = "rust_webx_host"
path = "src/lib.rs"
[[test]]
name = "auth_test"
path = "tests/auth_test.rs"
[[test]]
name = "authz_test"
path = "tests/authz_test.rs"
[[test]]
name = "builder_test"
path = "tests/builder_test.rs"
[[test]]
name = "cache_test"
path = "tests/cache_test.rs"
[[test]]
name = "cors_test"
path = "tests/cors_test.rs"
[[test]]
name = "endpoint_test"
path = "tests/endpoint_test.rs"
[[test]]
name = "health_test"
path = "tests/health_test.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[test]]
name = "mediator_test"
path = "tests/mediator_test.rs"
[[test]]
name = "pipeline_test"
path = "tests/pipeline_test.rs"
[[test]]
name = "production_guard_test"
path = "tests/production_guard_test.rs"
[[test]]
name = "router_test"
path = "tests/router_test.rs"
[[test]]
name = "shutdown_test"
path = "tests/shutdown_test.rs"
[[test]]
name = "test_utils"
path = "tests/test_utils.rs"
[[test]]
name = "tls_test"
path = "tests/tls_test.rs"
[[bench]]
name = "pipeline_bench"
path = "benches/pipeline_bench.rs"
harness = false
[[bench]]
name = "router_bench"
path = "benches/router_bench.rs"
harness = false
[dependencies.async-trait]
version = "0.1"
[dependencies.compact_str]
version = "0.9.1"
[dependencies.ctrlc]
version = "3.4"
[dependencies.flate2]
version = "1.1.9"
[dependencies.http-body-util]
version = "0.1"
[dependencies.hyper]
version = "1"
features = ["full"]
[dependencies.hyper-util]
version = "0.1"
features = [
"full",
"tokio",
"server-auto",
]
[dependencies.inventory]
version = "0.3"
[dependencies.jsonwebtoken]
version = "9"
[dependencies.matchit]
version = "0.9.2"
[dependencies.reqwest]
version = "0.12"
optional = true
default-features = true
[dependencies.rust-dix]
version = "0.6"
[dependencies.rust-webx-core]
version = "0.3.0"
[dependencies.rust-webx-openapi]
version = "0.3.0"
[dependencies.rust-webx-spa]
version = "0.3.0"
[dependencies.rustls]
version = "0.23"
[dependencies.rustls-pemfile]
version = "2"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"full",
"net",
"rt",
"rt-multi-thread",
"macros",
"fs",
"signal",
]
[dependencies.tokio-rustls]
version = "0.26"
[dependencies.tracing]
version = "0.1"
features = ["log"]
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"json",
]
[dependencies.uuid]
version = "1"
features = ["v4"]
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.rcgen]
version = "0.13"
[dev-dependencies.reqwest]
version = "0.12"
features = [
"json",
"gzip",
]
[dev-dependencies.rust-webx-macros]
version = "0.3.0"
[dev-dependencies.tempfile]
version = "3"