Cargo Features

[dependencies]
circom-prover = { version = "0.1.1", default-features = false, features = ["beta", "rustwitness", "witnesscalc", "arkworks", "rapidsnark"] }
default = arkworks, rustwitness

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

beta = rapidsnark, witnesscalc
rustwitness default = rust-witness

Witness Generation

Affects witness::json_to_hashmap

witnesscalc beta? = witnesscalc-adapter
arkworks default = ark-bls12-381, ark-bn254, ark-crypto-primitives, ark-ec, ark-ff, ark-groth16, ark-poly, ark-relations, ark-serialize, ark-std

Proof Generation

Affects prover::arkworks

rapidsnark beta? = ark-bls12-381, ark-bn254, ark-ec, ark-ff, ark-groth16, ark-poly, ark-relations, ark-serialize, ark-std, rust-rapidsnark

Affects prover::rapidsnark

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.

rust-witness rustwitness
ark-ec arkworks rapidsnark?

Enables ark-ec

arkworks

ark-ff arkworks rapidsnark?
ark-std arkworks rapidsnark?
ark-crypto-primitives arkworks
ark-relations arkworks rapidsnark?
ark-bls12-381 arkworks rapidsnark?
ark-bn254 arkworks rapidsnark?
ark-serialize arkworks rapidsnark?
ark-groth16 arkworks rapidsnark?
ark-poly arkworks rapidsnark?
witnesscalc-adapter witnesscalc?
rust-rapidsnark rapidsnark?

Enables rust-rapidsnark

rapidsnark