Newer
Older
[package]
name = "multi_key_manager"
version.workspace = true
edition.workspace = true
authors.workspace = true
repository.workspace = true
homepage.workspace = true
license.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
default = [ "fs_locks" ]
fs_locks = [ "fs4" ]
[dependencies]
argon2 = { version = "0.4.1", features = [ "rand" ] }
#argon2 = { path = "../../rust-crypto_password-hashes/argon2", features = [ "rand" ] }
# enable OsRng
rand_core = { version = "0.6.4", features = [ "getrandom" ] }
# stop using insecure rand -> use secure rand from ring
ring = { version = "0.16.20", features = ["std"] }
rmp-serde = "1.1.1"
serde = { version = "1.0.152", features = ["derive"] }
# lock the keys file while it is in use
fs4 = { version = "0.6.3", features = ["sync"], optional = true }
#[target.'cfg(unix)'.dependencies]
#libc = "0.2.139"
#[patch.crates-io]
#argon2 = { path = "../rust-crypto_password-hashes/argon2" }