Cargo Features

[dependencies]
rln = { version = "0.5.1", default-features = false, features = ["parallel", "wasm", "fullmerkletree", "arkzkey", "pmtree-ft"] }
default fullmerkletree? = parallel, pmtree-ft

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

Enables sys-default of wasmer =2.3.0

WASM

parallel default

Enables ark-groth16 =0.4.0, parallel of ark-std =0.4.0 and zerokit_utils and parallel of ark-ec =0.4.1 and ark-ff =0.4.1

ark-ec:

ZKP Generation

wasm

Enables js and std of wasmer =2.3.0

fullmerkletree = default
arkzkey = ark-zkey
pmtree-ft default

Note: pmtree feature is still experimental

Enables pmtree-ft of zerokit_utils

Affects rln::pm_tree_adapter

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-zkey arkzkey?