From 43106fc6571aa9990b67e44acab9fa3674e16d6d Mon Sep 17 00:00:00 2001 From: pep Date: Tue, 26 May 2026 11:45:31 +0200 Subject: [PATCH] Update dependencies Update xmpp-rs to 559159d4, hmac to 0.13 and sasl to 0.11 Signed-off-by: pep --- Cargo.toml | 8 ++++---- src/web.rs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c74b55a..429b19e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,10 +19,10 @@ tokio = { version = "1", default-features = false, features = [ "rt", "net", "sy pretty_env_logger = "0.5" serde = { version = "1.0", features = [ "derive" ] } serde_json = "1.0" -toml = "0.9" -xmpp = { git = "https://gitlab.com/xmpp-rs/xmpp-rs", rev = "22292c86c", default-features = false, features = [ "serde", "starttls", "rustls-native-certs", "aws_lc_rs" ] } -hmac = "0.12" -sha2 = "0.10" +toml = "1.1" +xmpp = { git = "https://code.bouah.net/pep/xmpp-rs", rev = "559159d4", default-features = false, features = [ "serde", "starttls", "rustls-native-certs", "aws_lc_rs" ] } +hmac = "0.13" +sha2 = "0.11" hex = "0.4" camino = { version = "1.2", features = ["serde1"] } chrono = { version = "0.4", default-features = false } diff --git a/src/web.rs b/src/web.rs index 50fbc0d..83e0de8 100644 --- a/src/web.rs +++ b/src/web.rs @@ -22,7 +22,7 @@ use std::convert::Infallible; use std::io::Read; use bytes::{Buf, Bytes}; -use hmac::{Hmac, Mac}; +use hmac::{Hmac, KeyInit, Mac}; use http_body_util::{BodyExt, Full}; use hyper::{Method, Request, Response, body::Incoming, header}; use log::{debug, error, trace};