Cargo Features

[dependencies]
proof_system = { version = "0.31.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 ^0.4.1, ark-ff ^0.4.1, ark-groth16 ^0.4.0, ark-r1cs-std ^0.4.0, ark-relations ^0.4.0, ark-serialize ^0.4.1, ark-std ^0.4.0, 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 ^0.4.0, bbs_plus, dock_crypto_utils, schnorr_pok, and vb_accumulator

parallel default = rayon, std

Enables parallel of ark-ec ^0.4.1, ark-ff ^0.4.1, ark-groth16 ^0.4.0, ark-r1cs-std ^0.4.0, ark-std ^0.4.0, 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