Cargo Features

[dependencies]
cart-tmp-winit = { version = "0.22.2", default-features = false, features = ["web-sys", "stdweb", "x11", "wayland", "serde"] }
default = wayland, x11

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

web-sys = wasm-bindgen, web_sys

Enables wasm-bindgen of instant

Affects web::WindowExtWebSys, web::WindowBuilderExtWebSys

stdweb = std_web

Enables stdweb of instant

Affects web::WindowExtStdweb, web::WindowBuilderExtStdweb

x11 default = 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.set_urgent, 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, linux::x11, linux::PlatformSpecificWindowBuilderAttributes.visual_infos, linux::PlatformSpecificWindowBuilderAttributes.screen_id, linux::PlatformSpecificWindowBuilderAttributes.resize_increments

wayland default = smithay-client-toolkit, 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, 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

smithay-client-toolkit linux dragonfly freebsd openbsd netbsd wayland

Enables smithay-client-toolkit ^0.6.6

std_web wasm32 stdweb?

Enables stdweb

wasm-bindgen wasm32 web-sys?
wayland-client linux dragonfly freebsd openbsd netbsd wayland

Enables wayland-client ^0.23.0

web_sys wasm32 web-sys?

Enables web-sys

x11-dl linux dragonfly freebsd openbsd netbsd x11