Cargo Features

[dependencies]
snarkvm-synthesizer = { version = "0.16.19", default-features = false, features = ["process", "program", "snark", "aleo-cli", "async", "cuda", "serial", "setup", "timer", "wasm", "test"] }
default = process, program, rayon, snark

These default features are set whenever snarkvm-synthesizer is added without default-features = false somewhere in the dependency tree.

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

serial

Enables serial of snarkvm-console, snarkvm-ledger-block, snarkvm-ledger-coinbase, snarkvm-ledger-committee, snarkvm-ledger-query, snarkvm-ledger-store, snarkvm-synthesizer-process, snarkvm-synthesizer-program, and snarkvm-synthesizer-snark

setup
timer

Enables timer of aleo-std

wasm = process, program, rayon, snark

Enables wasm of snarkvm-console, snarkvm-ledger-block, snarkvm-ledger-coinbase, snarkvm-ledger-committee, snarkvm-ledger-query, snarkvm-ledger-store, snarkvm-synthesizer-process, 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 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