Cargo Features

[dependencies]
arkworks-gadgets = { version = "0.4.20", default-features = false, features = ["std", "r1cs", "parallel"] }
default = r1cs, std

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

std default

Enables std of ark-std ^0.3.0 and arkworks-utils ^0.4.20

r1cs default

Enables r1cs of arkworks-utils ^0.4.20

Affects anchor_data::constraints, mixer_data::constraints, vanchor_data::constraints, identity::constraints, vanchor::constraints, anchor::constraints

parallel

Enables parallel of ark-crypto-primitives ^0.3.0, ark-ec ^0.3.0, ark-ff ^0.3.0, ark-groth16 ^0.3.0, ark-marlin, ark-poly ^0.3.0, ark-poly-commit ^0.3.0, ark-r1cs-std ^0.3.0, and ark-std ^0.3.0