Files
Greg Shuflin 414d191cb7 Add minimal text layout API using taffy, cosmic-text, and wgpu
Introduces a public App/TextBox builder API that renders word-wrapped
ASCII text in taffy-laid-out rectangles via a wgpu GPU pipeline.

- App/TextBox builder API (width, height, font_size, text_color, background, padding)
- Taffy flex-column layout tree computed per frame
- cosmic-text shapes and rasterizes text to a CPU RGBA8 buffer each frame
- Two wgpu pipelines: rect (colored quads) and text (textured quads)
- Winit event loop wired through ApplicationHandler
2026-06-17 00:44:42 -07:00

16 lines
288 B
TOML

[package]
name = "gui-layout"
version = "0.1.0"
edition = "2024"
[dependencies]
winit = "0.30.13"
wgpu = "29.0.3"
env_logger = "0.11.10"
log = "0.4.32"
anyhow = "1.0.102"
pollster = "0.4.0"
taffy = "0.11.0"
cosmic-text = "0.19.0"
bytemuck = { version = "1.25.0", features = ["derive"] }