Cargo Features

kona-protocol has no features set by default.

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

Enables std of brotli

Compression

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

kona-genesis:

Workspace

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

alloy-primitives:

Alloy

serde

Enables alloy-serde ^0.12.6, serde of kona-genesis and op-alloy-consensus ^0.11.2, serde of alloy-consensus ^0.12.6, alloy-eips ^0.12.6, 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 ^0.12.6 and alloy-eips ^0.12.6, arbitrary of kona-genesis and op-alloy-consensus ^0.11.2 and arbitrary

arbitrary feature

test-utils

Enables spin ^0.9.8 and tracing-subscriber

spin:

test-utils feature