alloy-transport-http 0.6.1

HTTP transport implementation
Documentation
[dependencies.alloy-json-rpc]
default-features = false
optional = true
version = "0.6"

[dependencies.alloy-transport]
default-features = false
version = "0.6"

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

[dependencies.serde_json]
default-features = false
features = ["alloc"]
optional = true
version = "1.0"

[dependencies.tower]
features = ["util"]
optional = true
version = "0.5"

[dependencies.tracing]
optional = true
version = "0.1"

[dependencies.url]
version = "2.5"

[features]
default = ["reqwest", "reqwest-default-tls"]
hyper = ["dep:hyper", "dep:hyper-util", "dep:http-body-util", "dep:alloy-json-rpc", "dep:serde_json", "dep:tower", "dep:tracing"]
jwt-auth = ["hyper", "dep:alloy-rpc-types-engine", "alloy-rpc-types-engine/jwt", "alloy-rpc-types-engine/serde", "dep:jsonwebtoken"]
reqwest = ["dep:reqwest", "dep:alloy-json-rpc", "dep:serde_json", "dep:tower", "dep:tracing"]
reqwest-default-tls = ["reqwest?/default-tls"]
reqwest-native-tls = ["reqwest?/native-tls"]
reqwest-rustls-tls = ["reqwest?/rustls-tls"]

[lib]
name = "alloy_transport_http"
path = "src/lib.rs"

[lints.clippy]
missing-const-for-fn = "warn"
option-if-let-else = "warn"
redundant-clone = "warn"
use-self = "warn"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
missing-debug-implementations = "warn"
missing-docs = "warn"
rust-2018-idioms = "deny"
unnameable-types = "warn"
unreachable-pub = "warn"
unused-must-use = "deny"

[lints.rustdoc]
all = "warn"

[package]
authors = ["Alloy Contributors"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "HTTP transport implementation"
edition = "2021"
exclude = ["benches/", "tests/"]
homepage = "https://github.com/alloy-rs/alloy"
license = "MIT OR Apache-2.0"
name = "alloy-transport-http"
readme = "README.md"
repository = "https://github.com/alloy-rs/alloy"
rust-version = "1.79"
version = "0.6.1"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.alloy-rpc-types-engine]
default-features = false
optional = true
version = "0.6"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.http-body-util]
optional = true
version = "0.1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.hyper]
default-features = false
optional = true
version = "1.2"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.hyper-util]
features = ["full"]
optional = true
version = "0.1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.jsonwebtoken]
optional = true
version = "9.3.0"