From 1b355a8717d6355bfe31b519c021ab9ead3cbf60 Mon Sep 17 00:00:00 2001 From: Warren Snipes Date: Thu, 7 May 2026 11:27:46 -0400 Subject: [PATCH 1/6] update to sha 0.11 and hmac 0.13 --- s3/Cargo.toml | 4 ++-- s3/src/post_policy.rs | 1 + s3/src/request/request_trait.rs | 2 +- s3/src/signing.rs | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/s3/Cargo.toml b/s3/Cargo.toml index 800d82eae6..14b8e72841 100644 --- a/s3/Cargo.toml +++ b/s3/Cargo.toml @@ -53,7 +53,7 @@ bytes = { version = "1.2" } cfg-if = "1" futures-util = { version = "0.3", optional = true, default-features = false } hex = "0.4" -hmac = "0.12" +hmac = "0.13" http = "1" log = "0.4" maybe-async = { version = "0.2" } @@ -67,7 +67,7 @@ reqwest = { version = "0.12", optional = true, features = [ serde = "1" serde_derive = "1" serde_json = "1" -sha2 = "0.10" +sha2 = "0.11" surf = { version = "2", optional = true, default-features = false } sysinfo = {version = "0.37.0", optional = true } thiserror = { version = "2", default-features = false } diff --git a/s3/src/post_policy.rs b/s3/src/post_policy.rs index dd3ef0bc50..9ff2bdc930 100644 --- a/s3/src/post_policy.rs +++ b/s3/src/post_policy.rs @@ -32,6 +32,7 @@ use crate::{Bucket, LONG_DATETIME, signing}; use awscreds::Rfc3339OffsetDateTime; use awscreds::error::CredentialsError; +use hmac::KeyInit; use serde::ser; use serde::ser::{Serialize, SerializeMap, SerializeSeq, SerializeTuple, Serializer}; use std::borrow::Cow; diff --git a/s3/src/request/request_trait.rs b/s3/src/request/request_trait.rs index 9493504236..7fbfbedcab 100644 --- a/s3/src/request/request_trait.rs +++ b/s3/src/request/request_trait.rs @@ -1,6 +1,6 @@ use base64::Engine; use base64::engine::general_purpose; -use hmac::Mac; +use hmac::{KeyInit, Mac}; use quick_xml::se::to_string; use std::collections::HashMap; #[cfg(any(feature = "with-tokio", feature = "with-async-std"))] diff --git a/s3/src/signing.rs b/s3/src/signing.rs index a7e6275e76..8812461d6e 100644 --- a/s3/src/signing.rs +++ b/s3/src/signing.rs @@ -32,7 +32,7 @@ use std::collections::HashMap; use std::str; -use hmac::{Hmac, Mac}; +use hmac::{Hmac, KeyInit, Mac}; use http::HeaderMap; use percent_encoding::{AsciiSet, CONTROLS, utf8_percent_encode}; use sha2::{Digest, Sha256}; From 24a01104dc4d9261f8814ff6ba2cadeac814f670 Mon Sep 17 00:00:00 2001 From: Warren Snipes Date: Thu, 7 May 2026 11:33:43 -0400 Subject: [PATCH 2/6] update quick-xml to 0.39 --- s3/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s3/Cargo.toml b/s3/Cargo.toml index 14b8e72841..3828361a02 100644 --- a/s3/Cargo.toml +++ b/s3/Cargo.toml @@ -60,7 +60,7 @@ maybe-async = { version = "0.2" } md5 = "0.8" minidom = { version = "0.16", optional = true } percent-encoding = "2" -quick-xml = { version = "0.38", features = ["serialize"] } +quick-xml = { version = "0.39", features = ["serialize"] } reqwest = { version = "0.12", optional = true, features = [ "stream", ], default-features = false } From b1c9c94a79c990f4ba489cec919cb54bc96b233a Mon Sep 17 00:00:00 2001 From: Warren Snipes Date: Thu, 7 May 2026 11:35:33 -0400 Subject: [PATCH 3/6] update minidom to 0.18 --- s3/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s3/Cargo.toml b/s3/Cargo.toml index 3828361a02..841c4f8c2a 100644 --- a/s3/Cargo.toml +++ b/s3/Cargo.toml @@ -58,7 +58,7 @@ http = "1" log = "0.4" maybe-async = { version = "0.2" } md5 = "0.8" -minidom = { version = "0.16", optional = true } +minidom = { version = "0.18", optional = true } percent-encoding = "2" quick-xml = { version = "0.39", features = ["serialize"] } reqwest = { version = "0.12", optional = true, features = [ From 76b5601daf004ef852036193027136450b047a6d Mon Sep 17 00:00:00 2001 From: Warren Snipes Date: Thu, 7 May 2026 11:36:55 -0400 Subject: [PATCH 4/6] update reqwest to 0.13 --- s3/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/s3/Cargo.toml b/s3/Cargo.toml index 841c4f8c2a..1e20fc9f4f 100644 --- a/s3/Cargo.toml +++ b/s3/Cargo.toml @@ -61,7 +61,7 @@ md5 = "0.8" minidom = { version = "0.18", optional = true } percent-encoding = "2" quick-xml = { version = "0.39", features = ["serialize"] } -reqwest = { version = "0.12", optional = true, features = [ +reqwest = { version = "0.13", optional = true, features = [ "stream", ], default-features = false } serde = "1" @@ -96,7 +96,7 @@ tags = ["minidom"] http-credentials = ["aws-creds/http-credentials"] tokio-native-tls = ["aws-creds/native-tls", "reqwest/native-tls", "with-tokio"] -tokio-rustls-tls = ["aws-creds/rustls-tls", "reqwest/rustls-tls", "with-tokio"] +tokio-rustls-tls = ["aws-creds/rustls-tls", "reqwest/rustls-no-provider", "with-tokio"] async-std-native-tls = [ "aws-creds/native-tls", From b31bfac291ae6d1540ff88c9bb7482af150f00b2 Mon Sep 17 00:00:00 2001 From: Warren Snipes Date: Thu, 7 May 2026 11:37:49 -0400 Subject: [PATCH 5/6] update quick-xml to 0.39 in aws-creds --- aws-creds/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws-creds/Cargo.toml b/aws-creds/Cargo.toml index 01e0654dce..47043f0056 100644 --- a/aws-creds/Cargo.toml +++ b/aws-creds/Cargo.toml @@ -22,7 +22,7 @@ attohttpc = { version = "0.30", default-features = false, features = [ "json", ], optional = true } url = "2" -quick-xml = { version = "0.38", features = ["serialize"] } +quick-xml = { version = "0.39", features = ["serialize"] } serde = { version = "1", features = ["derive"] } time = { version = "^0.3.6", features = ["serde", "serde-well-known"] } log = "0.4" From 1b81656b28e26300d22c320ad6a8e461ad143157 Mon Sep 17 00:00:00 2001 From: Warren Snipes Date: Thu, 7 May 2026 11:42:36 -0400 Subject: [PATCH 6/6] Set MSRV to 1.88.0 per cargo-msrv search --- aws-creds/Cargo.toml | 1 + aws-region/Cargo.toml | 1 + s3/Cargo.toml | 1 + 3 files changed, 3 insertions(+) diff --git a/aws-creds/Cargo.toml b/aws-creds/Cargo.toml index 47043f0056..a823c68499 100644 --- a/aws-creds/Cargo.toml +++ b/aws-creds/Cargo.toml @@ -9,6 +9,7 @@ keywords = ["AWS", "S3", "Wasabi", "Minio", "R2"] license = "MIT" documentation = "https://docs.rs/aws-creds/latest/awscreds/" edition = "2021" +rust-version = "1.88.0" [lib] name = "awscreds" diff --git a/aws-region/Cargo.toml b/aws-region/Cargo.toml index 4d252f9035..85eb1a4cb1 100644 --- a/aws-region/Cargo.toml +++ b/aws-region/Cargo.toml @@ -9,6 +9,7 @@ keywords = ["Amazon", "AWS", "S3", "R2", "Minio"] license = "MIT" documentation = "https://docs.rs/aws-region/latest/awsregion/" edition = "2021" +rust-version = "1.88.0" [lib] name = "awsregion" diff --git a/s3/Cargo.toml b/s3/Cargo.toml index 1e20fc9f4f..6cb62c0d9c 100644 --- a/s3/Cargo.toml +++ b/s3/Cargo.toml @@ -9,6 +9,7 @@ keywords = ["S3", "Wasabi", "Minio", "GCP", "R2"] license = "MIT" documentation = "https://docs.rs/rust-s3/latest/s3/" edition = "2024" +rust-version = "1.88.0" [lib] name = "s3"