From e9be8b1f0d2a4298112dd28b921a79b40b0bafcd Mon Sep 17 00:00:00 2001 From: Jacob Hoffman-Andrews Date: Thu, 7 Dec 2023 12:19:26 -0800 Subject: [PATCH] Document multiple available paths --- src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 14f21ec..af26aad 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -274,6 +274,9 @@ impl<'a> From> for CertificateRevocationListDer<'a> { /// Certificates are identified in PEM context as `CERTIFICATE` and when stored in a /// file usually use a `.pem`, `.cer` or `.crt` extension. For more on PEM files, refer to the /// crate documentation. +/// +/// This type is available as either `rustls_pki_types::CertificateDer` or re-exported as +/// `rustls::pki_types::CertificateDer`. #[derive(Clone, Debug, PartialEq, Eq)] pub struct CertificateDer<'a>(Der<'a>);