pingora icon indicating copy to clipboard operation
pingora copied to clipboard

Remove unused `matches` dependency crate

Open cppcoffee opened this issue 1 year ago • 0 comments

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.

cppcoffee avatar Oct 09 '24 11:10 cppcoffee