[dependencies.alloy-eips]
default-features = false
features = ["serde"]
version = "0.11.0"
[dependencies.alloy-primitives]
default-features = false
features = ["map", "rlp", "serde"]
version = "0.8.18"
[dependencies.alloy-rpc-client]
default-features = false
features = ["reqwest"]
optional = true
version = "0.11.0"
[dependencies.alloy-sol-types]
default-features = false
optional = true
version = "0.8.18"
[dependencies.async-trait]
optional = true
version = "0.1.85"
[dependencies.derive_more]
default-features = false
features = ["display", "from"]
version = "1.0.0"
[dependencies.getrandom]
features = ["js", "js"]
optional = true
version = "0.2.15"
[dependencies.jsonrpsee]
features = ["jsonrpsee-core", "client-core", "server-core", "macros"]
optional = true
version = "0.24.8"
[dependencies.maili-genesis]
default-features = false
optional = true
version = "0.2.0"
[dependencies.maili-interop]
default-features = false
features = ["serde"]
optional = true
version = "0.2.0"
[dependencies.maili-protocol]
default-features = false
version = "0.2.0"
[dependencies.op-alloy-rpc-jsonrpsee]
default-features = false
optional = true
version = "0.10.0"
[dependencies.op-alloy-rpc-types-engine]
default-features = false
version = "0.10.0"
[dependencies.serde]
default-features = false
features = ["derive", "alloc"]
optional = true
version = "1.0.217"
[dependencies.thiserror]
default-features = false
optional = true
version = "2.0.11"
[dependencies.tokio]
features = ["time"]
optional = true
version = "1.43.0"
[dev-dependencies.serde_json]
default-features = false
features = ["alloc"]
version = "1.0.138"
[features]
client = ["dep:maili-interop", "jsonrpsee", "jsonrpsee/client", "jsonrpsee/async-client", "op-alloy-rpc-jsonrpsee/client", "tokio"]
default = ["std", "jsonrpsee"]
interop = ["dep:thiserror", "dep:maili-interop", "dep:alloy-rpc-client", "dep:async-trait"]
jsonrpsee = ["serde", "dep:maili-genesis", "dep:maili-interop", "dep:jsonrpsee", "dep:getrandom", "dep:alloy-sol-types", "dep:op-alloy-rpc-jsonrpsee"]
serde = ["dep:serde", "maili-protocol/serde", "maili-genesis?/serde", "alloy-eips/serde", "alloy-primitives/serde", "op-alloy-rpc-types-engine/serde", "maili-interop?/serde"]
std = ["maili-protocol/std", "maili-genesis?/std", "alloy-eips/std", "alloy-primitives/std", "op-alloy-rpc-types-engine/std", "derive_more/std", "maili-interop?/std", "serde?/std"]
[lib]
name = "maili_rpc"
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 = "Optimism RPC Types and API"
edition = "2021"
exclude = ["benches/", "tests/"]
homepage = "https://github.com/op-rs/maili"
license = "MIT OR Apache-2.0"
name = "maili-rpc"
readme = "README.md"
repository = "https://github.com/op-rs/maili"
rust-version = "1.81"
version = "0.2.0"