#zng #ui

zng-app-context

Part of the zng project

48 releases (10 breaking)

Uses new Rust 2024

new 0.12.4 Apr 1, 2026
0.12.3 Mar 21, 2026
0.12.2 Feb 26, 2026
0.11.0 Dec 6, 2025
0.5.5 Jul 26, 2024

#2728 in GUI

Download history 82/week @ 2025-12-10 212/week @ 2025-12-17 137/week @ 2025-12-24 194/week @ 2025-12-31 91/week @ 2026-01-07 47/week @ 2026-01-14 74/week @ 2026-01-21 151/week @ 2026-01-28 171/week @ 2026-02-04 51/week @ 2026-02-11 182/week @ 2026-02-18 104/week @ 2026-02-25 120/week @ 2026-03-04 223/week @ 2026-03-11 337/week @ 2026-03-18 155/week @ 2026-03-25

835 downloads per month
Used in 63 crates (20 directly)

Apache-2.0 OR MIT

200KB
4K SLoC

This crate is part of the zng project.

Cargo Features

This crate provides 1 feature flag, not enabled by default.

"multi_app"

Allows multiple app instances per-process.

This feature allows multiple apps, one app per thread at a time. The LocalContext tracks what app is currently running in each thread and app_local! statics switch to the value of each app depending on the current thread.

Dependencies

~9–18MB
~299K SLoC