Cargo Features
[dependencies]
awl = { version = "0.0.1", default-features = false, features = ["web-sys", "stdweb", "x11", "wayland", "serde"] }
- default = x11
-
The
x11
feature is set by default wheneverawl
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
- wayland = sctk, wayland-client
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
- 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