From aaba1b40a4a54a6dbabc53c709b38fc4cf0b4555 Mon Sep 17 00:00:00 2001 From: Hauser Date: Fri, 18 Sep 2026 22:04:40 +0800 Subject: [PATCH] chore: pin s3s to upstream git revision Use the upstream s3s git repository at 50c94aeb1e5ea9ef8e7393ef6bbc87b72f6891c6 for both s3s and s3s-sigv4. Allow the official s3s git source in cargo-deny so source checks continue to pass. Co-Authored-By: heihutu Co-Authored-By: zhi22915 --- Cargo.lock | 43 ++++++++++++++++++++++++++----------------- Cargo.toml | 4 ++-- deny.toml | 2 +- 3 files changed, 29 insertions(+), 20 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7f28d4ce8..82d57995a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1984,9 +1984,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.4.6" +version = "1.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3eb0f42d6c360dc3f8a821f6bf2fdea7f72bfd36b3076eb0e6d1e9e0752fff4" +checksum = "54413ede23c2daf518f35156dfde027feb2374004d63bd497f983c8db9c0e313" dependencies = [ "find-msvc-tools", "jobserver", @@ -4410,9 +4410,9 @@ dependencies = [ [[package]] name = "find-msvc-tools" -version = "0.1.12" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e0f1c7c3a72c66fd80abe965175f7523475c0489a87d3ff9d6e8c87d87a9d2d" +checksum = "ef25905e51abafe4dcea6c15fec58c57b601cdbd0ee53d22ea1d3016c587d39b" [[package]] name = "findshlibs" @@ -11258,9 +11258,8 @@ checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f" [[package]] name = "s3s" -version = "0.16.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87d22507a8ebd0ea64972c76dfedbc477418dc70afd98bfce928263894067d2f" +version = "0.16.0" +source = "git+https://github.com/s3s-project/s3s.git?rev=50c94aeb1e5ea9ef8e7393ef6bbc87b72f6891c6#50c94aeb1e5ea9ef8e7393ef6bbc87b72f6891c6" dependencies = [ "arc-swap", "arrayvec", @@ -11278,7 +11277,6 @@ dependencies = [ "http 1.5.0", "http-body 1.1.0", "http-body-util", - "httparse", "hyper", "itoa", "jiff", @@ -11291,6 +11289,7 @@ dependencies = [ "pin-project-lite", "quick-xml", "regex", + "s3s-multipart", "s3s-rfc2047", "s3s-sigv2", "s3s-sigv4", @@ -11315,11 +11314,23 @@ dependencies = [ "zeroize", ] +[[package]] +name = "s3s-multipart" +version = "0.17.0-alpha.1" +source = "git+https://github.com/s3s-project/s3s.git?rev=50c94aeb1e5ea9ef8e7393ef6bbc87b72f6891c6#50c94aeb1e5ea9ef8e7393ef6bbc87b72f6891c6" +dependencies = [ + "arrayvec", + "bytes", + "futures-core", + "httparse", + "memchr", + "thiserror 2.0.20", +] + [[package]] name = "s3s-rfc2047" -version = "0.16.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9d3e6b36be7cca3da377b4cabcd668ffe5b16c3b73a83f7a8f7b63ff6a178ee" +version = "0.16.0" +source = "git+https://github.com/s3s-project/s3s.git?rev=50c94aeb1e5ea9ef8e7393ef6bbc87b72f6891c6#50c94aeb1e5ea9ef8e7393ef6bbc87b72f6891c6" dependencies = [ "base64-simd", "thiserror 2.0.20", @@ -11327,9 +11338,8 @@ dependencies = [ [[package]] name = "s3s-sigv2" -version = "0.16.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d96880b5ad8d639c9224155126741708aeb62ad3682e0476d2fd14290af808ef" +version = "0.16.0" +source = "git+https://github.com/s3s-project/s3s.git?rev=50c94aeb1e5ea9ef8e7393ef6bbc87b72f6891c6#50c94aeb1e5ea9ef8e7393ef6bbc87b72f6891c6" dependencies = [ "base64-simd", "hmac 0.13.0", @@ -11341,9 +11351,8 @@ dependencies = [ [[package]] name = "s3s-sigv4" -version = "0.16.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fed605cbaaa1cf4d82e8ee15098fb3e42d49c92bb6215eb1359f63bfc0c6b020" +version = "0.16.0" +source = "git+https://github.com/s3s-project/s3s.git?rev=50c94aeb1e5ea9ef8e7393ef6bbc87b72f6891c6#50c94aeb1e5ea9ef8e7393ef6bbc87b72f6891c6" dependencies = [ "arrayvec", "base64-simd", diff --git a/Cargo.toml b/Cargo.toml index 848a273c2..29353f472 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -313,8 +313,8 @@ rustify = { version = "0.7", default-features = false } rustix = { version = "1.1.5" } rust-embed = { version = "8.12.0" } rustc-hash = { version = "2.1.3" } -s3s = { version = "0.16.1", features = ["minio"] } -s3s-sigv4 = { version = "0.16.1" } +s3s = { git = "https://github.com/s3s-project/s3s.git", rev = "50c94aeb1e5ea9ef8e7393ef6bbc87b72f6891c6", features = ["minio"] } +s3s-sigv4 = { git = "https://github.com/s3s-project/s3s.git", rev = "50c94aeb1e5ea9ef8e7393ef6bbc87b72f6891c6" } serial_test = "4.0.1" shadow-rs = { default-features = false, version = "2.0.0" } siphasher = "1.0.3" diff --git a/deny.toml b/deny.toml index cd645812d..ad657571b 100644 --- a/deny.toml +++ b/deny.toml @@ -39,7 +39,7 @@ allow-git = [ # Official s3s repository. Temporarily pinned to the merged generic REST # SigV4 payload-checksum fix until it is available in a crates.io release. # owner: marshawcoco review: 2026-10 - # "https://github.com/s3s-project/s3s.git", + "https://github.com/s3s-project/s3s.git", # RustFS fork carrying presigned expiry and constant-time authentication fixes. # owner: rustfs-maintainers review: 2026-10 # "https://github.com/rustfs/s3s.git",