taut 0.3.0

A Rust GUI library for Windows, Linux, macOS, iOS and the web that aims to be small, fast and accessible, with zero dependencies and nothing compiled in that your program doesn't use.
Documentation
//! The smallest program: a window with a label and a button. It is what a program pays for taut
//! when it uses almost nothing, and what the library's size is measured by.
//!   cargo run -p taut --example hello --release
use taut::Window;

fn main() {
    let mut presses = 0;
    let window = Window { title: "Hello", width: 320.0, height: 160.0, ..Default::default() };
    taut::run(window, move |ui| {
        ui.column().pad(16.0).gap(10.0).open();
        ui.label(&format!("Pressed {presses} times"));
        presses += ui.button("Press").clicked as u32;
        ui.close();
    });
}

/// Where Android starts the app (it is a library there): see `taut::run`.
#[cfg(target_os = "android")]
#[unsafe(no_mangle)]
#[allow(clippy::main_recursion)]
extern "C" fn android_main() {
    main()
}