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 wheneverphoenix-circuits
is added without
somewhere in the dependency tree.default-features = false - 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