From bba0cb183b2a81a96813efe269e9165850af7689 Mon Sep 17 00:00:00 2001 From: Christian Meusel Date: Sun, 1 Dec 2024 16:24:12 +0100 Subject: [PATCH 1/5] Pin libc as a sub dependency of clap for MSRV 1.59.0 --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index b7d0af2..66cedfb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -44,6 +44,11 @@ serde = { version = "1.0", features = ["derive"], optional = true } assert_hex = "0.4.1" clap = { version = "3.1.6", features = ["derive"] } envconfig = "0.10.0" +# TODES Remove pinning this subdependency (of clap) when we are bumping our +# MSRV (libc raised its MSRV with a patch release 0.2.167 from 1.19.0 to +# 1.63.0). Trick the resolver into picking a compatible release of libc by +# adding it as a direct dependency meanwhile. +libc = ">=0.2.0, <=0.2.163" # TODO: Remove pinning this subdependency of clap when we are bumping our MSRV. # (There has been an incompatible change with the MSRV of os_str_bytes with # 6.6.0) Until then we are tricking the dependency resolver into using a From 08ed4cc953d2a38b3edd965e5acd05348f39ff2a Mon Sep 17 00:00:00 2001 From: Christian Meusel Date: Sun, 1 Dec 2024 16:57:21 +0100 Subject: [PATCH 2/5] Allow successor to Unicode DFS license --- deny.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/deny.toml b/deny.toml index f28316d..8699a5c 100644 --- a/deny.toml +++ b/deny.toml @@ -81,6 +81,7 @@ allow = [ "BSD-2-Clause", "MIT", "MPL-2.0", + "Unicode-3.0", "Unicode-DFS-2016", ] # The confidence threshold for detecting a license from license text. From a630a290e09730ca1737ff1a9d5b4e13ada84fee Mon Sep 17 00:00:00 2001 From: Christian Meusel Date: Sun, 1 Dec 2024 17:26:35 +0100 Subject: [PATCH 3/5] Add pining sub dependency libc to changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ba3d385..30ff094 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,10 @@ project adheres to [Semantic Versioning](https://semver.org/). ### Added ### Changed ### Fixed + +* Pin subdependeny `libc` to maintain compatibility with MSRV 1.59.0. + [#229](https://github.com/serialport/serialport-rs/pull/229) + ### Removed From 386fcfbba4af5ab37b0135252536c93dc70c8b08 Mon Sep 17 00:00:00 2001 From: Christian Meusel Date: Sun, 1 Dec 2024 17:43:12 +0100 Subject: [PATCH 4/5] Release 4.6.1 --- CHANGELOG.md | 11 ++++++++--- Cargo.toml | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 30ff094..639364f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,13 +9,17 @@ project adheres to [Semantic Versioning](https://semver.org/). ### Added ### Changed +### Fixed +### Removed + + +## [4.6.1] - 2024-12-01 + ### Fixed * Pin subdependeny `libc` to maintain compatibility with MSRV 1.59.0. [#229](https://github.com/serialport/serialport-rs/pull/229) -### Removed - ## [4.6.0] - 2024-10-21 @@ -473,7 +477,8 @@ Unreleased, happened due to a user error using `cargo-release`. * Initial release. -[Unreleased]: https://github.com/serialport/serialport-rs/compare/v4.6.0...HEAD +[Unreleased]: https://github.com/serialport/serialport-rs/compare/v4.6.1...HEAD +[4.6.1]: https://github.com/serialport/serialport-rs/compare/v4.6.0...v4.6.1 [4.6.0]: https://github.com/serialport/serialport-rs/compare/v4.5.1...v4.6.0 [4.5.1]: https://github.com/serialport/serialport-rs/compare/v4.5.0...v4.5.1 [4.5.0]: https://github.com/serialport/serialport-rs/compare/v4.4.0...v4.5.0 diff --git a/Cargo.toml b/Cargo.toml index 66cedfb..a41d7b6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "serialport" -version = "4.6.1-alpha.0" +version = "4.6.1" authors = [ "Bryant Mairs ", "Jesse Braham ", From 0cbf528a8e3dab8d7157b8dc0587218a8e7d674d Mon Sep 17 00:00:00 2001 From: Christian Meusel Date: Sun, 1 Dec 2024 17:43:52 +0100 Subject: [PATCH 5/5] Bump version after release --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index a41d7b6..9ab079e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "serialport" -version = "4.6.1" +version = "4.6.2-alpha.0" authors = [ "Bryant Mairs ", "Jesse Braham ",