Cargo Features
[dependencies]
snarkvm-ledger-block = { version = "1.0.0", default-features = false, features = ["serial", "wasm", "test", "rayon"] }
- default = rayon
-
These default features are set whenever
snarkvm-ledger-block
is added without
somewhere in the dependency tree.default-features = false - serial
-
Enables serial of snarkvm-console, snarkvm-ledger-authority, snarkvm-ledger-committee, snarkvm-ledger-puzzle, snarkvm-synthesizer-program, and snarkvm-synthesizer-snark
- wasm
-
Enables wasm of snarkvm-console, snarkvm-ledger-authority, snarkvm-ledger-committee, snarkvm-ledger-puzzle, snarkvm-synthesizer-program, and snarkvm-synthesizer-snark
- test
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.
- rayon default