54 releases (8 breaking)

Uses new Rust 2024

new 0.10.2 Jul 7, 2025
0.10.0 Jun 25, 2025
0.8.1 Mar 19, 2025
0.7.2 Dec 24, 2024
0.4.11 Jul 26, 2024

#1245 in GUI

Download history 118/week @ 2025-03-17 14/week @ 2025-03-24 131/week @ 2025-03-31 26/week @ 2025-04-07 6/week @ 2025-04-14 2/week @ 2025-04-21 2/week @ 2025-04-28 130/week @ 2025-05-05 182/week @ 2025-05-12 196/week @ 2025-05-19 8/week @ 2025-05-26 43/week @ 2025-06-02 3/week @ 2025-06-09 1/week @ 2025-06-16 142/week @ 2025-06-23 147/week @ 2025-06-30

295 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–80MB
~1.5M SLoC