Cargo Features

[dependencies]
phoenix-circuits = { version = "0.5.0", default-features = false, features = ["plonk", "rkyv-impl"] }
default = plonk

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

plonk default = dusk-plonk

Enables zk of dusk-poseidon, jubjub-elgamal, jubjub-schnorr, and poseidon-merkle

rkyv-impl = bytecheck, rkyv

Enables rkyv-impl of dusk-bls12_381, dusk-jubjub, jubjub-schnorr, and phoenix-core

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.

rkyv rkyv-impl?

Enables rkyv ^0.7

bytecheck rkyv-impl?

Enables bytecheck ^0.6

dusk-plonk plonk