39 releases (4 breaking)

new 0.6.5 Nov 23, 2024
0.6.2 Oct 26, 2024
0.4.11 Jul 26, 2024

#38 in #zng

Download history 14/week @ 2024-08-03 129/week @ 2024-08-10 316/week @ 2024-08-17 23/week @ 2024-08-24 154/week @ 2024-08-31 163/week @ 2024-09-07 327/week @ 2024-09-14 322/week @ 2024-09-21 364/week @ 2024-09-28 40/week @ 2024-10-05 178/week @ 2024-10-12 195/week @ 2024-10-19 165/week @ 2024-10-26 160/week @ 2024-11-02 31/week @ 2024-11-09 117/week @ 2024-11-16

476 downloads per month
Used in zng

Apache-2.0 OR MIT

1MB
21K 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–88MB
~1.5M SLoC