[package]
edition = "2021"
rust-version = "1.94"
name = "qubit-http"
version = "0.5.1"
authors = ["Haixing Hu <starfish.hu@gmail.com>"]
build = false
exclude = [
"coverage.sh",
"COVERAGE.md",
"COVERAGE.zh_CN.md",
".circleci/*",
"ci-check.sh",
".llvm-cov.toml",
".cargo-audit.toml.example",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "General-purpose HTTP infrastructure for Rust with unified client semantics, secure logging, and built-in SSE decoding"
homepage = "https://github.com/qubit-ltd/rs-http"
documentation = "https://docs.rs/qubit-http"
readme = "README.md"
keywords = [
"http",
"sse",
"streaming",
"network",
"qubit",
]
categories = [
"network-programming",
"asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/qubit-ltd/rs-http"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[lib]
name = "qubit_http"
path = "src/lib.rs"
doctest = false
[[test]]
name = "mod"
path = "tests/mod.rs"
[dependencies.async-stream]
version = "0.3"
[dependencies.bytes]
version = "1.11"
features = ["serde"]
[dependencies.futures-util]
version = "0.3"
[dependencies.http]
version = "1.4"
[dependencies.httpdate]
version = "1.0"
[dependencies.parse-display]
version = "0.10"
[dependencies.qubit-config]
version = "0.12"
[dependencies.qubit-datatype]
version = "0.2"
[dependencies.qubit-error]
version = "0.2"
[dependencies.qubit-function]
version = "0.11"
[dependencies.qubit-retry]
version = "0.10"
features = ["tokio"]
[dependencies.reqwest]
version = "0.13"
features = [
"json",
"stream",
"query",
"socks",
]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.strum]
version = "0.28"
features = ["derive"]
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.52"
features = [
"time",
"net",
"macros",
]
[dependencies.tokio-util]
version = "0.7"
features = ["rt"]
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2.5"
[dev-dependencies.tokio]
version = "1.52"
features = [
"full",
"test-util",
]
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["fmt"]
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(coverage)"]