Cargo Features
[dependencies]
dusk-plonk = { version = "0.20.2", default-features = false, features = ["std", "alloc", "debug", "rkyv-impl", "zeroize"] }
- default = std
-
The
std
feature is set by default wheneverdusk-plonk
is added without
somewhere in the dependency tree.default-features = false - std default = alloc, rayon
-
Enables dusk-bls12_381, dusk-jubjub, hashbrown ^0.9, and itertools ^0.9, std of miniz_oxide ^0.7, msgpacker =0.4.3, and rand_core
- alloc std = miniz_oxide, msgpacker, sha2
-
Enables alloc of dusk-bls12_381
Affects
circuit::Circuit.compress
… - debug = backtrace, dusk-cdf
- rkyv-impl = bytecheck, rkyv
-
Enables rkyv-impl of dusk-bls12_381 and dusk-jubjub
Affects
util::check_field
…
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.