Cargo Features

[dependencies]
minifb = { version = "0.25.0", default-features = false, features = ["dlopen", "x11", "wayland", "web"] }
default = dlopen, wayland, x11

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

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
web = wasm-bindgen, web-sys

Enables instant

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 wayland
lazy_static not mac redox win wayland
tempfile not mac redox win wayland
wasm-bindgen wasm32 web?
wayland-cursor not mac redox win wayland

Enables wayland-cursor ^0.29

wayland-protocols not mac redox win wayland

Enables wayland-protocols ^0.29

web-sys wasm32 web?
x11-dl not mac redox win x11
libc not mac redox win wayland x11
wayland-client not mac redox win dlopen wayland

Enables wayland-client ^0.29