Use platform certificates when target "native-certs" is set
This is useful in Entreprise configurations.
This commit is contained in:
committed by
Martin Algesten
parent
652500f5a8
commit
31ae90e614
@@ -18,6 +18,7 @@ default = ["tls", "cookies"]
|
||||
json = ["serde_json"]
|
||||
charset = ["encoding"]
|
||||
tls = ["rustls", "webpki", "webpki-roots"]
|
||||
native-certs = ["rustls-native-certs"]
|
||||
cookies = ["cookie"]
|
||||
|
||||
[dependencies]
|
||||
@@ -30,5 +31,6 @@ url = "2"
|
||||
rustls = { version = "0.17", optional = true, features = [] }
|
||||
webpki = { version = "0.21", optional = true }
|
||||
webpki-roots = { version = "0.19", optional = true }
|
||||
rustls-native-certs = { version = "0.3", optional = true }
|
||||
serde_json = { version = "1", optional = true }
|
||||
encoding = { version = "0.2", optional = true }
|
||||
|
||||
Reference in New Issue
Block a user