Cargo Features

ark-crypto-primitives = { version = "0.5.0-alpha.0", default-features = false, features = ["std", "print-trace", "parallel", "r1cs", "crh", "sponge", "commitment", "merkle_tree", "encryption", "prf", "snark", "signature"] }
default = std

The std feature is set by default whenever ark-crypto-primitives is added without default-features = false somewhere in the dependency tree.

std default parallel?

Enables std of ark-ec, ark-ff, ark-relations, and ark-std


Enables print-trace of ark-std

parallel = rayon, std

Enables parallel of ark-ec, ark-ff, and ark-std

r1cs = ark-r1cs-std, tracing

Affects blake2s::constraints, injective_map::constraints, commitment::constraints, pedersen::constraints, bowe_hopwood::constraints, injective_map::constraints

crh commitment? merkle_tree? = sponge

Affects ark-crypto-primitives::crh

sponge crh?

Affects ark-crypto-primitives::sponge

commitment = crh

Affects ark-crypto-primitives::commitment

merkle_tree = crh, hashbrown

Affects ark-crypto-primitives::merkle_tree


Affects ark-crypto-primitives::encryption


Affects ark-crypto-primitives::prf


Affects ark-crypto-primitives::snark


Affects ark-crypto-primitives::signature

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 r1cs?
rayon parallel?
tracing r1cs?
hashbrown merkle_tree?