Cargo Features

dusk-core has no features set by default.

[dependencies]
dusk-core = { version = "0.1.0", features = ["parallel", "abi", "abi-debug", "abi-dlmalloc", "zk", "plonk", "groth16", "std"] }
parallel

Enables parallel of bls12_381-bls =0.4.0

abi abi-debug? abi-dlmalloc?

These are the features available for when one wishes to build contracts and interact with the ABI

Enables abi of piecrust-uplink

abi-debug = abi

Enables debug of piecrust-uplink

abi-dlmalloc = abi

Enables dlmalloc of piecrust-uplink

zk = groth16, plonk

Enables all zero-knowledge proof system libraries supported

plonk zk? = dusk-plonk

Enables plonk of phoenix-circuits

Affects dusk-core::plonk

groth16 zk? = ark-bn254, ark-groth16, ark-relations, ark-serialize

Affects dusk-core::groth16

std

Enables std feature for dusk-plonk

Enables std of dusk-plonk

plonk dependencies

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.

dusk-plonk plonk? std?
ark-groth16 groth16?

Enables ark-groth16 =0.4.0

groth dependencies

ark-bn254 groth16?

Enables ark-bn254 =0.4.0

ark-relations groth16?

Enables ark-relations =0.4.0

ark-serialize groth16?

Enables ark-serialize =0.4.2