Cargo Features

[dependencies]
proof_system = { version = "0.28.0", default-features = false, features = ["std", "print-trace", "parallel", "wasmer-js", "wasmer-sys"] }
default = parallel

The parallel feature is set by default whenever proof_system is added without default-features = false somewhere in the dependency tree.

std parallel

Enables std of ark-ec, ark-ff, ark-groth16, ark-r1cs-std, ark-relations, ark-serialize, ark-std, bulletproofs_plus_plus, coconut-crypto, dock_crypto_utils, kvac, legogroth16, dock_merlin, saver, schnorr_pok, serde, short_group_sig, and smc_range_proof

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

print-trace

Enables print-trace of ark-std, bbs_plus, dock_crypto_utils, schnorr_pok, and vb_accumulator

parallel default = rayon, std

Enables parallel of ark-ec, ark-ff, ark-groth16, ark-r1cs-std, ark-std, bbs_plus, bulletproofs_plus_plus, coconut-crypto, dock_crypto_utils, kvac, legogroth16, saver, schnorr_pok, short_group_sig, smc_range_proof, and vb_accumulator

wasmer-js

Enables wasmer-js of legogroth16

wasmer-sys

Enables wasmer-sys of legogroth16

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