acid/firmware/password-hash/Cargo.toml

28 lines
787 B
TOML
Raw Normal View History

2026-01-19 20:13:25 +01:00
[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 = []
2026-01-22 22:57:43 +01:00
cmd = ["std", "dep:scrypt", "dep:itertools", "dep:spectre-api-sys", "dep:byteorder"]
2026-01-19 20:13:25 +01:00
[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 }
2026-01-30 03:10:01 +01:00
spectre-api-sys = { workspace = true, optional = true }
2026-01-22 22:57:43 +01:00
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 }