native-tls: add Identiy::from_pkcs8_pem (#1655)

Add new optional fn from_pkcs8_pem for easy load client certificate (*.crt and *.key) for feature native-tls.
This commit is contained in:
Andrei Grazhdankov
2022-10-19 17:48:10 +03:00
committed by GitHub
parent 110c3aee33
commit 231b18f835
2 changed files with 46 additions and 3 deletions

View File

@@ -110,7 +110,7 @@ ipnet = "2.3"
## default-tls
hyper-tls = { version = "0.5", optional = true }
native-tls-crate = { version = "0.2.8", optional = true, package = "native-tls" }
native-tls-crate = { version = "0.2.10", optional = true, package = "native-tls" }
tokio-native-tls = { version = "0.3.0", optional = true }
# rustls-tls