Explorar el Código

fix: Hide launch mod when disabled (#2171)

Marc Espin hace 1 año
padre
commit
44471f4918
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      packages/dioxus/src/lib.rs

+ 2 - 0
packages/dioxus/src/lib.rs

@@ -9,6 +9,8 @@ pub use dioxus_core;
 #[cfg_attr(docsrs, doc(cfg(feature = "launch")))]
 mod launch;
 
+#[cfg(feature = "launch")]
+#[cfg_attr(docsrs, doc(cfg(feature = "launch")))]
 pub use launch::launch;
 
 #[cfg(feature = "hooks")]