Cargo Features

[dependencies]
experi-codec = { version = "3.2.0", default-features = false, features = ["std", "derive", "full"] }
default = std

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

std default = serde

Affects codec::MaybeDebugSerde, experi-codec::alloc

derive = experi-codec-derive
full

WARNING: DO NOT USE THIS FEATURE IF YOU ARE WORKING ON CONSENSUS CODE!*

Provides implementations for more data structures than just Vec and Box. Concretely it will provide experi-codec implementations for many types that can be found in std and/or alloc (nightly).

This feature was mainly introduced after it became clear that pDSL requires it for the sake of usability of its users.

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

serde std
experi-codec-derive derive?