Files
dioxus/packages/dioxus-lib/src/lib.rs
T
Marc EspinandJonathan Kelley d75cb59491 feat: Reexport the Warning trait in dioxus-signals (#3321)
* re-export warnings under dioxus::warnings

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2025-01-07 14:07:46 -08:00

62 lines
1.4 KiB
Rust

#![doc = include_str!("../README.md")]
#![doc(html_logo_url = "https://avatars.githubusercontent.com/u/79236386")]
#![doc(html_favicon_url = "https://avatars.githubusercontent.com/u/79236386")]
#[cfg(feature = "hooks")]
pub use dioxus_hooks as hooks;
#[cfg(feature = "signals")]
pub use dioxus_signals as signals;
pub mod events {
#[cfg(feature = "html")]
pub use dioxus_html::prelude::*;
}
#[cfg(feature = "html")]
pub use dioxus_html as html;
#[cfg(feature = "html")]
pub use dioxus_document as document;
#[cfg(feature = "html")]
pub use dioxus_history as history;
#[cfg(feature = "macro")]
pub use dioxus_rsx as rsx;
#[cfg(feature = "macro")]
pub use dioxus_core_macro as core_macro;
#[cfg(feature = "warnings")]
pub use warnings;
pub mod prelude {
#[cfg(feature = "html")]
#[cfg_attr(docsrs, doc(cfg(feature = "html")))]
pub use dioxus_history::{history, History};
#[cfg(feature = "hooks")]
pub use crate::hooks::*;
#[cfg(feature = "signals")]
pub use dioxus_signals::*;
pub use dioxus_core::prelude::*;
#[cfg(feature = "macro")]
#[allow(deprecated)]
pub use dioxus_core_macro::{component, rsx, Props};
#[cfg(feature = "macro")]
pub use dioxus_config_macro::*;
#[cfg(feature = "html")]
pub use dioxus_html as dioxus_elements;
#[cfg(feature = "html")]
pub use dioxus_elements::{global_attributes, prelude::*, svg_attributes};
pub use dioxus_core;
}