Cargo Features

[dependencies]
metadata-shortener = { version = "0.2.1", default-features = false, features = ["std", "merkle-standard", "merkle-lean", "proof-gen"] }
default = merkle-standard, proof-gen, std

These default features are set whenever metadata-shortener is added without default-features = false somewhere in the dependency tree.

std default
merkle-standard default = blake3, frame-metadata, merkle-cbt
merkle-lean proof-gen = blake3, merkle-cbt-lean
proof-gen default = merkle-lean

Enables proof-gen of merkle-cbt-lean

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.

blake3 merkle-lean? merkle-standard
frame-metadata merkle-standard

Enables frame-metadata ^16.0.0

merkle-cbt merkle-standard
merkle-cbt-lean merkle-lean? proof-gen