25 releases

new 0.5.13 Dec 6, 2024
0.5.12 Nov 3, 2024
0.5.11 Oct 26, 2024
0.5.5 Jul 26, 2024

#1501 in GUI

Download history 285/week @ 2024-08-22 478/week @ 2024-08-29 436/week @ 2024-09-05 575/week @ 2024-09-12 338/week @ 2024-09-19 349/week @ 2024-09-26 245/week @ 2024-10-03 103/week @ 2024-10-10 392/week @ 2024-10-17 355/week @ 2024-10-24 500/week @ 2024-10-31 206/week @ 2024-11-07 158/week @ 2024-11-14 215/week @ 2024-11-21 222/week @ 2024-11-28 442/week @ 2024-12-05

1,041 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.


lib.rs:

App execution context.

Crate

Dependencies

~4–15MB
~201K SLoC