@@ -58,7 +58,7 @@ impl ConnectorBuilder<WantsTlsConfig> {
58
58
///
59
59
/// See [`ConfigBuilderExt::with_platform_verifier()`].
60
60
#[ cfg( all(
61
- any( feature = "ring" , feature = "aws-lc-rs " ) ,
61
+ any( feature = "ring" , feature = "aws_lc_rs " ) ,
62
62
feature = "rustls-platform-verifier"
63
63
) ) ]
64
64
pub fn with_platform_verifier ( self ) -> ConnectorBuilder < WantsSchemes > {
@@ -74,7 +74,7 @@ impl ConnectorBuilder<WantsTlsConfig> {
74
74
///
75
75
/// See [`ConfigBuilderExt::with_native_roots`]
76
76
#[ cfg( all(
77
- any( feature = "ring" , feature = "aws-lc-rs " ) ,
77
+ any( feature = "ring" , feature = "aws_lc_rs " ) ,
78
78
feature = "rustls-native-certs"
79
79
) ) ]
80
80
pub fn with_native_roots ( self ) -> std:: io:: Result < ConnectorBuilder < WantsSchemes > > {
@@ -106,7 +106,7 @@ impl ConnectorBuilder<WantsTlsConfig> {
106
106
/// safe defaults.
107
107
///
108
108
/// See [`ConfigBuilderExt::with_webpki_roots`]
109
- #[ cfg( all( any( feature = "ring" , feature = "aws-lc-rs " ) , feature = "webpki-roots" ) ) ]
109
+ #[ cfg( all( any( feature = "ring" , feature = "aws_lc_rs " ) , feature = "webpki-roots" ) ) ]
110
110
pub fn with_webpki_roots ( self ) -> ConnectorBuilder < WantsSchemes > {
111
111
self . with_tls_config (
112
112
ClientConfig :: builder ( )
@@ -324,7 +324,7 @@ mod tests {
324
324
fn ensure_global_state ( ) {
325
325
#[ cfg( feature = "ring" ) ]
326
326
let _ = rustls:: crypto:: ring:: default_provider ( ) . install_default ( ) ;
327
- #[ cfg( feature = "aws-lc-rs " ) ]
327
+ #[ cfg( feature = "aws_lc_rs " ) ]
328
328
let _ = rustls:: crypto:: aws_lc_rs:: default_provider ( ) . install_default ( ) ;
329
329
}
330
330
0 commit comments