Cargo Features
[dependencies]
snarkvm-console = { version = "1.0.0", default-features = false, features = ["wasm", "account", "algorithms", "collections", "network", "program", "serial", "types", "test"] }
- default = account, algorithms, collections, network, program, types
-
These default features are set whenever
snarkvm-console
is added without
somewhere in the dependency tree.default-features = false - wasm
-
Enables wasm of snarkvm-console-network
- account default = network, snarkvm-console-account
- algorithms default collections = snarkvm-console-algorithms
- collections default network = algorithms, snarkvm-console-collections
- network default account program = collections, snarkvm-console-network
- program default = network, snarkvm-console-program
- serial
-
Enables serial of snarkvm-console-collections
- types default = snarkvm-console-types
- test
-
Enables test of snarkvm-console-account, snarkvm-console-network, and snarkvm-console-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.