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:
Jiahao XU 2024-02-01 00:28:34 +10:00 committed by GitHub
parent 9cf7b15df8
commit 6dc2a0a823
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 15 additions and 0 deletions

View file

@ -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",