pub use guinea_router::{devtools, enter, headless, link, manifest, restore, router};
#[cfg(all(feature = "winui", target_os = "windows"))]
pub use guinea_winui as winui;
#[cfg(feature = "ratatui")]
pub use guinea_ratatui as ratatui;
#[cfg(feature = "slint")]
pub use guinea_slint as slint;
#[cfg(feature = "eframe")]
pub use guinea_eframe as eframe;
#[cfg(feature = "iced")]
pub use guinea_iced as iced;
#[cfg(all(
all(feature = "winui", target_os = "windows"),
not(any(
feature = "ratatui",
feature = "slint",
feature = "eframe",
feature = "iced"
))
))]
pub use guinea_winui as backend;
#[cfg(all(
all(feature = "winui", target_os = "windows"),
not(any(
feature = "ratatui",
feature = "slint",
feature = "eframe",
feature = "iced"
))
))]
pub type Backend = guinea_winui::WinUi;
#[cfg(all(
feature = "ratatui",
not(any(
all(feature = "winui", target_os = "windows"),
feature = "slint",
feature = "eframe",
feature = "iced"
))
))]
pub use guinea_ratatui as backend;
#[cfg(all(
feature = "ratatui",
not(any(
all(feature = "winui", target_os = "windows"),
feature = "slint",
feature = "eframe",
feature = "iced"
))
))]
pub type Backend = guinea_ratatui::Tui;
#[cfg(all(
feature = "slint",
not(any(
all(feature = "winui", target_os = "windows"),
feature = "ratatui",
feature = "eframe",
feature = "iced"
))
))]
pub use guinea_slint as backend;
#[cfg(all(
feature = "slint",
not(any(
all(feature = "winui", target_os = "windows"),
feature = "ratatui",
feature = "eframe",
feature = "iced"
))
))]
pub type Backend = guinea_slint::Slint;
#[cfg(all(
feature = "eframe",
not(any(
all(feature = "winui", target_os = "windows"),
feature = "ratatui",
feature = "slint",
feature = "iced"
))
))]
pub use guinea_eframe as backend;
#[cfg(all(
feature = "eframe",
not(any(
all(feature = "winui", target_os = "windows"),
feature = "ratatui",
feature = "slint",
feature = "iced"
))
))]
pub type Backend = guinea_eframe::Egui;
#[cfg(all(
feature = "iced",
not(any(
all(feature = "winui", target_os = "windows"),
feature = "ratatui",
feature = "slint",
feature = "eframe"
))
))]
pub use guinea_iced as backend;
#[cfg(all(
feature = "iced",
not(any(
all(feature = "winui", target_os = "windows"),
feature = "ratatui",
feature = "slint",
feature = "eframe"
))
))]
pub type Backend = guinea_iced::Iced;
#[cfg(any(
all(
all(feature = "winui", target_os = "windows"),
any(
feature = "ratatui",
feature = "slint",
feature = "eframe",
feature = "iced"
)
),
all(
feature = "ratatui",
any(feature = "slint", feature = "eframe", feature = "iced")
),
all(feature = "slint", any(feature = "eframe", feature = "iced")),
all(feature = "eframe", feature = "iced"),
))]
pub enum Backend {}
#[cfg(any(
all(
all(feature = "winui", target_os = "windows"),
any(
feature = "ratatui",
feature = "slint",
feature = "eframe",
feature = "iced"
)
),
all(
feature = "ratatui",
any(feature = "slint", feature = "eframe", feature = "iced")
),
all(feature = "slint", any(feature = "eframe", feature = "iced")),
all(feature = "eframe", feature = "iced"),
))]
pub mod backend {
}
pub use guinea_app::{app, app_meta, feature, lifecycle_tracker, timers};
pub use guinea_codegen as codegen;
pub use guinea_core as core;
pub use guinea_core::uri;
pub use guinea_meta as meta;
pub use guinea_core::actor::event_bus::Event;
pub use guinea_core::actor::event_bus::RpcCall as Request;
pub use guinea_core::mark::Mark;
#[allow(deprecated)]
pub use guinea_core::rpc_bind;
pub use guinea_core::ratelimit;
pub use guinea_macros::{
Event, Mark, Remote, Request, actor, feature, handler, installs, reducer, routes, segment,
};
pub use guinea_macros::test;
#[doc(no_inline)]
pub use guinea_core::__private::anyhow;
pub mod prelude {
pub use guinea_app::app::{AppFeature, FeatureBuilder, GuineaApp, Plugin, PluginBuilder};
pub use guinea_app::feature::{ContextActorExt, ContextTimersExt, Feature, FeatureInitContext};
pub use guinea_app::timers::{Period, Timer};
pub use guinea_core::actor::event_bus::{Event, GlobalEventBus};
pub use guinea_core::actor::{Addr, AsyncContext, Cx, Handler};
pub use guinea_core::feature::{Bound, Dispatch, Push};
pub use guinea_core::trace::Bus;
pub use guinea_core::__private::anyhow;
pub use guinea_core::{Load, Reducer};
pub use guinea_macros::{Event, actor, feature, handler, installs, reducer, routes};
}