美文网首页
安装 RedisJson 出现问题 feature `edi

安装 RedisJson 出现问题 feature `edi

作者: 孙庚辛 | 来源:发表于2022-01-15 19:49 被阅读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"]
    

    相关文章

      网友评论

          本文标题:安装 RedisJson 出现问题 feature `edi

          本文链接:https://www.haomeiwen.com/subject/auqxhrtx.html