Cargo Features

[dependencies]
kona-derive = { version = "0.0.2", default-features = false, features = ["serde", "k256", "online", "test-utils"] }
default = k256, serde

These default features are set whenever kona-derive is added without default-features = false somewhere in the dependency tree.

serde default

Enables serde

serde feature dependencies

and serde of alloy-consensus and alloy-primitives

alloy-consensus:

Workspace Alloy Dependencies

and serde of kona-primitives and op-alloy-consensus

kona-primitives:

Local

k256 default

Enables k256 of alloy-consensus, alloy-primitives, and op-alloy-consensus

online

Enables reqwest, alloy-rpc-types and alloy-transport, serde_json and sha2, serde of alloy-consensus, reqwest of alloy-transport-http, c-kzg and serde of revm ^10.0.0, reqwest of alloy-provider and alloy-rpc-client and serde of c-kzg

online feature dependencies

Affects kona-derive::online

test-utils

Enables alloy-node-bindings, alloy-rpc-client, and tracing-subscriber

alloy-node-bindings:

test-utils feature dependencies