From dd10309ae99311af10dd519257bed5fdf2b51425 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 24 Jul 2022 16:23:56 +0200 Subject: refactor: hide castable factory from docs --- src/lib.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/lib.rs b/src/lib.rs index cb0dd5a..4e56ae0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -11,12 +11,13 @@ pub mod errors; pub mod interfaces; pub mod ptr; -#[cfg(feature = "factory")] -pub mod castable_factory; - pub use di_container::*; pub use syrette_macros::*; +#[cfg(feature = "factory")] +#[doc(hidden)] +pub mod castable_factory; + #[doc(hidden)] pub mod libs; -- cgit v1.2.3-18-g5258