Cargo Features

[dependencies]
egui-winit-ash-integration = { version = "0.6.0", default-features = false, features = ["gpu-allocator-feature", "accesskit", "android-game-activity", "android-native-activity", "bytemuck", "clipboard", "links", "puffin", "serde", "wayland", "x11"] }
default = gpu-allocator-feature

These default features are set whenever egui-winit-ash-integration is added without default-features = false somewhere in the dependency tree.

Enables egui-winit ^0.23.0

gpu-allocator-feature default = gpu-allocator
accesskit

Underlying egui-winit features

Enables accesskit of egui-winit ^0.23.0

android-game-activity

Enables android-game-activity of egui-winit ^0.23.0

egui-winit:

Allow crates to choose an android-activity backend via Winit

  • It's important that most applications should not have to depend on android-activity directly, and can rely on Winit to pull in a suitable version (unlike most Rust crates, any version conflicts won't link)
  • It's also important that we don't impose an android-activity backend by taking this choice away from applications. Enable the game-activity backend via Winit on Android

android-native-activity

Enables android-native-activity of egui-winit ^0.23.0

egui-winit:

Enable the native-activity backend via Winit on Android

bytemuck

Enables bytemuck of egui-winit ^0.23.0

egui-winit:

bytemuck enables you to cast egui::epaint::Vertex, egui::Vec2 etc to &[u8].

clipboard

Enables clipboard of egui-winit ^0.23.0

egui-winit:

Enable cut/copy/paste to OS clipboard.
If disabled a clipboard will be simulated so you can still copy/paste within the egui app.

Enables links of egui-winit ^0.23.0

egui-winit:

Enable opening links in a browser when an egui hyperlink is clicked.

puffin

Enables puffin of egui-winit ^0.23.0

egui-winit:

Enable profiling with the puffin crate.

serde

Enables serde of egui-winit ^0.23.0

egui-winit:

Allow serialization of WindowSettings using serde.

wayland

Enables wayland of egui-winit ^0.23.0

egui-winit:

Enables Wayland support.

x11

Enables x11 of egui-winit ^0.23.0

egui-winit:

Enables compiling for x11.

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

gpu-allocator gpu-allocator-feature

Enables gpu-allocator ^0.23.0