voprf-vx 1.0.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 = "2024"
rust-version = "1.87"
name = "voprf-vx"
version = "1.0.0"
authors = [
    "VexaHub Developers",
    "Kevin Lewi <lewi.kevin.k@gmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An implementation of a verifiable oblivious pseudorandom function (VOPRF)"
readme = "README.md"
keywords = [
    "oprf",
    "voprf",
    "cryptography",
    "oblivious-prf",
]
categories = [
    "no-std",
    "algorithms",
    "cryptography",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/vexahub/voprf-vx/"

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

[features]
alloc = []
danger = []
default = [
    "ristretto255-ciphersuite",
    "dep:serde",
]
doctest = [
    "dep:p256",
    "dep:sha2",
]
ristretto255 = ["dep:curve25519-dalek"]
ristretto255-ciphersuite = [
    "ristretto255",
    "dep:sha2",
]
serde = [
    "curve25519-dalek?/serde",
    "hybrid-array/serde",
    "dep:serde",
]
std = ["alloc"]

[lib]
name = "voprf_vx"
path = "src/lib.rs"

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

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

[dependencies.digest]
version = "0.11"
features = ["zeroize"]

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

[dependencies.elliptic-curve]
version = "0.14"
features = ["sec1"]

[dependencies.hash2curve]
version = "0.14"

[dependencies.hybrid-array]
version = "0.4"
features = ["zeroize"]

[dependencies.p256]
version = "0.14"
features = [
    "hash2curve",
    "oprf",
]
optional = true
default-features = false

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

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

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

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

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

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

[dev-dependencies.p256]
version = "0.14"
features = [
    "hash2curve",
    "oprf",
]
default-features = false

[dev-dependencies.p384]
version = "0.14"
features = [
    "hash2curve",
    "oprf",
]
default-features = false

[dev-dependencies.p521]
version = "0.14.0-rc.15"
features = [
    "hash2curve",
    "oprf",
]
default-features = false

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

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

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

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

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