From 37f39e001e2f4199877c828fc694f8e3a112f217 Mon Sep 17 00:00:00 2001 From: Wiktor Kwapisiewicz Date: Fri, 27 Jun 2025 22:40:35 +0200 Subject: [PATCH 1/2] Set installed toolchain as default The docs for the action indicate that unless specified the toolchain will not be used by default. Signed-off-by: Wiktor Kwapisiewicz --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5fcdc321..b7c0f74a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,6 +67,7 @@ jobs: uses: actions-rs/toolchain@v1 with: toolchain: ${{ matrix.toolchain }} + default: true - name: Install Rust target run: rustup target add ${{ matrix.target }} - name: Check source @@ -103,6 +104,7 @@ jobs: uses: actions-rs/toolchain@v1 with: toolchain: ${{ matrix.toolchain }} + default: true - name: Install SoftHSM run: | sudo apt-get update -y -qq && From 8b1a132c651aac802aa8b30b38e314c9ef16d649 Mon Sep 17 00:00:00 2001 From: Wiktor Kwapisiewicz Date: Thu, 3 Jul 2025 13:23:13 +0200 Subject: [PATCH 2/2] Bump MSRV to 1.77 Signed-off-by: Wiktor Kwapisiewicz --- .github/workflows/ci.yml | 4 ++-- cryptoki-sys/Cargo.toml | 2 +- cryptoki/Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b7c0f74a..9b3778ac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,7 +60,7 @@ jobs: - riscv64gc-unknown-linux-gnu toolchain: - stable - - "1.66.0" # MSRV + - "1.77" # MSRV steps: - uses: actions/checkout@v4 - name: Setup Rust toolchain @@ -97,7 +97,7 @@ jobs: - x86_64-unknown-linux-gnu toolchain: - stable - - "1.66.0" # MSRV + - "1.77" # MSRV steps: - uses: actions/checkout@v4 - name: Setup Rust toolchain diff --git a/cryptoki-sys/Cargo.toml b/cryptoki-sys/Cargo.toml index bf0b2636..1c7ff23d 100644 --- a/cryptoki-sys/Cargo.toml +++ b/cryptoki-sys/Cargo.toml @@ -10,7 +10,7 @@ categories = ["api-bindings", "external-ffi-bindings", "cryptography", "hardware license = "Apache-2.0" repository = "https://github.com/parallaxsecond/rust-cryptoki" documentation = "https://docs.rs/crate/cryptoki-sys" -rust-version = "1.66.0" +rust-version = "1.77" [build-dependencies] bindgen = { version = "0.70.1", optional = true } diff --git a/cryptoki/Cargo.toml b/cryptoki/Cargo.toml index 1da0b6d5..fcf1d1ca 100644 --- a/cryptoki/Cargo.toml +++ b/cryptoki/Cargo.toml @@ -10,7 +10,7 @@ categories = ["api-bindings", "external-ffi-bindings", "cryptography", "hardware license = "Apache-2.0" repository = "https://github.com/parallaxsecond/rust-cryptoki" documentation = "https://docs.rs/crate/cryptoki" -rust-version = "1.66.0" +rust-version = "1.77" [dependencies] bitflags = "1.3"