Cargo: 所有可能的版本都与以前选择的版本冲突...

创建于 2017-12-05  ·  3评论  ·  资料来源: rust-lang/cargo

根据https://github.com/shepmaster/sxd-document/pull/53#issuecomment -349184896 我报告了一个问题,更新板条箱导致

   Updating registry `https://github.com/rust-lang/crates.io-index`
error: failed to select a version for `sxd-document` (required by `sxd-xpath`):
all possible versions conflict with previously selected versions of `sxd-document`
  version 0.2.5 in use by sxd-document v0.2.5
  possible versions to select: 0.2.4

Cargo.lock 和 Cargo.toml

这个问题已经解决,报告它,以防它需要在货物中修复。

最有用的评论

当我使用提供的Cargo.tomlCargo.lock文件时,运行cargo update -p sxd-document似乎确实解决了这个问题。

所有3条评论

当我使用提供的Cargo.tomlCargo.lock文件时,运行cargo update -p sxd-document似乎确实解决了这个问题。

我认为这可能是对https://github.com/rust-lang/cargo/issues/4127的欺骗

此页面是否有帮助?
0 / 5 - 0 等级