argon2-rust 1.0.0

Pure-Rust port of the reference Argon2 implementation (phc-winner-argon2), with runtime-dispatched SIMD backends
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.89"
name = "argon2-rust"
version = "1.0.0"
build = "build.rs"
exclude = [
    "/.github",
    "/benches",
    "/tests",
    "/fuzz",
    "/vm.sh",
    "/renovate.json",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust port of the reference Argon2 implementation (phc-winner-argon2), with runtime-dispatched SIMD backends"
homepage = "https://github.com/Brooooooklyn/argon2-rust"
documentation = "https://docs.rs/argon2-rust"
readme = "README.md"
keywords = [
    "argon2",
    "password-hash",
    "kdf",
    "simd",
    "crypto",
]
categories = [
    "cryptography",
    "no-std",
]
license = "MIT"
repository = "https://github.com/Brooooooklyn/argon2-rust"

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

[features]
bump-alloc = ["dep:bumpalo"]
default = [
    "std",
    "parallel",
    "zeroize-memory",
]
internal-api = []
parallel = ["std"]
std = []
zeroize-memory = []

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

[dependencies.bumpalo]
version = "3.20.3"
optional = true
default-features = false

[dev-dependencies]

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.codspeed-criterion-compat]
version = "5.0.1"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[profile.bench]
opt-level = 3
lto = "thin"
codegen-units = 1

[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1