Bump all outdated dependencies

skip-changelog: This isn’t a user-facing change.
This commit is contained in:
Link Mauve 2026-05-17 20:38:20 +02:00
commit 58735d6a70
7 changed files with 24 additions and 18 deletions

View file

@ -15,10 +15,10 @@ edition = "2021"
[dependencies]
base64 = "0.22"
digest = "0.10"
sha1 = "0.10"
sha2 = "0.10"
sha3 = "0.10"
digest = "0.11"
sha1 = "0.11"
sha2 = "0.11"
sha3 = "0.12"
blake2 = "0.10.4"
chrono = { version = "0.4.5", default-features = false, features = ["std"] }
log = { version = "0.4", optional = true }

View file

@ -12,8 +12,11 @@ use crate::hashes::{Algo, Hash};
use crate::ns;
use crate::presence::PresencePayload;
use base64::{engine::general_purpose::STANDARD as Base64, Engine};
use blake2::Blake2bVar;
use digest::{Digest, Update, VariableOutput};
use blake2::{
digest::{Update, VariableOutput},
Blake2bVar,
};
use digest::Digest;
use sha1::Sha1;
use sha2::{Sha256, Sha512};
use sha3::{Sha3_256, Sha3_512};

View file

@ -12,8 +12,11 @@ use crate::hashes::{Algo, Hash};
use crate::ns;
use crate::presence::PresencePayload;
use base64::{engine::general_purpose::STANDARD as Base64, Engine};
use blake2::Blake2bVar;
use digest::{Digest, Update, VariableOutput};
use blake2::{
digest::{Update, VariableOutput},
Blake2bVar,
};
use digest::Digest;
use sha2::{Sha256, Sha512};
use sha3::{Sha3_256, Sha3_512};
use xso::error::Error;

View file

@ -22,10 +22,10 @@ anonymous = ["getrandom"]
[dependencies]
base64 = { version = "0.22", optional = true }
getrandom = { version = ">=0.3.0, <0.5", optional = true }
sha1 = { version = "0.10", optional = true }
sha2 = { version = "0.10", optional = true }
hmac = { version = "0.12", optional = true }
pbkdf2 = { version = "0.12", default-features = false, optional = true }
sha1 = { version = "0.11", optional = true }
sha2 = { version = "0.11", optional = true }
hmac = { version = "0.13", optional = true }
pbkdf2 = { version = "0.13", default-features = false, optional = true }
[package.metadata.docs.rs]
all-features = true

View file

@ -2,7 +2,7 @@ use alloc::string::{String, ToString};
use alloc::vec;
use alloc::vec::Vec;
use core::fmt;
use hmac::{digest::InvalidLength, Hmac, Mac};
use hmac::{digest::InvalidLength, Hmac, KeyInit, Mac};
use pbkdf2::pbkdf2;
use sha1::{Digest, Sha1 as Sha1_hash};
use sha2::Sha256 as Sha256_hash;

View file

@ -20,7 +20,7 @@ tokio-stream = { version = "0.1", features = ["sync"] }
webpki-roots = { version = "1", optional = true }
rustls-native-certs = { version = "0.8", optional = true }
rxml = { version = "0.14.0", features = ["compact_str", "tokio"] }
rand = "0.9"
rand = "0.10"
syntect = { version = "5", optional = true }
pin-project-lite = { version = "0.2" }
thiserror = "2.0"

View file

@ -18,7 +18,7 @@ chrono = "0.4"
futures = "0.3"
tokio = { version = "1", features = ["fs", "signal"] }
log = "0.4"
reqwest = { version = "0.12", features = ["stream"], default-features = false }
reqwest = { version = "0.13", features = ["stream"], default-features = false }
tokio-util = { version = "0.7", features = ["codec"] }
# same repository dependencies
tokio-xmpp = { version = "5.0", path = "../tokio-xmpp", default-features = false }
@ -33,10 +33,10 @@ required-features = ["avatars"]
[features]
default = ["avatars", "aws_lc_rs", "starttls", "rustls-native-certs"]
aws_lc_rs = ["rustls-any-backend", "tokio-xmpp/aws_lc_rs", "reqwest/rustls-tls-no-provider"]
ring = ["rustls-any-backend", "tokio-xmpp/ring", "reqwest/rustls-tls-no-provider"]
aws_lc_rs = ["rustls-any-backend", "tokio-xmpp/aws_lc_rs", "reqwest/rustls-no-provider"]
ring = ["rustls-any-backend", "tokio-xmpp/ring", "reqwest/rustls-no-provider"]
native-tls = ["tokio-xmpp/native-tls", "reqwest/native-tls"]
ktls = ["rustls-any-backend", "tokio-xmpp/ktls", "reqwest/rustls-tls"]
ktls = ["rustls-any-backend", "tokio-xmpp/ktls", "reqwest/rustls"]
rustls-any-backend = ["tokio-xmpp/rustls-any-backend"]