Cargo Features

[dependencies]
legogroth16 = { version = "0.12.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

print-trace

Enables print-trace of ark-std

circom default = fnv, num-bigint, wasmer

Affects legogroth16::circom

aggregation default = ark-groth16, ark-snark

Affects legogroth16::aggregation

wasmer-js

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.

Dependencies

ark-r1cs-std implicit feature

Enables ark-r1cs-std

ark-r1cs-std:

A standard library for constraint system gadgets

tracing implicit feature

Enables tracing

tracing:

Application-level tracing for Rust

derivative implicit feature

Enables derivative

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