Cargo Features

kona-rpc has no features set by default.

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

Enables std of kona-protocol

Workspace

and std of op-alloy-rpc-types-engine

OP Alloy

and std of alloy-eips and alloy-primitives

alloy-eips:

Alloy

and std of optional serde

serde

and std of derive_more and optional kona-genesis

derive_more:

Misc

serde jsonrpsee?

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

jsonrpsee interop? = serde

Enables getrandom ^0.2.15

req for wasm32-unknown-unknown

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

jsonrpsee:

jsonrpsee

client interop?

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

client feature

interop = client, jsonrpsee

Enables alloy-sol-types, async-trait, kona-interop, and thiserror

thiserror:

interop feature