Cargo Features

[dependencies]
azul-glutin = { version = "0.26.0", default-features = false, features = ["serde", "x11", "wayland"] }
default = wayland, x11

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

serde

Enables serde of azul-winit

x11 default = glutin_glx_sys

Enables x11 of azul-winit

Affects egl::get_native_visual_id, unix::RawContextExt.build_raw_x11_context

wayland default = wayland-client, wayland-egl

Enables wayland of azul-winit

Affects unix::RawContextExt.build_raw_wayland_context

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.

glutin_glx_sys linux freebsd dragonfly netbsd openbsd x11

Enables glutin_glx_sys ^0.1.6

wayland-client linux freebsd dragonfly netbsd openbsd wayland

Enables wayland-client ^0.28

wayland-egl linux freebsd dragonfly netbsd openbsd wayland

Enables wayland-egl ^0.28