gpui-mobile 0.1.0

Mobile platform support for GPUI — iOS (Metal/Blade) and Android (wgpu/Vulkan)
Documentation
//! # GPUI Mobile — Mobile platform support for GPUI
//!
//! `gpui-mobile` provides iOS and Android platform implementations for
//! [GPUI](https://github.com/zed-industries/zed), the GPU-accelerated UI
//! framework from the Zed editor.
//!
//! ## Status
//!
//! This crate is in early development. The full platform implementations
//! (iOS via Metal/UIKit, Android via Vulkan/NDK) depend on upstream Zed
//! crates (`gpui`, `gpui_wgpu`) that are not yet published on crates.io.
//!
//! This initial release reserves the crate name and exposes the
//! platform-independent **momentum scrolling** engine, which can be used
//! standalone.
//!
//! Once the upstream dependencies are available on crates.io, this crate
//! will be updated to include the full `Platform` trait implementations
//! for both iOS and Android.
//!
//! ## Momentum Scrolling
//!
//! The [`momentum`] module provides:
//!
//! - [`VelocityTracker`](momentum::VelocityTracker) — records recent touch
//!   positions and computes release velocity using weighted least-squares
//!   estimation.
//! - [`MomentumScroller`](momentum::MomentumScroller) — takes a release
//!   velocity and produces a stream of decelerating scroll deltas, matching
//!   native iOS `UIScrollView` / Android `OverScroller` feel.
//!
//! ## Full Feature Set (coming soon)
//!
//! The complete crate provides:
//!
//! - **Full `gpui::Platform` implementation** for iOS and Android
//! - **GPU-accelerated rendering** via Metal (iOS) and Vulkan/GL (Android)
//! - **Touch input** with tap-vs-scroll state machine
//! - **Momentum scrolling** with native-feel deceleration
//! - **Emoji rendering** with bundled CBDT bitmap emoji font for Android
//! - **Keyboard input** — hardware and software keyboard support
//! - **Safe area insets** — notch / home indicator / status bar awareness
//! - **Dark mode** — responds to system appearance changes
//!
//! ## Repository
//!
//! Full source code, examples, and build instructions:
//! <https://github.com/itsbalamurali/gpui-mobile>

pub mod momentum;