File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
# rust-native-tls
2
2
3
- [ ![ CircleCI] ( https://circleci.com/gh/sfackler/rust-native-tls.svg?style=shield )] ( https://circleci.com/gh/sfackler/rust-native-tls )
4
-
5
3
[ Documentation] ( https://docs.rs/native-tls )
6
4
7
5
An abstraction over platform-specific TLS implementations.
Original file line number Diff line number Diff line change @@ -264,6 +264,7 @@ pub struct TlsConnector {
264
264
danger_accept_invalid_hostnames : bool ,
265
265
danger_accept_invalid_certs : bool ,
266
266
disable_built_in_roots : bool ,
267
+ #[ cfg( feature = "alpn" ) ]
267
268
alpn : Vec < String > ,
268
269
}
269
270
@@ -282,6 +283,7 @@ impl TlsConnector {
282
283
danger_accept_invalid_hostnames : builder. accept_invalid_hostnames ,
283
284
danger_accept_invalid_certs : builder. accept_invalid_certs ,
284
285
disable_built_in_roots : builder. disable_built_in_roots ,
286
+ #[ cfg( feature = "alpn" ) ]
285
287
alpn : builder. alpn . clone ( ) ,
286
288
} )
287
289
}
You can’t perform that action at this time.
0 commit comments