Skip to main content

teksilo_app/
lib.rs

1#![allow(clippy::type_complexity, clippy::too_many_arguments)]
2// SPDX-License-Identifier: MPL-2.0
3// SPDX-FileCopyrightText: 2026 FernTech
4
5pub mod app;
6pub mod app_event_observers;
7#[cfg(feature = "automation")]
8pub mod automation_bridge;
9pub mod default_post_root;
10pub mod window_config;
11pub mod window_manager;
12pub(crate) mod window_persist;
13
14pub use app::{
15    AppEventProxy, ExternalCtxHandler, HeadlessApp, SyntheticImeInject, TeksiloAppBuilder,
16    ThemeMode,
17};
18pub use app_event_observers::AppEventObservers;
19#[cfg(feature = "automation")]
20pub use automation_bridge::TeksiloAppBuilderAutomationExt;
21pub use default_post_root::DefaultPostRoot;
22pub use window_config::{
23    ModalConfig, PostRootBuilder, RootBuilder, TeksiloWindowId, WindowConfig,
24    WindowRemovedCallback, WindowRemovedEvent,
25};
26pub use window_manager::WindowManager;
27
28// Re-export the teksilo-core multi-window types so `use teksilo_app::...`
29// continues to work after the types moved into teksilo-core.
30pub use teksilo_core::{
31    DecorationsMode, UserAttentionKind, WindowCommand, WindowOps, WindowPlacement, WindowState,
32};
33
34// Re-export key types for convenience
35pub use teksilo_canvas;
36pub use teksilo_core;
37pub use teksilo_text;
38pub use teksilo_tokens;