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

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.

rkyv rkyv-impl?

Enables rkyv ^0.7

bytecheck rkyv-impl?

Enables bytecheck ^0.6