Cargo Features

kona-rpc has no features set by default.

[dependencies]
kona-rpc = { version = "0.2.0", features = ["std", "serde", "jsonrpsee", "reqwest", "client", "interop"] }
std

Enables std of alloy-eips ^0.12.6 and alloy-primitives

alloy-eips:

Alloy

and std of kona-protocol and op-alloy-rpc-types-engine ^0.11.2

kona-protocol:

Workspace

and std of optional serde

serde

and std of derive_more and optional kona-genesis

derive_more:

Misc

serde jsonrpsee?

Enables serde, alloy-eips ^0.12.6 and alloy-primitives, optional kona-interop, serde of kona-protocol and op-alloy-rpc-types-engine ^0.11.2, serde of optional kona-genesis

jsonrpsee interop? = serde

Enables getrandom

req for wasm32-unknown-unknown

and jsonrpsee, kona-genesis, kona-interop, and op-alloy-rpc-jsonrpsee ^0.11.1

jsonrpsee:

jsonrpsee

reqwest

Enables alloy-rpc-client ^0.12.6

reqwest feature

Affects kona-rpc::reqwest

client interop?

Enables kona-interop, async-client and client of jsonrpsee, client of op-alloy-rpc-jsonrpsee ^0.11.1 and tokio

client feature

interop = client, jsonrpsee

Enables async-trait, kona-interop, and thiserror

thiserror:

interop feature

Affects kona-rpc::reqwest