38 releases (4 breaking)

new 0.6.4 Nov 17, 2024
0.6.2 Oct 26, 2024
0.4.11 Jul 26, 2024

#62 in #zng

Download history 331/week @ 2024-07-29 301/week @ 2024-08-12 160/week @ 2024-08-19 10/week @ 2024-08-26 249/week @ 2024-09-02 167/week @ 2024-09-09 416/week @ 2024-09-16 302/week @ 2024-09-23 226/week @ 2024-09-30 150/week @ 2024-10-07 198/week @ 2024-10-14 165/week @ 2024-10-21 104/week @ 2024-10-28 100/week @ 2024-11-04 108/week @ 2024-11-11

512 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