Cargo Features

[dependencies]
voprf = { version = "0.5.0", default-features = false, features = ["std", "alloc", "danger", "ristretto255", "ristretto255-ciphersuite", "serde"] }
default = ristretto255-ciphersuite

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

Enables serde

std = alloc
alloc std?

Affects poprf::PoprfServerBatchEvaluateResult, voprf::VoprfServerBatchEvaluateResult

danger

Affects common::derive_key

ristretto255 ristretto255-ciphersuite

Enables curve25519-dalek, more_lengths of generic-array ^0.14

ristretto255-ciphersuite default = ristretto255

Enables sha2

serde

Enables serde, serde of generic-array ^0.14