Cargo Features

legogroth16 = { version = "0.13.0", default-features = false, features = ["std", "parallel", "print-trace", "circom", "aggregation", "wasmer-js", "wasmer-sys", "ark-r1cs-std", "tracing", "derivative"] }
default = aggregation, circom, parallel

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

std parallel = wasmer-sys

Enables std of ark-ec, ark-ff, ark-groth16, ark-poly, ark-relations, ark-std, and dock_crypto_utils

Affects circom::r1cs_reader

parallel default = rayon, std

Enables parallel of ark-ec, ark-ff, ark-groth16, ark-poly, ark-std, and dock_crypto_utils


Enables print-trace of ark-std

circom default = fnv, num-bigint, wasmer

Affects legogroth16::circom

aggregation default = ark-groth16, ark-snark

Affects legogroth16::aggregation


Enables js-default of wasmer ^3.3.0

wasmer-sys std?

Enables sys-default of wasmer ^3.3.0

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.


ark-r1cs-std implicit feature

Enables ark-r1cs-std


A standard library for constraint system gadgets

tracing implicit feature

Enables tracing


Application-level tracing for Rust

derivative implicit feature

Enables derivative


A set of alternative derive attributes for Rust

rayon parallel
wasmer circom wasmer-js? wasmer-sys?

Enables wasmer ^3.3.0

fnv circom
num-bigint circom
ark-groth16 aggregation parallel std?
ark-snark aggregation