我在跟踪
this tutorial here
Rocket's official guide
建立一个网络服务器。
每晚
建立。但我得到了以下错误:
error: failed to select a version for the requirement `ring = "^0.11.0"`
candidate versions found which didn't match: 0.16.11, 0.16.10, 0.16.9, ...
location searched: crates.io index
required by package `cookie v0.9.1`
... which is depended on by `rocket v0.3.6`
... which is depended on by `my-project`
很明显,依赖关系有些不匹配,但是
ring
是框架本身所需要的,我不知道如何调试。。。此外,我使用的是最新版本的《货与锈》:
cargo 1.43.0-nightly (... 2020-02-18)
rustc 1.43.0-nightly (... 2020-02-21)