Cargo Features
[dependencies]
dusk-schnorr = { version = "0.18.0", default-features = false, features = ["std", "alloc", "rkyv-impl", "double", "var_generator"] }
- default = std
-
The
std
feature is set by default wheneverdusk-schnorr
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Enables std of dusk-plonk ^0.19 and rand_core
- alloc std
-
Enables alloc of dusk-bls12_381, dusk-plonk ^0.19, and dusk-poseidon ^0.33
Affects
dusk-schnorr::gadgets
… - rkyv-impl = bytecheck, rkyv
-
Enables rkyv-impl of dusk-jubjub
- double
-
Affects
gadgets::verify_signature_double
,public::PublicKeyDouble
,dusk-schnorr::Proof
,signatures::SignatureDouble
… - var_generator
-
Affects
gadgets::verify_signature_var_gen
,public::PublicKeyVarGen
,secret::SecretKeyVarGen
,signatures::SignatureVarGen
…
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.