diff --git a/viz-smol/src/lib.rs b/viz-smol/src/lib.rs index 98efdab4..6dfa3500 100644 --- a/viz-smol/src/lib.rs +++ b/viz-smol/src/lib.rs @@ -63,7 +63,7 @@ pub use listener::Listener; mod server; pub use server::serve; -// #[cfg(any(feature = "native_tls", feature = "rustls"))] +// #[cfg(any(feature = "native-tls", feature = "rustls"))] // pub use server::tls; pub use viz_core::*; diff --git a/viz/src/lib.rs b/viz/src/lib.rs index b110a694..abd1a6c9 100644 --- a/viz/src/lib.rs +++ b/viz/src/lib.rs @@ -531,7 +531,7 @@ pub use listener::Listener; mod server; pub use server::{serve, Server}; -#[cfg(any(feature = "native_tls", feature = "rustls"))] +#[cfg(any(feature = "native-tls", feature = "rustls"))] pub use server::tls; pub use viz_core::*; diff --git a/viz/src/server.rs b/viz/src/server.rs index bf61ba60..cc9937ba 100644 --- a/viz/src/server.rs +++ b/viz/src/server.rs @@ -17,7 +17,7 @@ use tokio::{ use crate::{future::FutureExt, Listener, Responder, Router}; /// TLS -#[cfg(any(feature = "native_tls", feature = "rustls"))] +#[cfg(any(feature = "native-tls", feature = "rustls"))] pub mod tls; #[cfg(any(feature = "http1", feature = "http2"))]