From 0660d7e5afcfacdef57561efbbde81ebdc1104ce Mon Sep 17 00:00:00 2001 From: Schneems Date: Tue, 1 Jul 2025 10:22:55 -0400 Subject: [PATCH 1/2] Update Rust minimum version to 1.86 More details in this PR to bullet_stream https://github.com/heroku-buildpacks/bullet_stream/pull/47. And this comment reporting the issue https://github.com/heroku/buildpacks-deb-packages/issues/110#issuecomment-2997899858. The short version is: This buildpack uses a dependency that accidentally uses a feature stabilized in Rust 1.86, but it didn't correctly update the minimum required Rust version. If it had, when https://github.com/heroku/buildpacks-deb-packages/pull/115 was merged, it would have also triggered the change that's now being made (I'm guessing this field is not linted, but I've not verified). This change corrects the problem by correctly stating the minimum Rust version so all dependencies can compile correctly. --- CHANGELOG.md | 4 ++++ Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 67692a8..2fa6f67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- Minimum supported Rust version incremented to 1.86 to support syntax introduced in [115](https://github.com/heroku/buildpacks-deb-packages/pull/115). ([#NNNN](https://github.com/heroku/buildpacks-deb-packages/pull/NNNN)) + ## [0.1.3] - 2025-04-01 ### Added diff --git a/Cargo.toml b/Cargo.toml index cf11f35..bcc0358 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "buildpacks-deb-packages" edition = "2021" -rust-version = "1.85" +rust-version = "1.86" [build-dependencies] toml_edit = "0.22" From ef184638d54b9c8fed1b311558880e42b5fba727 Mon Sep 17 00:00:00 2001 From: Richard Schneeman Date: Tue, 1 Jul 2025 12:17:57 -0400 Subject: [PATCH 2/2] Update CHANGELOG.md Co-authored-by: Ed Morley <501702+edmorley@users.noreply.github.com> Signed-off-by: Richard Schneeman --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2fa6f67..5c593aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed -- Minimum supported Rust version incremented to 1.86 to support syntax introduced in [115](https://github.com/heroku/buildpacks-deb-packages/pull/115). ([#NNNN](https://github.com/heroku/buildpacks-deb-packages/pull/NNNN)) +- Minimum supported Rust version incremented to 1.86 to support syntax introduced in [115](https://github.com/heroku/buildpacks-deb-packages/pull/115). ([#117](https://github.com/heroku/buildpacks-deb-packages/pull/117)) ## [0.1.3] - 2025-04-01