35 releases (8 breaking)

0.10.4 Nov 3, 2024
0.10.1 Sep 21, 2024
0.6.5 Jul 26, 2024

#1439 in GUI

Download history 545/week @ 2024-07-29 198/week @ 2024-08-05 732/week @ 2024-08-12 477/week @ 2024-08-19 290/week @ 2024-08-26 598/week @ 2024-09-02 536/week @ 2024-09-09 746/week @ 2024-09-16 372/week @ 2024-09-23 307/week @ 2024-09-30 160/week @ 2024-10-07 327/week @ 2024-10-14 384/week @ 2024-10-21 283/week @ 2024-10-28 432/week @ 2024-11-04 171/week @ 2024-11-11

1,307 downloads per month
Used in 55 crates (18 directly)

Apache-2.0 OR MIT

620KB
13K SLoC

This crate is part of the zng project.

Cargo Features

This crate provides 2 feature flags, 1 enabled by default.

"ipc"

Enables creation of separate or pre-build view.

Only enables in cfg(not(any(target_os = "android", target_arch = "wasm32", target_os = "ios"))) builds.

Enabled by default.

"var"

Implement IntoVar<T> for API types.


lib.rs:

The View Process API.

Zng isolates all render and windowing related code to a different process (the view-process), this crate provides the API that must be implemented to create a view-process backend, plus the Controller that can be used from an app-process to spawn and communicate with a view-process.

VERSION

The VERSION of this crate must match exactly in both App-Process and View-Process, otherwise a runtime panic error is generated.

Same Process Patch

Dynamically loaded same process implementers must propagate a StaticPatch, otherwise the view will not connect.

Crate

Dependencies

~6–36MB
~570K SLoC