Cargo Features

kona-protocol has no features set by default.

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

Enables std of brotli and derive_more

brotli:

Compression

and std of kona-genesis and miniz_oxide ^0.8.8

kona-genesis:

Workspace

and std of tracing and unsigned-varint

tracing:

Misc

and std of op-alloy-consensus ^0.18.3, op-alloy-rpc-types ^0.18.3, and op-alloy-rpc-types-engine ^0.18.3

op-alloy-consensus:

OP Alloy

and std of optional serde

serde feature

and std of thiserror and optional spin

spin:

test-utils feature

and std of alloy-consensus, alloy-eips, alloy-primitives, alloy-rlp, alloy-rpc-types-engine, alloy-rpc-types-eth, and optional alloy-serde

alloy-primitives:

Alloy

serde

Enables alloy-serde, serde, serde of kona-genesis, op-alloy-consensus ^0.18.3, op-alloy-rpc-types ^0.18.3, and op-alloy-rpc-types-engine ^0.18.3, serde of alloy-consensus, alloy-eips, alloy-primitives, alloy-rpc-types-engine, and alloy-rpc-types-eth, serde of optional tracing-subscriber

arbitrary = std

Enables arbitrary and rand of alloy-primitives, arbitrary of alloy-consensus and alloy-eips, arbitrary of kona-genesis, op-alloy-consensus ^0.18.3, op-alloy-rpc-types ^0.18.3, and op-alloy-rpc-types-engine ^0.18.3, arbitrary of alloy-rpc-types-engine, alloy-rpc-types-eth, and optional alloy-serde and arbitrary

arbitrary feature

test-utils

Enables spin and tracing-subscriber