Cargo Features
[dependencies]
dd-merkle-tree = { version = "0.1.0", default-features = false, features = ["no-entrypoint", "no-log-ix-name", "cpi", "idl-build", "standard", "wasm", "anchor", "solana"] }
- default = standard
-
The
standard
feature is set by default wheneverdd-merkle-tree
is added without
somewhere in the dependency tree.default-features = false - no-entrypoint cpi?
- no-idl no-log-ix-name
- cpi = no-entrypoint
- idl-build
-
Enables idl-build of anchor-lang
- standard default = rayon, sha2, sha3
- wasm = sha2, sha3, wasm-bindgen
- anchor = anchor-lang, solana
- solana anchor? = solana-program
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.