extern crate self as lurq;
pub use lurq_macros::DevtoolsInspectable;
#[cfg(feature = "wgpu")]
pub use wgpu;
#[doc(hidden)]
pub mod __private {
#[cfg(feature = "devtools")]
pub use inventory;
}
#[cfg(feature = "devtools")]
#[macro_export]
macro_rules! register_inspectable {
($($ty:ty),+ $(,)?) => {
$(
$crate::__private::inventory::submit! {
$crate::app::component::RegisteredInspector {
type_id: || ::std::any::TypeId::of::<$ty>(),
inspect: |value, buffer| {
if let ::std::option::Option::Some(value) = value.downcast_ref::<$ty>() {
$crate::app::component::DevtoolsInspectable::write_info(value, buffer);
}
},
}
}
)+
};
}
#[cfg(not(feature = "devtools"))]
#[macro_export]
macro_rules! register_inspectable {
($($ty:ty),+ $(,)?) => {};
}
#[cfg(feature = "persistent_storage")]
pub use lurq_macros::PersistentValue;
#[cfg(feature = "query")]
pub use lurq_macros::query;
pub mod animation;
pub mod app;
#[cfg(feature = "canvas")]
pub mod canvas;
#[cfg(feature = "clipboard")]
pub mod clipboard;
pub mod code;
pub mod components;
pub mod core;
pub mod eyedropper;
pub mod files;
#[cfg(feature = "raster")]
pub mod images;
pub mod layout;
#[cfg(feature = "markdown")]
pub mod markdown;
pub mod node;
#[cfg(feature = "persistent_storage")]
pub mod persistent_storage;
#[cfg(feature = "query")]
pub mod query;
#[cfg(feature = "render")]
pub(crate) mod render;
pub mod responsive;
#[cfg(test)]
mod size_budget;
#[cfg(feature = "canvas")]
pub mod svg;
pub mod ui;
pub mod time {
#[cfg(not(target_arch = "wasm32"))]
pub use std::time::{Duration, Instant, SystemTime, UNIX_EPOCH};
#[cfg(target_arch = "wasm32")]
pub use web_time::{Duration, Instant, SystemTime, UNIX_EPOCH};
}
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
#[cfg(feature = "mcp")]
pub mod mcp;
#[cfg(feature = "media")]
pub mod media;
pub mod resources;
#[cfg(feature = "router")]
pub mod router;