rcus 0.2.0

A retained, GPU-rendered UI toolkit with no browser engine: wgpu drawing, winit windows, and a JavaScript view runtime
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# rcus

A retained, GPU-rendered UI toolkit for Rust with no browser engine: wgpu
drawing, winit windows, and a JavaScript view runtime.

```rust
use rcus::{App, InputEvent, Style, ViewNode};
use rcus_desktop::DesktopApp;

let app = App::new(ViewNode::text("hello", Style::default()), rcus::fonts::MONO);
DesktopApp::new("hello", app).run()?;
```

The workspace is split into `rcus-core`, `rcus-layout`, `rcus-render`,
`rcus-app`, `rcus-desktop`, and `rcus-ts`; this crate re-exports all of them.
See the repository README for the design, the examples, and CI.