25 lines
616 B
TOML
25 lines
616 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"]
|
|
|
|
[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 }
|