Hide the ComponentFactory from the docs

It was not meant to be public.

Added a deprecated note even if deprecared on `pub use` don't show warnings
This commit is contained in:
Olivier Goffart 2023-09-19 08:18:06 +02:00 committed by Olivier Goffart
parent 78cb4c07f4
commit f2c3b98a7d

View file

@ -202,6 +202,8 @@ compile_error!(
pub use slint_macros::slint;
pub use i_slint_core::api::*;
#[doc(hidden)]
#[deprecated(note = "Experimental type was made public by mistake")]
pub use i_slint_core::component_factory::ComponentFactory;
#[cfg(not(target_arch = "wasm32"))]
pub use i_slint_core::graphics::{BorrowedOpenGLTextureBuilder, BorrowedOpenGLTextureOrigin};