aucpace 0.2.0-pre.0

AuCPace protocol implementation
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.85"
name = "aucpace"
version = "0.2.0-pre.0"
authors = ["Sam Leonard <tritoke@protonmail.com>"]
build = false
exclude = [".gitignore"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AuCPace protocol implementation"
homepage = "https://github.com/RustCrypto/PAKEs/tree/master/aucpace"
documentation = "https://docs.rs/aucpace"
readme = "README.md"
keywords = [
    "crypto",
    "pake",
    "authentication",
]
categories = [
    "authentication",
    "cryptography",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/RustCrypto/PAKEs"
resolver = "2"

[features]
alloc = []
default = [
    "getrandom",
    "scrypt",
    "sha2",
]
partial_augmentation = []
serde = [
    "dep:serde",
    "serde-byte-array",
    "curve25519-dalek/serde",
]
strong_aucpace = []
zeroize = ["curve25519-dalek/zeroize"]

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

[[example]]
name = "key_agreement"
path = "examples/key_agreement.rs"
required-features = [
    "default",
    "alloc",
    "serde",
]

[[example]]
name = "key_agreement_no_std"
path = "examples/key_agreement_no_std.rs"
required-features = [
    "default",
    "serde",
]

[[example]]
name = "key_agreement_partial_aug"
path = "examples/key_agreement_partial_aug.rs"
required-features = [
    "default",
    "alloc",
    "serde",
    "partial_augmentation",
]

[[example]]
name = "key_agreement_strong"
path = "examples/key_agreement_strong.rs"
required-features = [
    "default",
    "alloc",
    "serde",
    "strong_aucpace",
]

[[test]]
name = "test_key_agreement"
path = "tests/test_key_agreement.rs"

[[test]]
name = "test_key_agreement_partial_aug"
path = "tests/test_key_agreement_partial_aug.rs"

[[test]]
name = "test_key_agreement_strong"
path = "tests/test_key_agreement_strong.rs"

[[test]]
name = "test_key_agreement_strong_partial_aug"
path = "tests/test_key_agreement_strong_partial_aug.rs"

[dependencies.curve25519-dalek]
version = "5.0.0-pre.5"
features = [
    "digest",
    "rand_core",
]
default-features = false

[dependencies.getrandom]
version = "0.4.0-rc.1"
features = ["sys_rng"]
optional = true

[dependencies.password-hash]
version = "0.6.0-rc.11"
features = [
    "phc",
    "rand_core",
]
default-features = false

[dependencies.rand_core]
version = "0.10.0-rc-6"
default-features = false

[dependencies.scrypt]
version = "0.12.0-rc.9"
features = ["phc"]
optional = true
default-features = false

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

[dependencies.serde-byte-array]
version = "0.1"
optional = true

[dependencies.sha2]
version = "0.11.0-rc.4"
optional = true
default-features = false

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

[dev-dependencies.curve25519-dalek]
version = "5.0.0-pre.5"
features = [
    "digest",
    "rand_core",
]

[dev-dependencies.password-hash]
version = "0.6.0-rc.11"
features = ["rand_core"]

[dev-dependencies.postcard]
version = "1"
features = ["use-std"]

[dev-dependencies.scrypt]
version = "0.12.0-rc.9"
features = ["phc"]

[dev-dependencies.sha2]
version = "0.11.0-rc.4"