Cargo Features

[dependencies]
ark-crypto-primitives = { version = "0.4.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

print-trace

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

Affects ark-crypto-primitives::merkle_tree

encryption

Affects ark-crypto-primitives::encryption

prf

Affects ark-crypto-primitives::prf

snark

Affects ark-crypto-primitives::snark

signature

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.

Dependencies

ark-r1cs-std r1cs?
rayon parallel?
tracing r1cs?