25 releases

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

#1526 in GUI

Download history 467/week @ 2024-09-07 561/week @ 2024-09-14 388/week @ 2024-09-21 285/week @ 2024-09-28 214/week @ 2024-10-05 134/week @ 2024-10-12 370/week @ 2024-10-19 386/week @ 2024-10-26 502/week @ 2024-11-02 169/week @ 2024-11-09 192/week @ 2024-11-16 213/week @ 2024-11-23 438/week @ 2024-11-30 261/week @ 2024-12-07 129/week @ 2024-12-14 439/week @ 2024-12-21

1,304 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–14MB
~194K SLoC