This is an automated email from the ASF dual-hosted git repository. tison pushed a commit to branch bump-version in repository https://gitbox.apache.org/repos/asf/opendal-reqsign.git
commit 391bf0ba237961f11b9c58c4bdeac2cfa9689e89 Author: tison <[email protected]> AuthorDate: Wed Oct 1 22:43:41 2025 +0800 chore: bump version and fix up metadata Signed-off-by: tison <[email protected]> --- .github/FUNDING.yml | 18 ----- CHANGELOG.md | 111 ------------------------------- Cargo.toml | 33 ++++----- context/command-execute-tokio/Cargo.toml | 17 +++-- context/file-read-tokio/Cargo.toml | 19 +++--- context/http-send-reqwest/Cargo.toml | 25 ++++--- core/Cargo.toml | 38 +++++------ reqsign/Cargo.toml | 13 ++-- rust-toolchain.toml | 4 +- rustfmt.toml | 2 +- 10 files changed, 81 insertions(+), 199 deletions(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 31991e8..0000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,18 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -github: [Xuanwo] diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 99b9ed0..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,111 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/) -and this project adheres to [Semantic Versioning](https://semver.org/). - -<!-- Release notes generated with: gh release create v_draft --generate-notes --draft --> - -## v1.0.0 - 2025-09-01 - -* chore(deps): Update quick-xml requirement from 0.35 to 0.36 by @dependabot[bot] in https://github.com/Xuanwo/reqsign/pull/456 -* feat(azure): implement client secret auth for azure by @twuebi in https://github.com/Xuanwo/reqsign/pull/457 -* feat: add Sign trait by @flaneur2020 in https://github.com/Xuanwo/reqsign/pull/459 -* chore(deps): Bump google-github-actions/auth from 2.1.3 to 2.1.4 by @dependabot[bot] in https://github.com/Xuanwo/reqsign/pull/461 -* ci: Disable azure client secrets test if not set by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/462 -* refactor!: remove SignableRequest by @flaneur2020 in https://github.com/Xuanwo/reqsign/pull/463 -* fix: readme about signing Parts instead of Request by @flaneur2020 in https://github.com/Xuanwo/reqsign/pull/464 -* AWS S3: Add support for assume role duration seconds by @rahull-p in https://github.com/Xuanwo/reqsign/pull/466 -* refactor: Remove not needed features by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/468 -* docs: correct signer term usage by @jdockerty in https://github.com/Xuanwo/reqsign/pull/469 -* Add support for assume role session tags by @rahull-p in https://github.com/Xuanwo/reqsign/pull/470 -* refactor: Split into workspace by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/471 -* refactor: Split reqsign aws v4 crate by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/472 -* refactor: Split reqsign-aliyun-oss crate by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/473 -* refactor: Split reqsign-azure-storage by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/474 -* chore(deps): Bump google-github-actions/auth from 2.1.4 to 2.1.5 by @dependabot[bot] in https://github.com/Xuanwo/reqsign/pull/475 -* refactor: Split google into seperate crate by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/477 -* refactor: Split huaweicloud obs to a new crate by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/478 -* refactor: Split tencent cos in new crate by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/479 -* refactor: Split oracle into seperate crate by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/480 -* refactor: Remove not used dep by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/481 -* feat: Introduce Signer along with Load/Build/Context by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/482 -* chore: Remove not used hash `sha256` by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/483 -* feat: Add FileRead and HttpSend by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/484 -* chore: Remove tokio from reqsign by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/485 -* refactor: Rename to Key to better represents credentails and token by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/486 -* feat: Add context in Load and Build by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/487 -* feat: Add Env in context by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/488 -* refactor(services/aws-v4): Use context env instead by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/489 -* refactor: Depends on reqsign-core internally by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/490 -* refactor: Split crates into services and context by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/491 -* refactor: Make core's API more clear by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/492 -* chore(deps): Bump google-github-actions/auth from 2.1.5 to 2.1.6 by @dependabot[bot] in https://github.com/Xuanwo/reqsign/pull/493 -* feat: parse endpoint_url from profile and env by @TennyZhuang in https://github.com/Xuanwo/reqsign/pull/497 -* chore(deps): Bump google-github-actions/auth from 2.1.6 to 2.1.7 by @dependabot[bot] in https://github.com/Xuanwo/reqsign/pull/496 -* chore(deps): Update quick-xml requirement from 0.36 to 0.37 by @dependabot[bot] in https://github.com/Xuanwo/reqsign/pull/495 -* refactor: Migrate aws-v4 to new design by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/502 -* Percent encoding query params for aliyun OSS by @photino in https://github.com/Xuanwo/reqsign/pull/507 -* chore: Address CI by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/510 -* fix: Aliyun should not encode query like `start-after` by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/517 -* refactor(aliyun): Migrate to reqsign-core based by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/529 -* refactor: Migrate azure storage to core based by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/530 -* refactor: Use enum for azure credential by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/531 -* refactor: Refactor google to core based by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/532 -* refactor: Migrate huaweicloud obs to core based by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/533 -* refactor: Refactor oracle into core based by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/534 -* refactor: Refactor tencent cos to be core based by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/536 -* refactor: Ensure to use file_read and env from context by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/537 -* refactor: Rename Load to ProvideCredential by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/538 -* refactor: Rename Build to SignRequest by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/539 -* refactor: Rename Key to SigningCredential by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/540 -* docs: Add README and examples for crates by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/541 -* refactor: Ensure all credentials are redacted by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/542 -* chore(deps): Update windows-sys requirement from 0.59.0 to 0.60.2 by @dependabot[bot] in https://github.com/Xuanwo/reqsign/pull/527 -* chore(deps): Update criterion requirement from 0.5 to 0.6 by @dependabot[bot] in https://github.com/Xuanwo/reqsign/pull/521 -* chore(deps): Bump google-github-actions/auth from 2.1.7 to 2.1.10 by @dependabot[bot] in https://github.com/Xuanwo/reqsign/pull/520 -* refactor: Project Layout by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/543 -* refactor: Allow gcs to support both service account and token by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/544 -* refactor: Refactor RawCredential for better names by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/545 -* refactor: Use correct name for filename and fields by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/546 -* docs: Update README with new API by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/547 -* chore: Cleanup code by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/548 -* feat: Add reqsign as wrapper for core by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/549 -* refactor: Introduce provide credentail chain for aws v4 by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/550 -* refactor: Add credential chain for aliyun oss by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/551 -* refactor: Introduce credential chain for azure-storage by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/552 -* refactor: Introduce credential chain for google by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/553 -* refactor: Introduce credential chain for huaweicloud-obs by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/554 -* refactor: Introduce credential chain for oracle and cos by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/555 -* feat: Introduce error handling for reqsign by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/556 -* refactor: Split config credential provider into env,profile,static by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/557 -* refactor: Remove the concept of config by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/559 -* refactor: Polish the API for aws-v4 by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/560 -* refactor(services/aliyun): Remove the concept of config by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/561 -* refactor(services/azure-storage): Remove the concept of azure-storage by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/562 -* chore: Cleanup API design by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/563 -* refactor(google): Remove the config concept by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/564 -* refactor(services): Remove the config concepts by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/565 -* feat: Support coginto, ecs, process, sso provider by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/567 -* feat(services/azure): Add AzureCli credential provider by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/568 -* feat(services/azure-storage): Add Client Certificate support by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/569 -* feat(services/azure-storage): Add Azure Piplelines support by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/570 -* chore: Make clippy happy by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/584 -* feat: Add s3 express create session support by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/583 -* chore: upgrade and tidy dependencies by @tisonkun in https://github.com/Xuanwo/reqsign/pull/588 -* refactor: Refactor s3 tests for different providers by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/586 -* chore(deps): Bump actions/checkout from 4 to 5 by @dependabot[bot] in https://github.com/Xuanwo/reqsign/pull/589 -* refactor: Refactor reqsign error and aws-v4 usage by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/591 -* refactor: Return reqsign error instead of anyhow by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/592 -* feat: Add CommandExecute in Context by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/593 -* feat(services/aws-v4): Add test for s3 express session by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/596 -* feat: Add integration tests for azure storage by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/597 -* feat(services/aws-v4): Add direct configuration support to ECSCredentialProvider by @jackye1995 in https://github.com/Xuanwo/reqsign/pull/598 -* refactor: Add tests for gcs by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/600 -* chore: Set all packages version to 1.0 by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/601 -* refactor: Implement DefaultContext and DefaultSigner by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/602 -* fix: Update repository URL in Cargo.toml by @kingsword09 in https://github.com/Xuanwo/reqsign/pull/603 -* chore(deps): Bump google-github-actions/auth from 2 to 3 by @dependabot[bot] in https://github.com/Xuanwo/reqsign/pull/604 -* chore: Using workspace member instead by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/605 -* ci: Add release workflow by @Xuanwo in https://github.com/Xuanwo/reqsign/pull/606 diff --git a/Cargo.toml b/Cargo.toml index 90c7dbd..2477b27 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,14 +20,26 @@ members = ["core", "context/*", "services/*", "reqsign"] resolver = "2" [workspace.package] -categories = ["command-line-utilities", "web-programming"] -description = "Signing API requests without effort." -documentation = "https://docs.rs/reqsign" -edition = "2021" +edition = "2024" license = "Apache-2.0" repository = "https://github.com/Xuanwo/reqsign" +rust-version = "1.85.0" [workspace.dependencies] +# Workspace dependencies +reqsign-aliyun-oss = { version = "1.1.0", path = "services/aliyun-oss" } +reqsign-aws-v4 = { version = "1.1.0", path = "services/aws-v4" } +reqsign-azure-storage = { version = "1.1.0", path = "services/azure-storage" } +reqsign-command-execute-tokio = { version = "1.1.0", path = "context/command-execute-tokio" } +reqsign-core = { version = "1.1.0", path = "core" } +reqsign-file-read-tokio = { version = "1.1.0", path = "context/file-read-tokio" } +reqsign-google = { version = "1.1.0", path = "services/google" } +reqsign-http-send-reqwest = { version = "1.1.0", path = "context/http-send-reqwest" } +reqsign-huaweicloud-obs = { version = "1.1.0", path = "services/huaweicloud-obs" } +reqsign-oracle = { version = "1.1.0", path = "services/oracle" } +reqsign-tencent-cos = { version = "1.1.0", path = "services/tencent-cos" } + +# Crates.io dependencies anyhow = "1" async-trait = "0.1" base64 = "0.22" @@ -46,18 +58,7 @@ once_cell = "1" percent-encoding = "2" pretty_assertions = "1.3" quick-xml = { version = "0.38.1", features = ["serialize"] } -rand = "0.8.5" -reqsign-aliyun-oss = { version = "1.0.0", path = "services/aliyun-oss" } -reqsign-aws-v4 = { version = "1.0.0", path = "services/aws-v4" } -reqsign-azure-storage = { version = "1.0.0", path = "services/azure-storage" } -reqsign-command-execute-tokio = { version = "1.0.0", path = "context/command-execute-tokio" } -reqsign-core = { version = "1.0.0", path = "core" } -reqsign-file-read-tokio = { version = "1.0.0", path = "context/file-read-tokio" } -reqsign-google = { version = "1.0.0", path = "services/google" } -reqsign-http-send-reqwest = { version = "1.0.0", path = "context/http-send-reqwest" } -reqsign-huaweicloud-obs = { version = "1.0.0", path = "services/huaweicloud-obs" } -reqsign-oracle = { version = "1.0.0", path = "services/oracle" } -reqsign-tencent-cos = { version = "1.0.0", path = "services/tencent-cos" } +rand = { version = "0.9.2" } reqwest = { version = "0.12", default-features = false } rsa = { version = "0.9.2", features = ["pkcs5", "sha2"] } rust-ini = { version = "0.21" } diff --git a/context/command-execute-tokio/Cargo.toml b/context/command-execute-tokio/Cargo.toml index df9937a..c4981dc 100644 --- a/context/command-execute-tokio/Cargo.toml +++ b/context/command-execute-tokio/Cargo.toml @@ -16,18 +16,21 @@ # under the License. [package] +name = "reqsign-command-execute-tokio" +version = "1.1.0" + categories = ["asynchronous"] description = "Tokio-based command execution implementation for reqsign" -edition = "2021" keywords = ["command", "tokio", "reqsign", "async"] -license = "Apache-2.0" -name = "reqsign-command-execute-tokio" -repository = "https://github.com/apache/opendal-reqsign" -version = "1.0.0" + +edition.workspace = true +license.workspace = true +repository.workspace = true +rust-version.workspace = true [dependencies] -async-trait = "0.1" -reqsign-core.workspace = true +async-trait = { workspace = true } +reqsign-core = { workspace = true } tokio = { version = "1", features = ["process", "io-util"] } [dev-dependencies] diff --git a/context/file-read-tokio/Cargo.toml b/context/file-read-tokio/Cargo.toml index 710790d..417e6a0 100644 --- a/context/file-read-tokio/Cargo.toml +++ b/context/file-read-tokio/Cargo.toml @@ -16,19 +16,22 @@ # under the License. [package] -categories.workspace = true -description.workspace = true -documentation.workspace = true +name = "reqsign-file-read-tokio" +version = "1.1.0" + +categories = ["asynchronous"] +description = "Tokio-based file reader implementation for reqsign" +keywords = ["command", "tokio", "reqsign", "async"] + edition.workspace = true license.workspace = true -name = "reqsign-file-read-tokio" repository.workspace = true -version = "1.0.0" +rust-version.workspace = true [dependencies] -anyhow = "1" -async-trait = "0.1" -reqsign-core.workspace = true +anyhow = { workspace = true } +async-trait = { workspace = true } +reqsign-core = { workspace = true } tokio = { version = "1", features = ["fs"] } [dev-dependencies] diff --git a/context/http-send-reqwest/Cargo.toml b/context/http-send-reqwest/Cargo.toml index b960466..9b361b5 100644 --- a/context/http-send-reqwest/Cargo.toml +++ b/context/http-send-reqwest/Cargo.toml @@ -16,22 +16,25 @@ # under the License. [package] -categories.workspace = true -description.workspace = true -documentation.workspace = true +name = "reqsign-http-send-reqwest" +version = "1.1.0" + +categories = ["asynchronous"] +description = "Reqwest-based HTTP client implementation for reqsign." +keywords = ["command", "http", "reqsign", "async"] + edition.workspace = true license.workspace = true -name = "reqsign-http-send-reqwest" repository.workspace = true -version = "1.0.0" +rust-version.workspace = true [dependencies] -anyhow = "1" -async-trait = "0.1" -bytes.workspace = true -http.workspace = true -http-body-util = "0.1.2" -reqsign-core.workspace = true +anyhow = { workspace = true } +async-trait = { workspace = true } +bytes = { workspace = true } +http = { workspace = true } +http-body-util = { version = "0.1.3" } +reqsign-core = { workspace = true } reqwest = { workspace = true, default-features = false } [dev-dependencies] diff --git a/core/Cargo.toml b/core/Cargo.toml index e0f5037..258e441 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -17,31 +17,31 @@ [package] name = "reqsign-core" -version = "1.0.0" +version = "1.1.0" + +categories = ["command-line-utilities", "web-programming"] +description = "Signing API requests without effort." -categories.workspace = true -description.workspace = true -documentation.workspace = true edition.workspace = true license.workspace = true repository.workspace = true - +rust-version.workspace = true [dependencies] -anyhow.workspace = true -async-trait.workspace = true -base64.workspace = true -bytes.workspace = true -form_urlencoded.workspace = true -hex.workspace = true -hmac.workspace = true -http.workspace = true -jiff.workspace = true -log.workspace = true -percent-encoding.workspace = true -sha1.workspace = true -sha2.workspace = true -thiserror.workspace = true +anyhow = { workspace = true } +async-trait = { workspace = true } +base64 = { workspace = true } +bytes = { workspace = true } +form_urlencoded = { workspace = true } +hex = { workspace = true } +hmac = { workspace = true } +http = { workspace = true } +jiff = { workspace = true } +log = { workspace = true } +percent-encoding = { workspace = true } +sha1 = { workspace = true } +sha2 = { workspace = true } +thiserror = { workspace = true } [target.'cfg(target_os = "windows")'.dependencies] windows-sys = { version = "0.61.0", features = [ diff --git a/reqsign/Cargo.toml b/reqsign/Cargo.toml index 41f603b..496b402 100644 --- a/reqsign/Cargo.toml +++ b/reqsign/Cargo.toml @@ -19,20 +19,22 @@ name = "reqsign" version = "0.17.0" -edition.workspace = true -license.workspace = true -repository.workspace = true - categories = ["authentication", "web-programming::http-client"] description = "Signing HTTP requests for AWS, Azure, Google, Huawei, Aliyun, Tencent and Oracle services" +documentation = "https://docs.rs/reqsign" keywords = ["http", "requests", "signing", "aws", "azure"] +edition.workspace = true +license.workspace = true +repository.workspace = true +rust-version.workspace = true + [package.metadata.docs.rs] all-features = true [dependencies] # Core functionality (always included) -reqsign-core.workspace = true +reqsign-core = { workspace = true } # Service implementations (optional) reqsign-aliyun-oss = { workspace = true, optional = true } @@ -73,7 +75,6 @@ anyhow = "1" bytes = "1" env_logger = "0.11" http = "1" -tempfile = "3" tokio = { version = "1", features = ["full"] } [[example]] diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 870d7eb..b1c6fbd 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -16,5 +16,5 @@ # under the License. [toolchain] -channel = "stable" -components = ["rustfmt", "clippy"] +channel = "1.85" +components = ["cargo", "rustfmt", "clippy", "rust-analyzer"] diff --git a/rustfmt.toml b/rustfmt.toml index f4c3b57..383062d 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. -edition = "2021" +edition = "2024" reorder_imports = true # format_code_in_doc_comments = true
