Cargo Features
[dependencies]
rln = { version = "0.7.0", default-features = false, features = ["parallel", "fullmerkletree", "arkzkey", "stateless", "pmtree-ft", "document-features"] }
- default fullmerkletree? = parallel, pmtree-ft
-
These default features are set whenever
rln
is added without
somewhere in the dependency tree.default-features = false - parallel default
-
Enables ark-groth16, parallel of ark-ec and ark-ff, parallel of ark-std and zerokit_utils
- fullmerkletree = default
- arkzkey
-
Affects
circuit::ARKZKEY_BYTES
,circuit::SerializableProvingKey
,circuit::SerializableConstraintMatrices
,circuit::SerializableMatrix
,circuit::read_arkzkey_from_bytes_uncompressed
… - stateless
-
Affects
ffi::new
,ffi::new_with_params
… - pmtree-ft default
-
Note: pmtree feature is still experimental
Enables pmtree-ft of zerokit_utils
Affects
rln::pm_tree_adapter
…
Features from optional dependencies
- document-features implicit feature
-
Enables document-features =0.2.10
document-features:
Extract documentation for the feature flags from comments in Cargo.toml