Cargo Features
[dependencies]
minifb = { version = "0.28.0", default-features = false, features = ["dlopen", "x11", "wayland"] }
- default = dlopen, wayland, x11
-
These default features are set whenever
minifb
is added without
somewhere in the dependency tree.default-features = false - dlopen default
-
Enables dlopen of wayland-client ^0.29
- x11 default = libc, x11-dl
- wayland default = dlib, lazy_static, libc, tempfile, wayland-client, wayland-cursor, wayland-protocols
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.
- dlib not mac redox win wasm32 wayland
- lazy_static not mac redox win wasm32 wayland
- tempfile not mac redox win wasm32 wayland
- wayland-cursor not mac redox win wasm32 wayland
-
Enables wayland-cursor ^0.29
- wayland-protocols not mac redox win wasm32 wayland
-
Enables wayland-protocols ^0.29
- x11-dl not mac redox win wasm32 x11
- libc not mac redox win wasm32 wayland x11
- wayland-client not mac redox win wasm32 dlopen wayland
-
Enables wayland-client ^0.29