Cargo Features

parity-scale-codec-derive has no features set by default.

[dependencies]
parity-scale-codec-derive = { version = "3.7.0", features = ["max-encoded-len"] }
max-encoded-len

Enables the new MaxEncodedLen trait. NOTE: This is still considered experimental and is exempt from the usual SemVer guarantees. We do not guarantee no code breakage when using this.

Affects parity-scale-codec-derive::derive_max_encoded_len, utils::custom_mel_trait_bound