Cargo Features

kona-protocol has no features set by default.

[dependencies]
kona-protocol = { version = "0.1.0", features = ["std", "serde", "arbitrary", "test-utils"] }
std arbitrary?

Enables std of brotli

Compression

and std of kona-genesis, miniz_oxide, op-alloy-consensus, thiserror, and unsigned-varint

kona-genesis:

Workspace

and std of alloy-consensus, alloy-primitives, alloy-rlp, and optional alloy-serde

alloy-primitives:

Alloy

serde

Enables alloy-serde, serde of kona-genesis and op-alloy-consensus, serde of alloy-consensus, alloy-eips, and alloy-primitives, serde of optional tracing-subscriber and serde

serde feature

arbitrary = std

Enables arbitrary and rand of alloy-primitives, arbitrary of alloy-consensus and alloy-eips, arbitrary of kona-genesis and op-alloy-consensus and arbitrary

arbitrary feature

test-utils

Enables spin and tracing-subscriber

spin:

test-utils feature