Skip to content

Commit

Permalink
chore(viz): cfg rustls and native_tls
Browse files Browse the repository at this point in the history
  • Loading branch information
fundon committed Dec 30, 2023
1 parent fe0135f commit 6d0e234
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions viz/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -532,9 +532,8 @@ mod server;
pub use server::*;

/// TLS
#[cfg(any(feature = "native_tls", feature = "rustls"))]
pub mod tls;
pub use viz_core::*;
pub use viz_router::*;

#[cfg(feature = "handlers")]
#[cfg_attr(docsrs, doc(cfg(feature = "handlers")))]
Expand All @@ -547,3 +546,6 @@ pub use viz_handlers as handlers;
#[cfg_attr(docsrs, doc(cfg(feature = "macros")))]
#[doc(inline)]
pub use viz_macros::handler;

pub use viz_core::*;
pub use viz_router::*;

0 comments on commit 6d0e234

Please sign in to comment.