From e61343b84ca31688d48c4a3e7a7a0e92353505a0 Mon Sep 17 00:00:00 2001 From: Justin Smith Date: Wed, 11 Dec 2024 09:56:07 -0500 Subject: [PATCH] Fix MSRV --- .github/workflows/integration.yml | 5 +++++ aws-lc-fips-sys/Cargo.toml | 4 ++++ aws-lc-rs-testing/Cargo.toml | 2 +- links-testing/Cargo.toml | 1 + 4 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 08efed94248..68cb459a3dc 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -203,6 +203,11 @@ jobs: with: toolchain: 1.63.0 # TODO: dynamically identify MSRV + - name: Update dependencies + run: | + cargo +1.63.0 update + cargo +1.63.0 tree + - name: Verify msrv working-directory: ./aws-lc-rs run: cargo +1.63.0 check --features bindgen diff --git a/aws-lc-fips-sys/Cargo.toml b/aws-lc-fips-sys/Cargo.toml index 1d357140a2d..cc90f49d5fb 100644 --- a/aws-lc-fips-sys/Cargo.toml +++ b/aws-lc-fips-sys/Cargo.toml @@ -76,5 +76,9 @@ bindgen = { version = "0.69.5" } libc = "0.2.121" paste = "1.0.11" +[dev-dependencies] +# Pinned dependency to preserve MSRV: 1.60.0 <= rust-version < 1.65.0 +regex = "~1.9.6" + [package.metadata.aws-lc-fips-sys] commit-hash = "ec94d74a19b5a0aa738b436a95bb06ff87fc7ba9" diff --git a/aws-lc-rs-testing/Cargo.toml b/aws-lc-rs-testing/Cargo.toml index bcaa75c725e..4b4abb815c8 100644 --- a/aws-lc-rs-testing/Cargo.toml +++ b/aws-lc-rs-testing/Cargo.toml @@ -3,7 +3,7 @@ name = "aws-lc-rs-testing" authors = ["AWS-LibCrypto"] version = "0.1.0" edition = "2021" -rust-version = "1.60" +rust-version = "1.63" publish = false [features] diff --git a/links-testing/Cargo.toml b/links-testing/Cargo.toml index 5d9af675194..bd65212289b 100644 --- a/links-testing/Cargo.toml +++ b/links-testing/Cargo.toml @@ -2,6 +2,7 @@ name = "links-testing" version = "0.1.0" edition = "2021" +rust-version = "1.63.0" publish = false [features]