由于冲突,没有可用的openssl版本

时间:2018-02-22 10:54:00

标签: openssl cryptography rust rust-cargo

我正在尝试使用openssl:

# Cargo.toml
openssl = "0.10.4"

错误:

error: failed to select a version for `openssl-sys` (required by `openssl`):
all possible versions conflict with previously selected versions of `openssl-sys`
version 0.9.24 in use by openssl-sys v0.9.24
possible versions to select: 0.9.26

好的,我正在尝试0.9.26

# Cargo.toml
openssl = "0.9.26"

error: no matching version `^0.9.26` found for package `openssl` (required by `test1_app`)
location searched: registry `https://github.com/rust-lang/crates.io-index`
versions found: 0.10.4, 0.10.3, 0.10.2, ...

0 个答案:

没有答案