voprf 0.5.0

An implementation of a verifiable oblivious pseudorandom function (VOPRF)
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.65"
name = "voprf"
version = "0.5.0"
authors = ["Kevin Lewi <lewi.kevin.k@gmail.com>"]
description = "An implementation of a verifiable oblivious pseudorandom function (VOPRF)"
readme = "README.md"
keywords = ["oprf"]
categories = [
    "no-std",
    "algorithms",
    "cryptography",
]
license = "MIT"
repository = "https://github.com/facebook/voprf/"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]
targets = []

[dependencies.curve25519-dalek]
version = "4"
features = [
    "rand_core",
    "zeroize",
]
optional = true
default-features = false

[dependencies.derive-where]
version = "1"
features = ["zeroize-on-drop"]

[dependencies.digest]
version = "0.10"

[dependencies.displaydoc]
version = "0.2"
default-features = false

[dependencies.elliptic-curve]
version = "0.13"
features = [
    "hash2curve",
    "sec1",
    "voprf",
]

[dependencies.generic-array]
version = "0.14"

[dependencies.rand_core]
version = "0.6"
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
default-features = false

[dependencies.sha2]
version = "0.10"
optional = true
default-features = false

[dependencies.subtle]
version = "2.3"
default-features = false

[dependencies.zeroize]
version = "1.5"
default-features = false

[dev-dependencies.generic-array]
version = "0.14"
features = ["more_lengths"]

[dev-dependencies.hex]
version = "0.4"

[dev-dependencies.p256]
version = "0.13"
features = [
    "hash2curve",
    "voprf",
]
default-features = false

[dev-dependencies.p384]
version = "0.13"
features = [
    "hash2curve",
    "voprf",
]
default-features = false

[dev-dependencies.p521]
version = "0.13.3"
features = [
    "hash2curve",
    "voprf",
]
default-features = false

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.rand]
version = "0.8"

[dev-dependencies.regex]
version = "1"

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.sha2]
version = "0.10"

[features]
alloc = []
danger = []
default = [
    "ristretto255-ciphersuite",
    "dep:serde",
]
ristretto255 = [
    "dep:curve25519-dalek",
    "generic-array/more_lengths",
]
ristretto255-ciphersuite = [
    "ristretto255",
    "dep:sha2",
]
serde = [
    "generic-array/serde",
    "dep:serde",
]
std = ["alloc"]