52 releases (5 breaking)

Uses new Rust 2024

0.7.0 Feb 25, 2025
0.6.7 Jan 23, 2025
0.6.3 Dec 26, 2024
0.5.8 Nov 23, 2024
0.4.9 Jul 26, 2024

#1583 in GUI

Download history 295/week @ 2024-11-18 164/week @ 2024-11-25 395/week @ 2024-12-02 230/week @ 2024-12-09 66/week @ 2024-12-16 720/week @ 2024-12-23 243/week @ 2024-12-30 285/week @ 2025-01-06 272/week @ 2025-01-13 477/week @ 2025-01-20 234/week @ 2025-01-27 107/week @ 2025-02-03 362/week @ 2025-02-10 99/week @ 2025-02-17 197/week @ 2025-02-24 31/week @ 2025-03-03

696 downloads per month
Used in 42 crates (41 directly)

Apache-2.0 OR MIT

3MB
58K SLoC

This crate is part of the zng project.

Cargo Features

This crate provides 3 feature flags, 1 enabled by default.

"debug_default"

Signal the build script to enable the "dyn_*", "inspector" and "trace_widget" features in debug builds.

Enabled by default.

"dyn_closure"

Box closures at opportune places, such as Var::map, reducing the number of monomorphised types.

This speeds-up compilation time at the cost of runtime.

"http"

Enable web tasks.


lib.rs:

Basic widget properties and helpers for declaring widgets and properties.

Widget Instantiation

See enable_widget_macros! if you want to instantiate widgets without depending on the zng crate.

Crate

Dependencies

~9–23MB
~355K SLoC