I have a simple project using the Solicit example to make a request with HTTPS. My Cargo.toml has:
[package]
name = "test"
version = "0.1.0"
authors = ["einchear"]
[dependencies.openssl]
version = "0.7.14"
features = ["tlsv1_2", "npn"]
[dependencies.solicit]
version = "0.4.4"
features = ["tls"]
When I tried to run cargo build
, the error is:
error: Package `openssl v0.9.12` does not have these features: `npn, tlsv1_2`
Why 0.9.12 instead 0.7.14?