#![doc = include_str!("../README.md")]
#![warn(missing_docs)]
#![allow(clippy::type_complexity)] #![allow(clippy::collapsible_else_if)] #![allow(unused_mut)]
extern crate self as gpui;
#[macro_use]
mod action;
pub use gpui_authoring::{actions, text};
mod animated;
mod app;
mod asset_cache;
mod assets;
pub mod colors;
#[cfg(feature = "profiler")]
mod debug_overlay;
mod element;
mod elements;
mod executor;
mod gestures;
mod global;
mod input;
mod inspector;
mod interactive;
mod keymap;
mod lerp;
mod motion;
mod path_builder;
mod platform;
pub mod prelude;
pub mod profiler;
#[cfg(any(
test,
target_os = "windows",
target_os = "linux",
target_family = "wasm",
feature = "test-support",
feature = "bench-support"
))]
pub use gpui_platform::queue;
mod shared_uri;
mod spring;
mod style;
mod style_transitions;
mod styled;
mod subscription;
mod svg_renderer;
#[cfg(feature = "test-support")]
pub mod test;
mod text_system;
mod transition;
mod view;
mod window;
#[cfg(feature = "test-support")]
pub use proptest;
#[cfg(doc)]
pub mod _accessibility;
#[cfg(doc)]
pub mod _ownership_and_data_flow;
#[doc(hidden)]
pub use gpui_authoring::private;
pub use accesskit;
pub use accesskit::Action as AccessibleAction;
pub use accesskit::{Orientation, Role, Toggled};
pub use action::*;
pub use animated::*;
pub use anyhow::Result;
pub use app::*;
pub use asset_cache::*;
pub use assets::*;
pub use ctor::ctor;
#[cfg(feature = "profiler")]
pub use debug_overlay::*;
pub use element::*;
pub use elements::*;
pub use executor::*;
pub use gestures::*;
pub use global::*;
pub use gpui_macros::{IntoElement, Render, bench, property_test, register_action, test};
pub use spring::*;
#[macro_export]
macro_rules! bench_group {
($($tokens:tt)*) => {
criterion::criterion_group!($($tokens)*);
};
}
#[macro_export]
macro_rules! bench_main {
($($tokens:tt)*) => {
criterion::criterion_main!($($tokens)*);
};
}
pub use gpui_ce_types::*;
pub use gpui_shared_string::*;
pub use gpui_types::*;
pub use gpui_ce_types::Shadow;
pub use gpui_util::arc_cow::ArcCow;
pub mod http_client;
pub use input::*;
pub use inspector::*;
pub use interactive::*;
pub use keymap::*;
pub use lerp::*;
pub use motion::*;
pub use path_builder::*;
pub use platform::*;
pub use profiler::*;
#[cfg(any(target_os = "windows", target_os = "linux", target_family = "wasm"))]
pub use queue::{PriorityQueueReceiver, PriorityQueueSender};
pub use refineable::*;
pub use shared_uri::*;
pub use style::*;
pub use style_transitions::*;
pub use styled::*;
pub use subscription::*;
pub use svg_renderer::*;
#[cfg(feature = "test-support")]
pub use test::*;
pub use text_system::*;
pub use gpui_engine::*;
pub use gpui_platform::*;
pub use gpui_authoring::{
AppContext, BorrowAppContext, BoundsExt, EventEmitter, FutureExt, GpuSpecs, LayoutId,
Reservation, Timeout, VisualContext,
};
pub use gpui_runtime::*;
pub use transition::*;
pub use view::*;
pub use window::*;
#[cfg(not(target_family = "wasm"))]
pub use pollster::block_on;