56 releases (6 breaking)

Uses new Rust 2024

new 0.8.2 May 19, 2025
0.7.3 May 9, 2025
0.7.1 Mar 19, 2025
0.6.3 Dec 26, 2024
0.4.9 Jul 26, 2024

#1710 in GUI

Download history 268/week @ 2025-01-29 290/week @ 2025-02-05 198/week @ 2025-02-12 126/week @ 2025-02-19 120/week @ 2025-02-26 23/week @ 2025-03-05 33/week @ 2025-03-12 245/week @ 2025-03-19 33/week @ 2025-03-26 235/week @ 2025-04-02 58/week @ 2025-04-09 101/week @ 2025-04-16 115/week @ 2025-04-23 52/week @ 2025-04-30 322/week @ 2025-05-07 452/week @ 2025-05-14

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

Apache-2.0 OR MIT

3MB
58K SLoC

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


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.

Dependencies

~9–23MB
~358K SLoC