Cargo Features

[dependencies]
legogroth16 = { version = "0.15.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 ^0.4.1, ark-ff ^0.4.1, ark-groth16 ^0.4.0, ark-poly ^0.4.1, ark-relations ^0.4.0, ark-std ^0.4.0, and dock_crypto_utils

Affects circom::r1cs_reader

parallel default = rayon, std

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

print-trace

Enables print-trace of ark-std ^0.4.0

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 ^0.4.0

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?

Enables ark-groth16 ^0.4.0

ark-snark aggregation

Enables ark-snark ^0.4.0