Cargo Features

[dependencies]
ark-ec-vrfs = { version = "0.1.0", default-features = false, features = ["std", "full", "getrandom", "secp256r1", "ed25519", "bandersnatch", "ring", "rfc-6979", "parallel", "asm", "test-vectors"] }
default = std

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

std default = getrandom

Enables std of ark-ec, ark-std, and optional w3f-ring-proof

full = bandersnatch, ed25519, ring, secp256r1
getrandom std

Enables getrandom of ark-std

secp256r1 full? = ark-secp256r1, rfc-6979

Affects suites::secp256

ed25519 full? = ark-ed25519

Affects suites::ed25519

bandersnatch full? = ark-ed-on-bls12-381-bandersnatch

Affects suites::bandersnatch

ring full? = ring-proof

Enables curve of ark-bls12-381

Affects ark-ec-vrfs::ring, utils::RingProof

rfc-6979 secp256r1? = hmac

Affects common::nonce_rfc_6979

parallel = rayon

Optimizations

Enables parallel of ark-ec, ark-ff, ark-std, and optional w3f-ring-proof

asm

Enables asm of ark-ff and optional w3f-ring-proof

test-vectors

Deterministic ring-proof (unsafe)

Enables test-vectors of optional w3f-ring-proof

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.

rayon parallel?
hmac rfc-6979?
ring-proof ring?

Enables w3f-ring-proof

ark-secp256r1 secp256r1?

Enables ark-secp256r1

Curves

ark-ed25519 ed25519?
ark-ed-on-bls12-381-bandersnatch bandersnatch?
ark-bls12-381 ring?