mirror of https://github.com/fafhrd91/actix-net
Update rustls-native-certs versions in docs
This commit is contained in:
parent
7576a68cd2
commit
7587b32722
|
@ -35,7 +35,7 @@ pub mod reexports {
|
||||||
///
|
///
|
||||||
/// See [`rustls_native_certs::load_native_certs()`] for more info on behavior and errors.
|
/// See [`rustls_native_certs::load_native_certs()`] for more info on behavior and errors.
|
||||||
///
|
///
|
||||||
/// [`rustls_native_certs::load_native_certs()`]: rustls_native_certs_07::load_native_certs()
|
/// [`rustls_native_certs::load_native_certs()`]: rustls_native_certs_08::load_native_certs()
|
||||||
#[cfg(feature = "rustls-0_22-native-roots")]
|
#[cfg(feature = "rustls-0_22-native-roots")]
|
||||||
pub fn native_roots_cert_store() -> io::Result<tokio_rustls::rustls::RootCertStore> {
|
pub fn native_roots_cert_store() -> io::Result<tokio_rustls::rustls::RootCertStore> {
|
||||||
let mut root_certs = tokio_rustls::rustls::RootCertStore::empty();
|
let mut root_certs = tokio_rustls::rustls::RootCertStore::empty();
|
||||||
|
|
|
@ -35,7 +35,7 @@ pub mod reexports {
|
||||||
///
|
///
|
||||||
/// See [`rustls_native_certs::load_native_certs()`] for more info on behavior and errors.
|
/// See [`rustls_native_certs::load_native_certs()`] for more info on behavior and errors.
|
||||||
///
|
///
|
||||||
/// [`rustls_native_certs::load_native_certs()`]: rustls_native_certs_07::load_native_certs()
|
/// [`rustls_native_certs::load_native_certs()`]: rustls_native_certs_08::load_native_certs()
|
||||||
#[cfg(feature = "rustls-0_23-native-roots")]
|
#[cfg(feature = "rustls-0_23-native-roots")]
|
||||||
pub fn native_roots_cert_store() -> io::Result<tokio_rustls::rustls::RootCertStore> {
|
pub fn native_roots_cert_store() -> io::Result<tokio_rustls::rustls::RootCertStore> {
|
||||||
let mut root_certs = tokio_rustls::rustls::RootCertStore::empty();
|
let mut root_certs = tokio_rustls::rustls::RootCertStore::empty();
|
||||||
|
|
Loading…
Reference in New Issue