alloy-rpc-client 0.6.1

Low-level Ethereum JSON-RPC client implementation
Documentation
[dependencies.alloy-json-rpc]
default-features = false
version = "0.6"

[dependencies.alloy-primitives]
default-features = false
features = ["map"]
version = "0.8.11"

[dependencies.alloy-pubsub]
default-features = false
optional = true
version = "0.6"

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

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

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

[dependencies.futures]
version = "0.3"

[dependencies.pin-project]
version = "1.1"

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

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

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

[dependencies.tokio]
features = ["sync"]
version = "1"

[dependencies.tokio-stream]
features = ["sync"]
version = "0.1"

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

[dependencies.tracing]
version = "0.1"

[dependencies.url]
optional = true
version = "2.5"

[dev-dependencies.alloy-node-bindings]
default-features = false
version = "0.6"

[dev-dependencies.alloy-primitives]
default-features = false
version = "0.8.11"

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

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

[dev-dependencies.ci_info]
version = "0.14.14"

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

[dev-dependencies.similar-asserts]
version = "1.5"

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

[features]
default = ["reqwest"]
hyper = ["dep:url", "alloy-transport-http/hyper"]
ipc = ["pubsub", "dep:alloy-transport-ipc"]
pubsub = ["dep:alloy-pubsub"]
reqwest = ["dep:url", "dep:reqwest", "alloy-transport-http/reqwest"]
ws = ["pubsub", "dep:alloy-transport-ws", "dep:url"]

[lib]
name = "alloy_rpc_client"
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 client implementation"
edition = "2021"
exclude = ["benches/", "tests/"]
homepage = "https://github.com/alloy-rs/alloy"
license = "MIT OR Apache-2.0"
name = "alloy-rpc-client"
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-transport-ipc]
default-features = false
optional = true
version = "0.6"

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