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
somewhere in the dependency tree.default-features = false - 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.