mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-20 20:48:43 +00:00
Fix: Load system-wide native cert on rustls (#1589)
* Fix: Load system-wide native cert on rustls Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * Update `Cargo.lock` Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> --------- Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
9cf7b15df8
commit
6dc2a0a823
2 changed files with 15 additions and 0 deletions
13
Cargo.lock
generated
13
Cargo.lock
generated
|
@ -3172,6 +3172,7 @@ dependencies = [
|
|||
"pin-project-lite",
|
||||
"quinn",
|
||||
"rustls",
|
||||
"rustls-native-certs",
|
||||
"rustls-pemfile",
|
||||
"serde",
|
||||
"serde_json",
|
||||
|
@ -3276,6 +3277,18 @@ dependencies = [
|
|||
"sct",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "rustls-native-certs"
|
||||
version = "0.6.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00"
|
||||
dependencies = [
|
||||
"openssl-probe",
|
||||
"rustls-pemfile",
|
||||
"schannel",
|
||||
"security-framework",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "rustls-pemfile"
|
||||
version = "1.0.4"
|
||||
|
|
|
@ -66,6 +66,8 @@ rustls = [
|
|||
"__tls",
|
||||
|
||||
"reqwest/rustls-tls",
|
||||
"reqwest/rustls-tls-webpki-roots",
|
||||
"reqwest/rustls-tls-native-roots",
|
||||
|
||||
# Enable the following features only if hickory-resolver is enabled.
|
||||
"hickory-resolver?/dns-over-rustls",
|
||||
|
|
Loading…
Add table
Reference in a new issue