Cargo Features
[dependencies]
azul-winit = { version = "0.24.0", default-features = false, features = ["web-sys", "stdweb", "x11", "wayland", "serde", "mint"] }
- default = wayland, x11
-
These default features are set whenever
azul-winit
is added without
somewhere in the dependency tree.default-features = false - web-sys = wasm-bindgen, web_sys
-
Enables wasm-bindgen of instant
Affects
web::WindowExtWebSys
,web::WindowBuilderExtWebSys
… - stdweb = std_web
-
Affects
web::WindowExtStdweb
,web::WindowBuilderExtStdweb
… - x11 default = mio, mio-misc, parking_lot, percent-encoding, x11-dl
-
Affects
unix::EventLoopWindowTargetExtUnix.is_x11
,unix::EventLoopWindowTargetExtUnix.xlib_xconnection
,unix::EventLoopExtUnix.new_x11
,unix::EventLoopExtUnix.new_x11_any_thread
,unix::WindowExtUnix.xlib_window
,unix::WindowExtUnix.xlib_display
,unix::WindowExtUnix.xlib_screen_id
,unix::WindowExtUnix.xlib_xconnection
,unix::WindowExtUnix.xcb_connection
,unix::WindowBuilderExtUnix.with_x11_visual
,unix::WindowBuilderExtUnix.with_x11_screen
,unix::WindowBuilderExtUnix.with_class
,unix::WindowBuilderExtUnix.with_override_redirect
,unix::WindowBuilderExtUnix.with_x11_window_type
,unix::WindowBuilderExtUnix.with_gtk_theme_variant
,unix::WindowBuilderExtUnix.with_resize_increments
,linux::x11
,linux::PlatformSpecificWindowBuilderAttributes.visual_infos
,linux::PlatformSpecificWindowBuilderAttributes.screen_id
,linux::PlatformSpecificWindowBuilderAttributes.resize_increments
… - wayland default = sctk, wayland-client
-
Affects
unix::EventLoopWindowTargetExtUnix.is_wayland
,unix::EventLoopWindowTargetExtUnix.wayland_display
,unix::EventLoopExtUnix.new_wayland
,unix::EventLoopExtUnix.new_wayland_any_thread
,unix::WindowExtUnix.wayland_surface
,unix::WindowExtUnix.wayland_display
,unix::WindowExtUnix.set_wayland_theme
,unix::WindowBuilderExtUnix.with_app_id
,unix::Theme
,unix::Button
,unix::ButtonState
,unix::Element
,unix::ARGBColor
,linux::wayland
,linux::PlatformSpecificWindowBuilderAttributes.app_id
…
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
- mio linux dragonfly freebsd openbsd netbsd x11
-
Enables mio ^0.7
- mio-misc linux dragonfly freebsd openbsd netbsd x11
-
Enables mio-misc ^1.0
- parking_lot linux dragonfly freebsd openbsd netbsd win x11
-
Enables parking_lot ^0.11.0
- percent-encoding linux dragonfly freebsd openbsd netbsd x11
- sctk linux dragonfly freebsd openbsd netbsd wayland
-
Enables smithay-client-toolkit ^0.12.3
- std_web wasm32 stdweb?
-
Enables stdweb
- wasm-bindgen wasm32 web-sys?
- wayland-client linux dragonfly freebsd openbsd netbsd wayland
-
Enables wayland-client ^0.28
- web_sys wasm32 web-sys?
-
Enables web-sys
- x11-dl linux dragonfly freebsd openbsd netbsd x11