Skip to main content

unpeel_surface/
lib.rs

1//! Experimental native runtime for Unpeel Surface applications.
2//!
3//! The crate exposes the renderer, Kitty presenter, terminal-cell chrome,
4//! and the complete scene command contract. Input UI is terminal cells;
5//! Surface renders display surfaces (canvas, 3D, dot-grid, cached pixels)
6//! beneath them. The `ratatui` module (behind the default-on `ratatui`
7//! feature) provides the small `SurfaceLayer`/`SurfaceView`
8//! bridge for existing Ratatui applications. Source formats and rasterization
9//! engines are application concerns; Surface accepts their cached pixels
10//! through `HOST_CACHED_RGBA`.
11//! Native applications normally need only this crate; the internal ABI crate
12//! is re-exported here so consumers do not have to depend on it separately.
13
14pub use unpeel_surface_abi::*;
15
16#[cfg(feature = "terminal")]
17pub mod chrome;
18pub mod connected;
19pub mod damage;
20pub mod font;
21pub mod glyphs;
22pub mod guest;
23#[cfg(feature = "terminal")]
24pub mod kitty;
25pub mod local_view;
26pub mod portable_scene;
27#[cfg(feature = "ratatui")]
28pub mod ratatui;
29pub mod remote;
30pub mod remote_presenter;
31pub mod render;
32#[cfg(all(unix, feature = "terminal"))]
33pub mod ssh;
34pub mod terminal_projection;
35pub mod terminal_reconnect;
36pub mod wgpu_renderer;