Cargo Features
[dependencies]
copypasta = { version = "0.10.2", default-features = false, features = ["x11", "wayland", "wayland-dlopen"] }
- default = wayland, wayland-dlopen, x11
-
These default features are set whenever
copypasta
is added without
somewhere in the dependency tree.default-features = false - x11 default = x11-clipboard
-
Affects
copypasta::x11_clipboard
,copypasta::ClipboardContext
… - wayland default = smithay-clipboard
-
Affects
copypasta::wayland_clipboard
… - wayland-dlopen default
-
Enables dlopen of smithay-clipboard
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.
- x11-clipboard unix not mac android ios emscripten x11
- smithay-clipboard unix not mac android ios emscripten wayland wayland-dlopen