alloy-transport 0.5.4

Low-level Ethereum JSON-RPC transport abstraction
Documentation
[dependencies.alloy-json-rpc]
default-features = false
version = "0.5"

[dependencies.base64]
version = "0.22"

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

[dependencies.futures-utils-wasm]
version = "0.1"

[dependencies.serde]
default-features = false
features = ["derive", "alloc"]
version = "1.0"

[dependencies.serde_json]
default-features = false
features = ["alloc", "raw_value"]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

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

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2.5"

[features]
wasm-bindgen = ["dep:wasm-bindgen-futures"]

[lib]
name = "alloy_transport"
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 = "Low-level Ethereum JSON-RPC transport abstraction"
edition = "2021"
exclude = ["benches/", "tests/"]
homepage = "https://github.com/alloy-rs/alloy"
license = "MIT OR Apache-2.0"
name = "alloy-transport"
readme = "README.md"
repository = "https://github.com/alloy-rs/alloy"
rust-version = "1.79"
version = "0.5.4"

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

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
features = ["rt", "time"]
version = "1"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
optional = true
version = "0.4"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasmtimer]
version = "0.2.0"