Cargo Features
[dependencies]
snarkvm-wasm = { version = "1.0.0", default-features = false, features = ["full", "circuit", "console", "curves", "fields", "ledger", "synthesizer", "utilities"] }
- default = full
-
The
full
feature is set by default wheneversnarkvm-wasm
is added without
somewhere in the dependency tree.default-features = false - full default = circuit, console, curves, fields, ledger, synthesizer, utilities
- circuit full = snarkvm-circuit-network
- console full = snarkvm-console
- curves full = snarkvm-curves
- fields full = snarkvm-fields
- ledger full = snarkvm-ledger-block, snarkvm-ledger-query, snarkvm-ledger-store
- synthesizer full = snarkvm-synthesizer
- utilities full = snarkvm-utilities
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.