Cargo Features

[dependencies]
uzkge = { version = "0.1.2", default-features = false, features = ["std", "parallel", "debug", "no_vk", "no_srs", "shuffle", "lightweight", "gen", "serialize0", "deserialize0"] }
default = parallel, std

These default features are set whenever uzkge is added without default-features = false somewhere in the dependency tree.

std default

Enables std of ark-bn254-zypher, ark-ec-zypher, ark-ff-zypher, and ark-std-zypher

parallel default gen? = rayon

Enables parallel of ark-ec-zypher, ark-ff-zypher, ark-poly-zypher, and ark-std-zypher

debug

Affects turbo::TurboCS.witness_backtrace

no_vk

Affects gen_params::VERIFIER_COMMON_PARAMS

no_srs

Affects gen_params::SRS

shuffle gen?

Affects indexer::PlonkProof.cm_w_sel_vec, indexer::PlonkProof.q_ecc_poly_eval_zeta, indexer::PlonkProof.w_sel_polys_eval_zeta, indexer::PlonkProverParams.q_ecc_poly, indexer::PlonkProverParams.q_shuffle_generator_polys, indexer::PlonkProverParams.q_shuffle_public_key_polys, indexer::PlonkProverParams.q_ecc_coset_eval, indexer::PlonkProverParams.q_shuffle_generator_coset_evals, indexer::PlonkProverParams.q_shuffle_public_key_coset_evals, indexer::PlonkVerifierParams.cm_q_ecc, indexer::PlonkVerifierParams.cm_shuffle_generator_vec, indexer::PlonkVerifierParams.cm_shuffle_public_key_vec, indexer::PlonkVerifierParams.edwards_a

anemoi lightweight
gen = parallel, shuffle, structopt, tera

Affects gen_params::solidity

Required by the gen-params binary

serialize0

Affects serialization::to_bytes

deserialize0

Affects serialization::ark_deserialize

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.

rayon parallel
structopt gen?
tera gen?