安装 RedisJson 出现问题 feature `edi

2022-01-15  本文已影响0人  孙庚辛
~/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"]
上一篇 下一篇

猜你喜欢

热点阅读