Cargo Features

[dependencies]
alloy-rlp = { version = "0.3.10", default-features = false, features = ["std", "derive", "core-net", "core-error", "arrayvec"] }
default = std

The std feature is set by default whenever alloy-rlp is added without default-features = false somewhere in the dependency tree.

std default

Enables std of optional arrayvec and bytes

derive

Enables alloy-rlp-derive

core-net

Enables core::net:: implementations always instead of conditionally through std. Requires Rust 1.77 or newer.

core-error

Enables core::error::Error implementations always instead of conditionally through std. Requires Rust 1.81 or newer.

arrayvec

Enables arrayvec

Affects encode::encode_fixed_size