Cargo Features

[dependencies]
sp-mmr-primitives = { version = "31.0.0", default-features = false, features = ["std", "serde"] }
default = std

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

std default

Enables thiserror and std of parity-scale-codec, log, ckb-merkle-mountain-range ^0.5.2, scale-info, serde, sp-api, sp-core, sp-debug-derive, and sp-runtime

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

serde std

Serde support without relying on std features.

Enables serde, serde of scale-info, serde of sp-core and sp-runtime