Cargo Features

[dependencies]
ark-groth16 = { version = "0.5.0", default-features = false, features = ["std", "parallel", "r1cs", "print-trace"] }
default = parallel

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

std parallel

Enables std of ark-crypto-primitives, ark-ec, ark-ff, ark-poly, ark-relations, and ark-std

parallel default = rayon, std

Enables parallel of ark-crypto-primitives, ark-ec, ark-ff, ark-poly, and ark-std

r1cs = ark-r1cs-std, derivative, tracing

Enables r1cs of ark-crypto-primitives

Affects ark-groth16::constraints

print-trace

Enables print-trace of ark-std

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.

Dependencies

ark-r1cs-std r1cs?
tracing r1cs?
derivative r1cs?
rayon parallel