[package]
edition = "2021"
rust-version = "1.80"
name = "oxihttp"
version = "0.1.3"
authors = ["COOLJAPAN OU (Team Kitasan)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OxiHTTP Pure-Rust HTTP facade for the COOLJAPAN ecosystem."
readme = "README.md"
keywords = [
"http",
"client",
"server",
"pure-rust",
"async",
]
categories = [
"web-programming",
"network-programming",
"asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/oxihttp"
[features]
all = [
"client",
"server",
"tls",
"compression",
"decompression",
"static-files",
"sse",
"tower",
"websocket",
"socks",
"h3",
]
client = ["dep:oxihttp-client"]
compression = [
"server",
"oxihttp-server/compression",
]
decompression = [
"client",
"oxihttp-client/decompression",
]
default = [
"client",
"server",
]
h3 = [
"client",
"server",
"oxihttp-client/h3",
"oxihttp-server/h3",
]
server = ["dep:oxihttp-server"]
socks = [
"client",
"oxihttp-client/socks",
]
sse = [
"server",
"oxihttp-server/sse",
]
static-files = [
"server",
"oxihttp-server/static-files",
]
tls = [
"client",
"oxihttp-client/tls",
"oxihttp-server?/tls",
]
tower = [
"server",
"oxihttp-server/tower",
]
websocket = [
"server",
"oxihttp-server/websocket",
]
[lib]
name = "oxihttp"
path = "src/lib.rs"
[[test]]
name = "client_fuzz_test"
path = "tests/client_fuzz_test.rs"
[[test]]
name = "compression_test"
path = "tests/compression_test.rs"
[[test]]
name = "early_data_test"
path = "tests/early_data_test.rs"
[[test]]
name = "extractor_test"
path = "tests/extractor_test.rs"
[[test]]
name = "h3_test"
path = "tests/h3_test.rs"
[[test]]
name = "http1_client"
path = "tests/http1_client.rs"
[[test]]
name = "http2_alpn_test"
path = "tests/http2_alpn_test.rs"
[[test]]
name = "http2_test"
path = "tests/http2_test.rs"
[[test]]
name = "https_client"
path = "tests/https_client.rs"
[[test]]
name = "key_log_test"
path = "tests/key_log_test.rs"
[[test]]
name = "middleware_test"
path = "tests/middleware_test.rs"
[[test]]
name = "mtls_test"
path = "tests/mtls_test.rs"
[[test]]
name = "multipart_test"
path = "tests/multipart_test.rs"
[[test]]
name = "per_request_tls_test"
path = "tests/per_request_tls_test.rs"
[[test]]
name = "proxy_test"
path = "tests/proxy_test.rs"
[[test]]
name = "retry_test"
path = "tests/retry_test.rs"
[[test]]
name = "serve_file_test"
path = "tests/serve_file_test.rs"
[[test]]
name = "server_fuzz_test"
path = "tests/server_fuzz_test.rs"
[[test]]
name = "server_test"
path = "tests/server_test.rs"
[[test]]
name = "skip_verify_and_header_test"
path = "tests/skip_verify_and_header_test.rs"
[[test]]
name = "sse_test"
path = "tests/sse_test.rs"
[[test]]
name = "state_test"
path = "tests/state_test.rs"
[[test]]
name = "static_files_test"
path = "tests/static_files_test.rs"
[[test]]
name = "streaming_test"
path = "tests/streaming_test.rs"
[[test]]
name = "tower_test"
path = "tests/tower_test.rs"
[[test]]
name = "tuning_test"
path = "tests/tuning_test.rs"
[[test]]
name = "websocket_test"
path = "tests/websocket_test.rs"
[[test]]
name = "wss_test"
path = "tests/wss_test.rs"
[[bench]]
name = "client_body"
path = "benches/client_body.rs"
harness = false
[[bench]]
name = "client_latency"
path = "benches/client_latency.rs"
harness = false
[[bench]]
name = "facade_bench"
path = "benches/facade_bench.rs"
harness = false
[[bench]]
name = "memory_bench"
path = "benches/memory_bench.rs"
harness = false
[[bench]]
name = "server_dispatch"
path = "benches/server_dispatch.rs"
harness = false
[[bench]]
name = "server_files"
path = "benches/server_files.rs"
harness = false
[[bench]]
name = "websocket_bench"
path = "benches/websocket_bench.rs"
harness = false
[dependencies.http]
version = "1.4"
[dependencies.oxihttp-client]
version = "0.1.3"
optional = true
[dependencies.oxihttp-core]
version = "0.1.3"
[dependencies.oxihttp-server]
version = "0.1.3"
optional = true
[dev-dependencies.base64]
version = "0.22"
features = ["alloc"]
default-features = false
[dev-dependencies.bytes]
version = "1.11"
[dev-dependencies.criterion]
version = "0.8"
features = ["async_tokio"]
[dev-dependencies.futures-util]
version = "0.3"
features = [
"alloc",
"async-await",
]
default-features = false
[dev-dependencies.http-body-util]
version = "0.1"
[dev-dependencies.hyper]
version = "1.10"
features = [
"client",
"http1",
"server",
"http2",
]
[dev-dependencies.hyper-util]
version = "0.1"
features = [
"client",
"client-legacy",
"http1",
"http2",
"tokio",
"server",
"server-auto",
]
[dev-dependencies.oxiarc-deflate]
version = "0.3.3"
[dev-dependencies.oxihttp-client]
version = "0.1.3"
features = ["socks"]
[dev-dependencies.oxihttp-core]
version = "0.1.3"
[dev-dependencies.oxihttp-server]
version = "0.1.3"
features = [
"tls",
"tower",
"websocket",
]
[dev-dependencies.oxiquic-crypto]
version = "0.1.2"
[dev-dependencies.oxiquic-h3]
version = "0.1.2"
features = ["h3-compat"]
default-features = false
[dev-dependencies.oxitls]
version = "0.1.2"
features = [
"pure",
"webpki-roots",
"rcgen",
]
default-features = false
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.rustls]
version = "0.23"
features = [
"std",
"tls12",
]
default-features = false
[dev-dependencies.rustls-pemfile]
version = "2"
[dev-dependencies.rustls-pki-types]
version = "1"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"net",
"io-util",
"signal",
"sync",
"time",
]
[dev-dependencies.tokio-rustls]
version = "0.26"
features = ["tls12"]
default-features = false
[dev-dependencies.tower-layer]
version = "0.3"
[dev-dependencies.tower-service]
version = "0.3"