Cargo Features

[dependencies]
async-winit = { version = "0.2.1", default-features = false, features = ["thread_safe", "x11", "wayland", "wayland-dlopen", "android-native-activity", "android-game-activity"] }
default = wayland, wayland-dlopen, x11

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

thread_safe = async-channel, concurrent-queue
x11 default

Enables x11 of winit ^0.28.3

wayland default

Enables wayland of winit ^0.28.3

wayland-dlopen default

Enables wayland-dlopen of winit ^0.28.3

android-native-activity

Enables android-native-activity of winit ^0.28.3

android-game-activity

Enables android-game-activity of winit ^0.28.3

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.

async-channel thread_safe?

Enables async-channel ^1.8.0

concurrent-queue thread_safe?