9 releases

0.3.1 Apr 26, 2024
0.3.0 Apr 20, 2024
0.2.7 Apr 15, 2024

#759 in GUI

Download history 348/week @ 2024-04-04 586/week @ 2024-04-11 296/week @ 2024-04-18 217/week @ 2024-04-25

1,447 downloads per month
Used in 48 crates (15 directly)

Apache-2.0 OR MIT

555KB
11K 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.

When this is enabled communication with the view is (de)serialized which can add a minor cost, something like a 1ms per 3MB frame request.

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.

Crate

Dependencies

~3–34MB
~516K SLoC