File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ crate-type = ["staticlib", "rlib"]
18
18
[features ]
19
19
vendored = [" openssl/vendored" ]
20
20
alpn = [" security-framework/alpn" ]
21
+ have_min_max_version = []
21
22
22
23
[target .'cfg(target_vendor = "apple")' .dependencies ]
23
24
security-framework = " 2.0.0"
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ use std::sync::Once;
18
18
19
19
use crate :: { Protocol , TlsAcceptorBuilder , TlsConnectorBuilder } ;
20
20
21
- #[ cfg( have_min_max_version) ]
21
+ #[ cfg( feature = " have_min_max_version" ) ]
22
22
fn supported_protocols (
23
23
min : Option < Protocol > ,
24
24
max : Option < Protocol > ,
@@ -41,7 +41,7 @@ fn supported_protocols(
41
41
Ok ( ( ) )
42
42
}
43
43
44
- #[ cfg( not( have_min_max_version) ) ]
44
+ #[ cfg( not( feature = " have_min_max_version" ) ) ]
45
45
fn supported_protocols (
46
46
min : Option < Protocol > ,
47
47
max : Option < Protocol > ,
You can’t perform that action at this time.
0 commit comments