40 releases (5 breaking)

new 0.7.0 Dec 6, 2024
0.6.5 Nov 23, 2024
0.6.2 Oct 26, 2024
0.4.11 Jul 26, 2024

#1476 in GUI

Download history 214/week @ 2024-08-18 15/week @ 2024-08-25 160/week @ 2024-09-01 161/week @ 2024-09-08 390/week @ 2024-09-15 275/week @ 2024-09-22 366/week @ 2024-09-29 117/week @ 2024-10-06 206/week @ 2024-10-13 136/week @ 2024-10-20 101/week @ 2024-10-27 159/week @ 2024-11-03 30/week @ 2024-11-10 187/week @ 2024-11-17 85/week @ 2024-11-24 151/week @ 2024-12-01

457 downloads per month
Used in zng

Apache-2.0 OR MIT

1MB
22K SLoC

This crate is part of the zng project.

Cargo Features

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

"ipc"

Enables pre-build and init as view-process.

If this is enabled all communication with the view is serialized/deserialized, even in same-process mode.

Only enables in cfg(not(target_os = "android")) builds.

Enabled by default.

"software"

Enables software renderer fallback.

If enabled and a native OpenGL 3.2 driver is not available the swgl software renderer is used.

Enabled by default.

"bundle_licenses"

Bundle third party licenses.

Needs cargo-about and Internet connection during build.

Not enabled by default. Note that "view_prebuilt" always bundles licenses.

"android_game_activity"

Standard Android backend that requires a build system that can compile Java or Kotlin and fetch Android dependencies.

See https://docs.rs/winit/latest/winit/platform/android/ for more details.

"android_native_activity"

Basic Android backend that does not require Java.

See https://docs.rs/winit/latest/winit/platform/android/ for more details.

Dependencies

~32–84MB
~1.5M SLoC