spectreq 0.1.1

High-efficiency HTTP client with browser impersonation
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 = "2021"
rust-version = "1.93.0"
name = "spectreq"
version = "0.1.1"
authors = ["Spectre Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-efficiency HTTP client with browser impersonation"
readme = "README.md"
keywords = [
    "http",
    "client",
    "browser",
    "fingerprinting",
]
categories = ["web-programming::http-client"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/inav/spectreq"

[features]
default = []
ech = ["reqwest"]
http3 = [
    "quinn",
    "h3",
    "h3-quinn",
]
post-quantum = ["rustls-post-quantum"]

[lib]
name = "spectreq"
crate-type = ["lib"]
path = "src/lib.rs"

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "cookies"
path = "examples/cookies.rs"

[[example]]
name = "timing"
path = "examples/timing.rs"

[[test]]
name = "antibot_test"
path = "tests/antibot_test.rs"

[[test]]
name = "auth_test"
path = "tests/auth_test.rs"

[[test]]
name = "compression_test"
path = "tests/compression_test.rs"

[[test]]
name = "profile_test"
path = "tests/profile_test.rs"

[[test]]
name = "property_test"
path = "tests/property_test.rs"

[[test]]
name = "tls_test"
path = "tests/tls_test.rs"

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.argon2]
version = "0.5"

[dependencies.base64]
version = "0.22"

[dependencies.brotli]
version = "8.0"

[dependencies.bytes]
version = "1.10"

[dependencies.chacha20poly1305]
version = "0.10"

[dependencies.cookie_store]
version = "0.22"

[dependencies.der]
version = "0.7"

[dependencies.flate2]
version = "1.1"

[dependencies.futures-util]
version = "0.3"

[dependencies.h2]
version = "0.4"

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

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

[dependencies.hex]
version = "0.4"

[dependencies.http]
version = "1.2"

[dependencies.http-body-util]
version = "0.1"

[dependencies.hyper]
version = "1.8"
features = ["full"]

[dependencies.hyper-util]
version = "0.1"
features = [
    "full",
    "tokio",
]

[dependencies.indexmap]
version = "2.7"
features = ["serde"]

[dependencies.md-5]
version = "0.10"

[dependencies.quinn]
version = "0.11"
optional = true

[dependencies.rand]
version = "0.9"

[dependencies.reqwest]
version = "0.12"
features = ["json"]
optional = true
default-features = false

[dependencies.rustls]
version = "0.23"
features = ["ring"]

[dependencies.rustls-native-certs]
version = "0.8"

[dependencies.rustls-post-quantum]
version = "0.2"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha2]
version = "0.10"

[dependencies.socket2]
version = "0.5"
features = ["all"]

[dependencies.socks]
version = "0.3"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.49"
features = ["full"]

[dependencies.tokio-rustls]
version = "0.26"

[dependencies.tower]
version = "0.5"

[dependencies.tower-service]
version = "0.3"

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2.5"

[dependencies.x509-cert]
version = "0.2"

[dependencies.zstd]
version = "0.13"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

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

[dev-dependencies.tempfile]
version = "3.10"

[dev-dependencies.tokio]
version = "1.49"
features = [
    "full",
    "test-util",
]