Cargo Features

egui-ash has no features set by default.

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

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

Enables egui-winit ^0.25.0

gpu-allocator

Enables gpu-allocator ^0.25.0

persistence = directories-next, ron

Enables serde, serde of egui-winit ^0.25.0 and persistence of egui ^0.25.0

egui:

Enable persistence of memory (window positions etc).

Affects app::App.auto_save_interval, app::App.save, egui-ash::storage, run::RunOption.persistent_windows, run::RunOption.persistent_egui_memory

accesskit

Underlying egui-winit features

Enables accesskit of egui-winit ^0.25.0

android-game-activity

Enables android-game-activity of egui-winit ^0.25.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.25.0

egui-winit:

Enable the native-activity backend via Winit on Android

bytemuck

Enables bytemuck of egui-winit ^0.25.0

egui-winit:

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

clipboard

Enables clipboard of egui-winit ^0.25.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.25.0

egui-winit:

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

puffin

Enables puffin of egui-winit ^0.25.0

egui-winit:

Enable profiling with the puffin crate.

serde

Enables serde of egui-winit ^0.25.0

egui-winit:

Allow serialization of WindowSettings using serde.

wayland

Enables wayland of egui-winit ^0.25.0

egui-winit:

Enables Wayland support.

x11

Enables x11 of egui-winit ^0.25.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.

directories-next persistence?
ron persistence?