This is an automated email from the ASF dual-hosted git repository. tison pushed a commit to branch reqsign-018 in repository https://gitbox.apache.org/repos/asf/opendal.git
commit 9e6e856de35c151faee2259b01b47701f91ed715 Author: tison <[email protected]> AuthorDate: Sat Jan 10 13:11:50 2026 +0800 chore: using reqsign 0.18 Signed-off-by: tison <[email protected]> --- core/Cargo.lock | 105 ++++++++++++++++++++++++++++++++++------ core/Cargo.toml | 2 +- core/services/azblob/Cargo.toml | 5 +- core/services/azdls/Cargo.toml | 5 +- core/services/azfile/Cargo.toml | 5 +- core/services/cos/Cargo.toml | 5 +- core/services/gcs/Cargo.toml | 5 +- core/services/obs/Cargo.toml | 5 +- core/services/oss/Cargo.toml | 5 +- 9 files changed, 98 insertions(+), 44 deletions(-) diff --git a/core/Cargo.lock b/core/Cargo.lock index 27894c616..1c6447def 100644 --- a/core/Cargo.lock +++ b/core/Cargo.lock @@ -8251,31 +8251,33 @@ dependencies = [ [[package]] name = "reqsign" -version = "0.16.5" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43451dbf3590a7590684c25fb8d12ecdcc90ed3ac123433e500447c7d77ed701" +checksum = "ea386ba750000b6e59f760a08bdcca9461809b95e6f8f209ce5724056802824f" +dependencies = [ + "reqsign-aliyun-oss", + "reqsign-azure-storage", + "reqsign-core", + "reqsign-google", + "reqsign-huaweicloud-obs", + "reqsign-tencent-cos", +] + +[[package]] +name = "reqsign-aliyun-oss" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1136faae3624d59a9f647dce9c9f9c86682957e2886db27b68891ad24465cdfb" dependencies = [ "anyhow", "async-trait", - "base64 0.22.1", - "chrono", - "form_urlencoded", - "getrandom 0.2.16", - "hex", - "hmac", - "home", "http 1.4.0", - "jsonwebtoken", "log", - "once_cell", "percent-encoding", - "rand 0.8.5", + "reqsign-core", "reqwest", - "rsa", "serde", "serde_json", - "sha1", - "sha2", ] [[package]] @@ -8300,6 +8302,29 @@ dependencies = [ "sha1", ] +[[package]] +name = "reqsign-azure-storage" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "964ee8bdfcf00efa65d12809b6af6920fdaef70acd502835a680afb7e86c438c" +dependencies = [ + "anyhow", + "async-trait", + "base64 0.22.1", + "bytes", + "form_urlencoded", + "http 1.4.0", + "jsonwebtoken", + "log", + "pem", + "percent-encoding", + "reqsign-core", + "rsa", + "serde", + "serde_json", + "sha1", +] + [[package]] name = "reqsign-core" version = "2.0.1" @@ -8334,6 +8359,26 @@ dependencies = [ "tokio", ] +[[package]] +name = "reqsign-google" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16e1942acf06b8638f16775e92e4ca9cca239519ea6f4e650d5924d1f0dc37d1" +dependencies = [ + "async-trait", + "http 1.4.0", + "jsonwebtoken", + "log", + "percent-encoding", + "rand 0.8.5", + "reqsign-core", + "reqwest", + "rsa", + "serde", + "serde_json", + "sha2", +] + [[package]] name = "reqsign-http-send-reqwest" version = "2.0.1" @@ -8351,6 +8396,36 @@ dependencies = [ "wasm-bindgen-futures", ] +[[package]] +name = "reqsign-huaweicloud-obs" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e47d580de668c5496c7376779ffd7d4dc05ca78480454086b434389f72e5e5f4" +dependencies = [ + "anyhow", + "async-trait", + "http 1.4.0", + "log", + "percent-encoding", + "reqsign-core", +] + +[[package]] +name = "reqsign-tencent-cos" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "792633fe2edf93dca3b0578db4e770c040df5aea96a351f4a99f72f9488a9c36" +dependencies = [ + "anyhow", + "async-trait", + "http 1.4.0", + "log", + "percent-encoding", + "reqsign-core", + "serde", + "serde_json", +] + [[package]] name = "reqwest" version = "0.12.24" diff --git a/core/Cargo.toml b/core/Cargo.toml index 55b3962b9..da5907c4b 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -50,7 +50,7 @@ log = "0.4" mea = "0.6" quick-xml = { version = "0.38", default-features = false } rand = "0.8" -reqsign = { version = "0.16.5", default-features = false } +reqsign = { version = "0.18.1", default-features = false } serde = { version = "1", default-features = false } serde_json = "1" sha2 = "0.10" diff --git a/core/services/azblob/Cargo.toml b/core/services/azblob/Cargo.toml index 87274adf4..14c18fc95 100644 --- a/core/services/azblob/Cargo.toml +++ b/core/services/azblob/Cargo.toml @@ -38,10 +38,7 @@ log = { workspace = true } opendal-core = { path = "../../core", version = "0.55.0", default-features = false } opendal-service-azure-common = { path = "../azure-common", version = "0.55.0" } quick-xml = { workspace = true, features = ["serialize", "overlapped-lists"] } -reqsign = { workspace = true, features = [ - "reqwest_request", - "services-azblob", -] } +reqsign = { workspace = true, features = ["azure"] } serde = { workspace = true, features = ["derive"] } sha2 = { workspace = true } uuid = { workspace = true, features = ["v4", "serde"] } diff --git a/core/services/azdls/Cargo.toml b/core/services/azdls/Cargo.toml index 820594838..d96c5db95 100644 --- a/core/services/azdls/Cargo.toml +++ b/core/services/azdls/Cargo.toml @@ -37,10 +37,7 @@ log = { workspace = true } opendal-core = { path = "../../core", version = "0.55.0", default-features = false } opendal-service-azure-common = { path = "../azure-common", version = "0.55.0" } quick-xml = { workspace = true, features = ["serialize", "overlapped-lists"] } -reqsign = { workspace = true, features = [ - "reqwest_request", - "services-azblob", -] } +reqsign = { workspace = true, features = ["azure"] } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } diff --git a/core/services/azfile/Cargo.toml b/core/services/azfile/Cargo.toml index 4741324dc..d3641759f 100644 --- a/core/services/azfile/Cargo.toml +++ b/core/services/azfile/Cargo.toml @@ -37,10 +37,7 @@ log = { workspace = true } opendal-core = { path = "../../core", version = "0.55.0", default-features = false } opendal-service-azure-common = { path = "../azure-common", version = "0.55.0" } quick-xml = { workspace = true, features = ["serialize", "overlapped-lists"] } -reqsign = { workspace = true, features = [ - "reqwest_request", - "services-azblob", -] } +reqsign = { workspace = true, features = ["azure"] } serde = { workspace = true, features = ["derive"] } [dev-dependencies] diff --git a/core/services/cos/Cargo.toml b/core/services/cos/Cargo.toml index d58d0f71b..47943626a 100644 --- a/core/services/cos/Cargo.toml +++ b/core/services/cos/Cargo.toml @@ -36,10 +36,7 @@ http = { workspace = true } log = { workspace = true } opendal-core = { path = "../../core", version = "0.55.0", default-features = false } quick-xml = { workspace = true, features = ["serialize", "overlapped-lists"] } -reqsign = { workspace = true, features = [ - "services-tencent", - "reqwest_request", -] } +reqsign = { workspace = true, features = ["tencent"] } reqwest = { version = "0.12.24", default-features = false, features = [ "stream", ] } diff --git a/core/services/gcs/Cargo.toml b/core/services/gcs/Cargo.toml index 45117664d..603be0c54 100644 --- a/core/services/gcs/Cargo.toml +++ b/core/services/gcs/Cargo.toml @@ -38,10 +38,7 @@ log = { workspace = true } opendal-core = { path = "../../core", version = "0.55.0", default-features = false } percent-encoding = "2.3" quick-xml = { workspace = true, features = ["serialize"] } -reqsign = { workspace = true, features = [ - "reqwest_request", - "services-google", -] } +reqsign = { workspace = true, features = ["google"] } reqwest = { version = "0.12.24", default-features = false, features = [ "json", "stream", diff --git a/core/services/obs/Cargo.toml b/core/services/obs/Cargo.toml index 3bd2582c0..d8294afee 100644 --- a/core/services/obs/Cargo.toml +++ b/core/services/obs/Cargo.toml @@ -36,10 +36,7 @@ http = { workspace = true } log = { workspace = true } opendal-core = { path = "../../core", version = "0.55.0", default-features = false } quick-xml = { workspace = true, features = ["serialize", "overlapped-lists"] } -reqsign = { workspace = true, features = [ - "services-huaweicloud", - "reqwest_request", -] } +reqsign = { workspace = true, features = ["huaweicloud"] } serde = { workspace = true, features = ["derive"] } [dev-dependencies] diff --git a/core/services/oss/Cargo.toml b/core/services/oss/Cargo.toml index 47eff2941..b1721d12e 100644 --- a/core/services/oss/Cargo.toml +++ b/core/services/oss/Cargo.toml @@ -36,10 +36,7 @@ http = { workspace = true } log = { workspace = true } opendal-core = { path = "../../core", version = "0.55.0", default-features = false } quick-xml = { workspace = true, features = ["serialize", "overlapped-lists"] } -reqsign = { workspace = true, features = [ - "services-aliyun", - "reqwest_request", -] } +reqsign = { workspace = true, features = ["aliyun"] } serde = { workspace = true, features = ["derive"] } [dev-dependencies]
