[package]
edition = "2021"
rust-version = "1.70"
name = "qubit-http"
version = "0.2.0"
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.7"
[dependencies.futures-util]
version = "0.3"
[dependencies.http]
version = "1.1"
[dependencies.qubit-common]
version = "0.5.3"
[dependencies.qubit-config]
version = "0.8.3"
[dependencies.qubit-function]
version = "0.8.1"
[dependencies.qubit-retry]
version = "0.3.0"
[dependencies.reqwest]
version = "0.13.2"
features = [
"json",
"stream",
"query",
"socks",
]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0.17"
[dependencies.tokio]
version = "1.0"
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.0"
features = [
"full",
"test-util",
]
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["fmt"]