#ui #zng

zng-wgt

Part of the zng project

53 releases

Uses new Rust 2024

0.7.1 Mar 19, 2025
0.6.9 Feb 10, 2025
0.6.3 Dec 26, 2024
0.5.8 Nov 23, 2024
0.4.9 Jul 26, 2024

#1691 in GUI

Download history 403/week @ 2024-12-04 162/week @ 2024-12-11 226/week @ 2024-12-18 534/week @ 2024-12-25 278/week @ 2025-01-01 303/week @ 2025-01-08 278/week @ 2025-01-15 429/week @ 2025-01-22 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

507 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
~356K SLoC