Cargo Features
[dependencies]
snarkvm-gadgets = { version = "0.8.0", default-features = false, features = ["full", "algorithms", "curves", "nonnative"] }
- default = full
-
These default features are set whenever
snarkvm-gadgets
is added without
somewhere in the dependency tree.default-features = false Enables snarkvm-algorithms ^0.8.0, snarkvm-curves ^0.8.0, snarkvm-fields ^0.8.0, snarkvm-r1cs ^0.8.0, and snarkvm-utilities ^0.8.0
- full default = algorithms, curves, nonnative
- algorithms full
-
Affects
snarkvm-gadgets::algorithms
… - curves full
-
Affects
snarkvm-gadgets::curves
… - nonnative full = num-bigint, num-integer, num-traits
-
Affects
snarkvm-gadgets::nonnative
…
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.