Skip to content

Fix assert cmd deprecation and bump several other dependencies#146

Merged
jfrimmel merged 5 commits intomasterfrom
fix-assert_cmd-deprecation
Dec 21, 2025
Merged

Fix assert cmd deprecation and bump several other dependencies#146
jfrimmel merged 5 commits intomasterfrom
fix-assert_cmd-deprecation

Conversation

@jfrimmel
Copy link
Copy Markdown
Owner

@jfrimmel jfrimmel commented Dec 21, 2025

This PR tries to resolve the issue #145 by using the macro for
obtaining the cargo command. This is required in order to not have a
breaking change in future Rust versions.

Unfortunately, the currently used version of assert_cmd does not
provide the suggested fix, so a newer version (at least 2.1) is re-
quired.

Unfortunately this in turn requires a Rust version of at least 1.74, so
this commit also includes a bump of the MSRV. Only the minimal change in
dependencies is done, so that the diff is smaller. With the higher MSRV,
a bump of several dependencies is done as well, so that this repository
is more up-to-date.

Fixes #145.

This commit tries to resolve the issue #145 by using the macro for
obtaining the cargo command. This is required in order to not have a
breaking change in future Rust versions.
Unfortunately, the currently used version of [`assert_cmd`] does not
provide the suggested fix, so a newer version (at least `2.1`) is re-
quired.
Unfortunately this in turn requires a Rust version of at least 1.74, so
this commit also includes a bump of the MSRV. Only the minimal change in
dependencies is done, so that the diff is smaller. With the higher MSRV,
a bump of several dependencies can be done in a future commit.

Fixes of #145.

[`assert_cmd`]: https://docs.rs/assert_cmd/2.0.5/assert_cmd/cargo/fn.cargo_bin.html
Thanks to the newer MSRV, several packages can be upgraded now.
@jfrimmel jfrimmel merged commit c6ab6ea into master Dec 21, 2025
40 checks passed
@jfrimmel jfrimmel deleted the fix-assert_cmd-deprecation branch December 21, 2025 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tests rely on deprecated assert_cmd::cargo_bin which will break on future Cargo versions

1 participant