deps: bump Rust core dependencies

This commit is contained in:
Tien Do Nam
2025-07-12 20:54:47 +02:00
parent 0b332bdd61
commit d7f73b9585
3 changed files with 576 additions and 447 deletions
+556 -427
View File
File diff suppressed because it is too large Load Diff
+19 -19
View File
@@ -4,33 +4,33 @@ version = "0.1.0"
edition = "2021"
[dependencies]
anyhow = "1.0.95"
anyhow = "1.0.98"
base64 = "0.22.1"
bytes = "1.9.0"
bytes = "1.9.1"
ed25519-dalek = { version = "2.1.1", features = ["pem", "rand_core"], optional = true }
flate2 = { version = "1.0.35", optional = true }
flate2 = { version = "1.1.2", optional = true }
futures-util = { version = "0.3.31", features = ["sink"] }
http-body-util = { version = "0.1.2", optional = true }
http-body-util = { version = "0.1.3", optional = true }
hyper = { version = "1.6.0", optional = true }
hyper-util = { version = "0.1.10", features = ["server"], optional = true }
pem = { version = "3.0.4", optional = true }
reqwest = { version = "0.12", features = ["json", "rustls-tls-webpki-roots-no-provider", "stream"], optional = true }
rand = "0.8.5"
hyper-util = { version = "0.1.15", features = ["server"], optional = true }
pem = { version = "3.0.5", optional = true }
reqwest = { version = "0.12.22", features = ["json", "rustls-tls-webpki-roots-no-provider", "stream"], optional = true }
rand = "0.9.1"
rsa = { version = "0.9.7", optional = true }
rustls = { version = "0.23.21", default-features = false, features = ["ring", "tls12", "std"], optional = true }
serde = { version = "1.0.217", features = ["derive"] }
serde_json = "1.0.135"
sha2 = { version = "0.10.8", optional = true }
thiserror = "2.0.11"
tokio = { version = "1.43.0", features = ["full"] }
tokio-rustls = { version = "0.26.1", default-features = false, features = ["ring", "tls12"], optional = true }
rustls = { version = "0.23.29", default-features = false, features = ["ring", "tls12", "std"], optional = true }
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
sha2 = { version = "0.10.9", optional = true }
thiserror = "2.0.12"
tokio = { version = "1.46.1", features = ["full"] }
tokio-rustls = { version = "0.26.2", default-features = false, features = ["ring", "tls12"], optional = true }
tokio-stream = "0.1.7"
tokio-tungstenite = { version = "0.26.1", features = ["rustls-tls-webpki-roots"], optional = true }
tokio-tungstenite = { version = "0.27.0", features = ["rustls-tls-webpki-roots"], optional = true }
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.19" }
tungstenite = "0.26.1"
uuid = { version = "1.11.0", features = ["serde", "v4"] }
webrtc = { version = "0.12.0", optional = true }
tungstenite = "0.27.0"
uuid = { version = "1.17.0", features = ["serde", "v4"] }
webrtc = { version = "0.13.0", optional = true }
x509-parser = { version = "0.17.0", features = ["verify"], optional = true }
[features]
+1 -1
View File
@@ -2,7 +2,7 @@ use rand::RngCore;
pub fn generate_nonce() -> Vec<u8> {
let mut nonce = vec![0; 32];
rand::thread_rng().fill_bytes(&mut nonce);
rand::rng().fill_bytes(&mut nonce);
nonce
}