8 releases

new 0.3.4 May 12, 2024
0.3.3 Apr 26, 2024
0.2.2 Apr 10, 2024

#1018 in GUI

Download history 218/week @ 2024-04-03 704/week @ 2024-04-10 275/week @ 2024-04-17 237/week @ 2024-04-24 121/week @ 2024-05-01 179/week @ 2024-05-08

823 downloads per month
Used in 52 crates (18 directly)

Apache-2.0 OR MIT

110KB
2.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–11MB
~91K SLoC