[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