Skip to content

Commit c56c76a

Browse files
junkuriharadjc
authored andcommitted
fix: add rustls-platform-verifier flag for importing ConfigBuilderExt
1 parent 0a20123 commit c56c76a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/connector/builder.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ use rustls::crypto::CryptoProvider;
66
use rustls::ClientConfig;
77

88
use super::{DefaultServerNameResolver, HttpsConnector, ResolveServerName};
9-
#[cfg(any(feature = "rustls-native-certs", feature = "webpki-roots"))]
9+
#[cfg(any(
10+
feature = "rustls-native-certs",
11+
feature = "webpki-roots",
12+
feature = "rustls-platform-verifier"
13+
))]
1014
use crate::config::ConfigBuilderExt;
1115
use pki_types::ServerName;
1216

0 commit comments

Comments
 (0)