Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused matches dependency crate #414

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cppcoffee
Copy link
Contributor

@cppcoffee cppcoffee commented Oct 9, 2024

The minimum version used by rust edition=2021 is 1.56.0. The matches dependency crate was included in the standard library in rust 1.42.0. So the standard library is already there and can remove the unused dependencies.

Reference: https://docs.rs/matches/0.1.10/matches/

For users who build using only Rust 1.42 and newer, consider using std::matches, which is included in the standard library prelude and thus is automatically in scope.

The rust 2021 use rust version is 1.56.0, `matches` included in the
standard library prelude and thus is automatically in scope.

Signed-off-by: Xiaobo Liu <[email protected]>
@cppcoffee cppcoffee changed the title Remove unused matches=0.1 dependency crate Remove unused matches dependency crate Oct 9, 2024
@eaufavor eaufavor added the dependencies Pull requests that update a dependency file label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants