acid/firmware/password-hash/Cargo.toml
2026-01-22 22:57:43 +01:00

28 lines
820 B
TOML

[package]
name = "password-hash"
version = "0.1.0"
edition = "2024"
[lib]
name = "password_hash"
path = "src/lib.rs"
[[bin]]
name = "password_hash"
path = "src/bin.rs"
required-features = ["cmd"]
[features]
default = ["cmd"]
std = []
cmd = ["std", "dep:scrypt", "dep:itertools", "dep:spectre-api-sys", "dep:byteorder"]
[dependencies]
argon2 = { version = "0.5.3", default-features = false, features = ["alloc"] }
itertools = { version = "0.14.0", optional = true }
scrypt = { version = "0.11.0", default-features = false, optional = true }
spectre-api-sys = { git = "https://github.com/Limeth/spectre-api-sys", optional = true }
byteorder = { version = "1.5.0", optional = true }
# TODO: Why is this unable to provide the symbols for spectre-api-sys?
# libsodium-sys-stable = { version = "1.23.2", optional = true }