46 releases (5 breaking)

new 0.7.6 Feb 10, 2025
0.7.2 Dec 24, 2024
0.6.5 Nov 23, 2024
0.4.11 Jul 26, 2024

#1452 in GUI

Download history 195/week @ 2024-10-19 165/week @ 2024-10-26 160/week @ 2024-11-02 31/week @ 2024-11-09 125/week @ 2024-11-16 146/week @ 2024-11-23 119/week @ 2024-11-30 188/week @ 2024-12-07 6/week @ 2024-12-14 253/week @ 2024-12-21 78/week @ 2024-12-28 79/week @ 2025-01-04 172/week @ 2025-01-11 159/week @ 2025-01-18 11/week @ 2025-01-25 5/week @ 2025-02-01

353 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 20 feature flags, 3 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.

"image_bmp"

Enable BMP image decoder and encoder.

"image_dds"

Enable DDS image decoder.

"image_exr"

Enable EXR image decoder and encoder.

"image_ff"

Enable Farbfeld image decoder and encoder.

"image_gif"

Enable GIF image decoder and encoder.

"image_hdr"

Enable Radiance HDR image decoder and encoder.

"image_ico"

Enable ICO image decoder and encoder.

"image_jpeg"

Enable JPEG image decoder and encoder.

"image_png"

Enable PNG image decoder and encoder.

"image_pnm"

Enable PNM image decoder and encoder.

"image_qoi"

Enable QOI image decoder and encoder.

"image_tga"

Enable TGA image decoder and encoder.

"image_tiff"

Enable TIFF image decoder and encoder.

"image_webp"

Enable WEBP image decoder.

"image_all"

Enable all image decoders and encoders.

Enabled by default.

Dependencies

~27–79MB
~1.5M SLoC