~/Packages/RedisJSON-2.0.6$ cargo install --git https://github.com/est31/cargo-udeps Updating git repository `https://github.com/est31/cargo-udeps` error: failed to parse manifest at `/home/sun/.cargo/git/checkouts/cargo-udeps-a54b3ec58ed788c4/f35428e/Cargo.toml` Caused by: feature `edition2021` is required consider adding `cargo-features = ["edition2021"]` to the manifest
解决:
在 Cargo.toml 文件开头加上一行
cargo-features = ["edition2021"]