Cargo Features
[dependencies]
softbuffer = { version = "0.4.6", default-features = false, features = ["kms", "wayland", "wayland-dlopen", "x11", "x11-dlopen"] }
- default = kms, wayland, wayland-dlopen, x11, x11-dlopen
-
These default features are set whenever
softbuffer
is added without
somewhere in the dependency tree.default-features = false - kms default = bytemuck, drm, rustix
- wayland default = fastrand, memmap2, rustix, wayland-backend, wayland-client, wayland-sys
- wayland-dlopen default
-
Enables dlopen of wayland-sys
- x11 default = as-raw-xcb-connection, bytemuck, fastrand, rustix, tiny-xlib, x11rb
- x11-dlopen default
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.
- as-raw-xcb-connection unix not apple android redox x11
- drm unix not apple android redox kms
-
Enables drm ^0.12.0
- memmap2 unix not apple android redox wayland
- wayland-backend unix not apple android redox wayland
- wayland-client unix not apple android redox wayland
- bytemuck unix not apple android redox apple kms x11
- fastrand unix not apple android redox wayland x11
- tiny-xlib unix not apple android redox x11 x11-dlopen
- wayland-sys unix not apple android redox wayland wayland-dlopen
- x11rb unix not apple android redox x11 x11-dlopen
- rustix unix not apple android redox kms wayland x11