File tree Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ rust-version = "1.76"
18
18
default = []
19
19
tls = [" rustls" , " rustls-pemfile" , " futures-rustls" ]
20
20
fips = [" rustls/fips" ]
21
- tls-mozilla-roots = [" tls" , " webpki-roots" ]
22
21
sasl = [" sasl-gssapi" , " sasl-digest-md5" ]
23
22
sasl-digest-md5 = [" rsasl/unstable_custom_mechanism" , " md5" , " linkme" , " hex" ]
24
23
sasl-gssapi = [" rsasl/gssapi" ]
@@ -41,7 +40,6 @@ either = "1.9.0"
41
40
uuid = { version = " 1.4.1" , features = [" v4" ] }
42
41
rustls = { version = " 0.23.2" , optional = true }
43
42
rustls-pemfile = { version = " 2" , optional = true }
44
- webpki-roots = { version = " 1.0.1" , optional = true }
45
43
derive-where = " 1.2.7"
46
44
fastrand = " 2.0.2"
47
45
tracing = " 0.1.40"
Original file line number Diff line number Diff line change @@ -107,15 +107,6 @@ impl TlsOptions {
107
107
Self { ca_certs : RootCertStore :: empty ( ) , identity : None , hostname_verification : true }
108
108
}
109
109
110
- /// Trusts root certificates trusted by Mozilla.
111
- ///
112
- /// See [webpki-roots](https://docs.rs/webpki-roots) for more.
113
- #[ cfg( feature = "tls-mozilla-roots" ) ]
114
- pub fn with_mozilla_roots ( mut self ) -> Self {
115
- self . ca_certs . extend ( webpki_roots:: TLS_SERVER_ROOTS . iter ( ) . cloned ( ) ) ;
116
- self
117
- }
118
-
119
110
/// Disables hostname verification in tls handshake.
120
111
///
121
112
/// # Safety
You can’t perform that action at this time.
0 commit comments