30 releases

Uses new Rust 2024

new 0.7.1 May 18, 2025
0.6.2 May 9, 2025
0.6.1 Mar 19, 2025
0.5.13 Dec 6, 2024
0.5.5 Jul 26, 2024

#1721 in GUI

Download history 177/week @ 2025-01-29 316/week @ 2025-02-05 225/week @ 2025-02-12 145/week @ 2025-02-19 127/week @ 2025-02-26 27/week @ 2025-03-05 43/week @ 2025-03-12 290/week @ 2025-03-19 43/week @ 2025-03-26 121/week @ 2025-04-02 65/week @ 2025-04-09 129/week @ 2025-04-16 141/week @ 2025-04-23 64/week @ 2025-04-30 336/week @ 2025-05-07 385/week @ 2025-05-14

954 downloads per month
Used in 58 crates (19 directly)

Apache-2.0 OR MIT

175KB
3.5K SLoC

This crate is part of the zng project.

Cargo Features

This crate provides 3 feature flags, 1 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.

"debug_default"

Enable "multi_app" 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.

Dependencies

~4–15MB
~213K SLoC