mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-26 21:41:48 +02:00
chore(deps): Update rand to 0.9 (#2367)
This commit is contained in:
Generated
+5
-5
@@ -6708,7 +6708,7 @@ dependencies = [
|
|||||||
"log",
|
"log",
|
||||||
"maplit",
|
"maplit",
|
||||||
"notify-rust",
|
"notify-rust",
|
||||||
"rand 0.8.5",
|
"rand 0.9.0",
|
||||||
"serde",
|
"serde",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
"serde_repr",
|
"serde_repr",
|
||||||
@@ -6865,9 +6865,9 @@ dependencies = [
|
|||||||
"iota-crypto",
|
"iota-crypto",
|
||||||
"iota_stronghold",
|
"iota_stronghold",
|
||||||
"log",
|
"log",
|
||||||
"rand 0.8.5",
|
"rand 0.9.0",
|
||||||
"rand_chacha 0.3.1",
|
"rand_chacha 0.9.0",
|
||||||
"rand_core 0.6.4",
|
"rand_core 0.9.3",
|
||||||
"rust-argon2 2.1.0",
|
"rust-argon2 2.1.0",
|
||||||
"rusty-fork",
|
"rusty-fork",
|
||||||
"serde",
|
"serde",
|
||||||
@@ -6933,7 +6933,7 @@ dependencies = [
|
|||||||
"futures-util",
|
"futures-util",
|
||||||
"http",
|
"http",
|
||||||
"log",
|
"log",
|
||||||
"rand 0.8.5",
|
"rand 0.9.0",
|
||||||
"serde",
|
"serde",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
"tauri",
|
"tauri",
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ serde_json = { workspace = true }
|
|||||||
tauri = { workspace = true }
|
tauri = { workspace = true }
|
||||||
log = { workspace = true }
|
log = { workspace = true }
|
||||||
thiserror = { workspace = true }
|
thiserror = { workspace = true }
|
||||||
rand = "0.8"
|
rand = "0.9"
|
||||||
time = { version = "0.3", features = ["serde", "parsing", "formatting"] }
|
time = { version = "0.3", features = ["serde", "parsing", "formatting"] }
|
||||||
url = { version = "2", features = ["serde"] }
|
url = { version = "2", features = ["serde"] }
|
||||||
serde_repr = "0.1"
|
serde_repr = "0.1"
|
||||||
|
|||||||
@@ -34,11 +34,11 @@ iota-crypto = "0.23"
|
|||||||
hex = "0.4"
|
hex = "0.4"
|
||||||
zeroize = { version = "1", features = ["zeroize_derive"] }
|
zeroize = { version = "1", features = ["zeroize_derive"] }
|
||||||
rust-argon2 = { version = "2", optional = true }
|
rust-argon2 = { version = "2", optional = true }
|
||||||
rand_chacha = { version = "0.3.1", optional = true }
|
rand_chacha = { version = "0.9", optional = true }
|
||||||
rand_core = { version = "0.6.4", features = ["getrandom"], optional = true }
|
rand_core = { version = "0.9", features = ["os_rng"], optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
rand = "0.8"
|
rand = "0.9"
|
||||||
rusty-fork = "0.3"
|
rusty-fork = "0.3"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ fn create_or_get_salt(salt: &mut [u8], salt_path: &Path) {
|
|||||||
salt.clone_from_slice(&tmp);
|
salt.clone_from_slice(&tmp);
|
||||||
} else {
|
} else {
|
||||||
// Generate new salt
|
// Generate new salt
|
||||||
let mut gen = ChaCha20Rng::from_entropy();
|
let mut gen = ChaCha20Rng::from_os_rng();
|
||||||
gen.fill_bytes(salt);
|
gen.fill_bytes(salt);
|
||||||
std::fs::write(salt_path, salt).expect("Failed to write salt for Stronghold")
|
std::fs::write(salt_path, salt).expect("Failed to write salt for Stronghold")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ tauri = { workspace = true }
|
|||||||
log = { workspace = true }
|
log = { workspace = true }
|
||||||
thiserror = { workspace = true }
|
thiserror = { workspace = true }
|
||||||
http = "1"
|
http = "1"
|
||||||
rand = "0.8"
|
rand = "0.9"
|
||||||
futures-util = "0.3"
|
futures-util = "0.3"
|
||||||
tokio = { version = "1", features = ["net", "sync"] }
|
tokio = { version = "1", features = ["net", "sync"] }
|
||||||
tokio-tungstenite = { version = "0.27" }
|
tokio-tungstenite = { version = "0.27" }
|
||||||
|
|||||||
Reference in New Issue
Block a user