Remove deprecated type aliases

This commit is contained in:
Dirkjan Ochtman 2023-03-29 10:33:08 +02:00
parent 171a3431f7
commit 8a553cdc94
2 changed files with 0 additions and 30 deletions

View File

@ -507,28 +507,3 @@ pub mod quic;
/// This is the rustls manual.
pub mod manual;
/** Type renames. */
#[allow(clippy::upper_case_acronyms)]
#[doc(hidden)]
#[deprecated(since = "0.20.0", note = "Use ResolvesServerCertUsingSni")]
pub type ResolvesServerCertUsingSNI = server::ResolvesServerCertUsingSni;
#[allow(clippy::upper_case_acronyms)]
#[cfg(feature = "dangerous_configuration")]
#[doc(hidden)]
#[deprecated(since = "0.20.0", note = "Use client::WebPkiVerifier")]
pub type WebPKIVerifier = client::WebPkiVerifier;
#[allow(clippy::upper_case_acronyms)]
#[doc(hidden)]
#[deprecated(since = "0.20.0", note = "Use Error")]
pub type TLSError = Error;
#[doc(hidden)]
#[deprecated(since = "0.20.0", note = "Use ClientConnection")]
pub type ClientSession = ClientConnection;
#[doc(hidden)]
#[deprecated(since = "0.20.0", note = "Use ServerConnection")]
pub type ServerSession = ServerConnection;
/* Apologies: would make a trait alias here, but those remain unstable.
pub trait Session = Connection;
*/

View File

@ -210,11 +210,6 @@ impl SigningKey for RsaSigningKey {
}
}
#[allow(clippy::upper_case_acronyms)]
#[doc(hidden)]
#[deprecated(since = "0.20.0", note = "Use RsaSigningKey")]
pub type RSASigningKey = RsaSigningKey;
struct RsaSigner {
key: Arc<RsaKeyPair>,
scheme: SignatureScheme,