From 17b1a9cfd02e96d8faa3a6fc63db8bd8e2055a50 Mon Sep 17 00:00:00 2001 From: UneBaguette <28904802+UneBaguette@users.noreply.github.com> Date: Tue, 30 Jun 2026 22:03:22 +0200 Subject: [PATCH] chore: bump MSRV to 1.90 and add cargo cache to CI - Updated rust-version to 1.90 in Cargo.toml - Added actions/cache for clippy and test jobs to avoid recompiling dependencies on every run --- .gitea/workflows/ci.yml | 22 +++++++++++++++++++++- CHANGELOG.md | 2 +- Cargo.toml | 2 +- 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 493fb99..07accd4 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -31,6 +31,15 @@ jobs: - uses: dtolnay/rust-toolchain@stable with: components: clippy + - name: Cache cargo + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6 + with: + path: | + ~/.cargo/registry + ~/.cargo/git + target + key: clippy-${{ hashFiles('**/Cargo.lock') }} + restore-keys: clippy- - name: Run cargo clippy run: cargo clippy --all-targets --features argon2,std,curve25519,ecdsa,ed25519,kem -- -D warnings - name: Run cargo doc @@ -58,10 +67,21 @@ jobs: - --features serde toolchain: - stable - - "1.89.0" + - "1.90.0" steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 - uses: dtolnay/rust-toolchain@${{ matrix.toolchain }} + - name: Cache cargo + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6 + with: + path: | + ~/.cargo/registry + ~/.cargo/git + target + key: test-${{ matrix.toolchain }}-${{ matrix.backend_feature }}-${{ matrix.frontend_feature }}-${{ hashFiles('**/Cargo.lock') }} + restore-keys: | + test-${{ matrix.toolchain }}-${{ matrix.backend_feature }}-${{ matrix.frontend_feature }}- + test-${{ matrix.toolchain }}- - name: Run cargo test run: cargo test --no-default-features ${{ matrix.backend_feature }} ${{ matrix.frontend_feature }} - name: Run cargo test with std diff --git a/CHANGELOG.md b/CHANGELOG.md index 4347d4f..a74bc9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,7 +33,7 @@ Forked from [facebook/opaque-ke](https://github.com/facebook/opaque-ke/) at `4.1 * Updated `Hash` trait to remove `BlockSizeUser` bounds incompatible with `digest 0.11` * Updated `GroupEncoding Repr` bound to `hybrid_array::Array` * Fixed `MaskedResponse::serialize` field ordering to match deserialization -* Increased **MSRV** to **1.89** +* Increased **MSRV** to **1.90** * Renamed crate to `opaque-vx` * Removed direct `rfc6979` dependency (handled by `ecdsa` internally) * Removed unstable `rustfmt` configurations for **Rust stable** compatibility diff --git a/Cargo.toml b/Cargo.toml index 6a13d10..4c08789 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ license = "Apache-2.0 OR MIT" name = "opaque-vx" readme = "README.md" repository = "https://github.com/vexahub/opaque-vx" -rust-version = "1.89" +rust-version = "1.90" version = "1.0.0-pre.0" [features]