Cargo Features
[dependencies]
snarkvm-synthesizer = { version = "1.1.0", default-features = false, features = ["process", "program", "snark", "aleo-cli", "async", "cuda", "history", "rocks", "serial", "setup", "timer", "wasm", "test"] }
- default = process, program, rayon, snark
-
These default features are set whenever
snarkvm-synthesizer
is added without
somewhere in the dependency tree.default-features = false - process default wasm? = synthesizer-process
-
Affects
snarkvm-synthesizer::vm
… - program default wasm? = synthesizer-program
-
Affects
snarkvm-synthesizer::vm
… - snark default wasm? = synthesizer-snark
-
Affects
snarkvm-synthesizer::vm
… - aleo-cli
- async
-
Enables async of snarkvm-ledger-query and snarkvm-synthesizer-process
- cuda
-
Enables cuda of snarkvm-algorithms
- history = serde
- rocks
-
Enables rocks of snarkvm-ledger-store
- serial
-
Enables serial of snarkvm-console, snarkvm-ledger-block, snarkvm-ledger-committee, snarkvm-ledger-query, snarkvm-ledger-store, snarkvm-synthesizer-process, snarkvm-synthesizer-program, and snarkvm-synthesizer-snark
- setup
- timer
- wasm = process, program, rayon, snark
-
Enables wasm of snarkvm-console, snarkvm-ledger-block, snarkvm-ledger-committee, snarkvm-ledger-query, snarkvm-ledger-store, snarkvm-synthesizer-process, snarkvm-synthesizer-program, and snarkvm-synthesizer-snark
- test
-
Enables test of snarkvm-console
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.
- serde history?
- rayon default wasm?
- synthesizer-program program serial? wasm?
-
Enables snarkvm-synthesizer-program
- synthesizer-snark serial? snark wasm?
-
Enables snarkvm-synthesizer-snark
- synthesizer-process async? process serial? wasm?
-
Enables snarkvm-synthesizer-process