zng-view

Crates.iozng-view
lib.rszng-view
version0.15.4
created_at2024-04-07 23:34:28.552623+00
updated_at2026-01-12 00:22:41.563578+00
descriptionPart of the zng project.
homepage
repositoryhttps://github.com/zng-ui/zng
max_upload_size
id1199604
size715,292
owners (github:zng-ui:owners)

documentation

https://zng-ui.github.io/doc/zng_view

README

This crate is part of the zng project.

Cargo Features

This crate provides 22 feature flags, 0 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.

"software"

Enables software renderer.

Recommended for all apps. The software renderer is used as fallback in case the hardware renderer stops working.

"hardware"

Enables GPU renderer.

Requires OpenGL 3.2 driver. Recommended for most apps. Uses ~20MB more RAM.

"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_any"

If any image format feature is enabled.

"image_all"

Enable all image decoders and encoders.

Commit count: 7930

cargo fmt