43 releases (5 breaking)

new 0.7.3 Jan 3, 2025
0.7.2 Dec 24, 2024
0.6.5 Nov 23, 2024
0.4.11 Jul 26, 2024

#1510 in GUI

Download history 285/week @ 2024-09-11 283/week @ 2024-09-18 396/week @ 2024-09-25 101/week @ 2024-10-02 164/week @ 2024-10-09 200/week @ 2024-10-16 166/week @ 2024-10-23 157/week @ 2024-10-30 40/week @ 2024-11-06 116/week @ 2024-11-13 153/week @ 2024-11-20 32/week @ 2024-11-27 181/week @ 2024-12-04 107/week @ 2024-12-11 79/week @ 2024-12-18 188/week @ 2024-12-25

558 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