Cargo Features

[dependencies]
dusk-plonk = { version = "0.19.2", default-features = false, features = ["std", "alloc", "debug", "rkyv-impl", "zeroize"] }
default = std

The std feature is set by default whenever dusk-plonk is added without default-features = false somewhere in the dependency tree.

std default = alloc, rayon

Enables dusk-bls12_381, dusk-jubjub, hashbrown ^0.9, and itertools ^0.9, std of miniz_oxide, msgpacker, 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.

msgpacker alloc? std
miniz_oxide alloc? std
rayon std
sha2 alloc?
rkyv rkyv-impl?

Enables rkyv

Dusk related deps for WASMI serde

bytecheck rkyv-impl?

Enables bytecheck ^0.6

backtrace debug?
dusk-cdf debug?
zeroize implicit feature