Cargo Features
[dependencies]
luminvent_winit = { version = "0.27.6-alpha", default-features = false, features = ["x11", "wayland", "wayland-dlopen", "wayland-csd-adwaita", "wayland-csd-adwaita-crossfont", "wayland-csd-adwaita-notitle", "android-native-activity", "android-game-activity", "css-size", "serde", "mint"] }
- default = wayland, wayland-csd-adwaita, wayland-dlopen, x11
-
These default features are set whenever
luminvent_winit
is added without
somewhere in the dependency tree.default-features = false - x11 default = mio, percent-encoding, x11-dl
-
Affects
linux::x11
,linux::PlatformSpecificWindowBuilderAttributes.visual_infos
,linux::PlatformSpecificWindowBuilderAttributes.screen_id
,linux::PlatformSpecificWindowBuilderAttributes.parent_id
,linux::PlatformSpecificWindowBuilderAttributes.base_size
,linux::PlatformSpecificWindowBuilderAttributes.override_redirect
,linux::PlatformSpecificWindowBuilderAttributes.x11_window_types
,linux::X11_BACKEND
… - wayland default = sctk, wayland-client, wayland-protocols
-
Affects
linux::wayland
… - wayland-dlopen default
-
Enables dlopen of smithay-client-toolkit ^0.16.0 and wayland-client ^0.29.4
- wayland-csd-adwaita default = sctk-adwaita
-
Enables ab_glyph of sctk-adwaita ^0.5.1
- wayland-csd-adwaita-crossfont = sctk-adwaita
-
Enables crossfont of sctk-adwaita ^0.5.1
- wayland-csd-adwaita-notitle = sctk-adwaita
- android-native-activity
-
Enables native-activity of android-activity ^0.4.0
- android-game-activity
-
Enables game-activity of android-activity ^0.4.0
- css-size = js-sys
-
Enables ResizeObserver, ResizeObserverBoxOptions, ResizeObserverEntry, ResizeObserverOptions and ResizeObserverSize of web-sys
Affects
web_sys::supports_device_pixel_content_size
…
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.
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework
- mint implicit feature
-
Enables mint
mint:
Math interoperability standard types
- js-sys wasm32 css-size?
- mio linux dragonfly freebsd openbsd netbsd x11
-
Enables mio ^0.8
- percent-encoding linux dragonfly freebsd openbsd netbsd x11
- wayland-protocols linux dragonfly freebsd openbsd netbsd wayland
-
Enables wayland-protocols ^0.29.4
- x11-dl linux dragonfly freebsd openbsd netbsd x11
- sctk linux dragonfly freebsd openbsd netbsd wayland wayland-dlopen
-
Enables smithay-client-toolkit ^0.16.0
- wayland-client linux dragonfly freebsd openbsd netbsd wayland wayland-dlopen
-
Enables wayland-client ^0.29.4
- sctk-adwaita linux dragonfly freebsd openbsd netbsd wayland-csd-adwaita wayland-csd-adwaita-crossfont? wayland-csd-adwaita-notitle?
-
Enables sctk-adwaita ^0.5.1
Affects
window::WinitFrame
…