Cargo Features

copypasta = { version = "0.10.1", default-features = false, features = ["x11", "wayland"] }
default = wayland, x11

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

x11 default = x11-clipboard

Affects copypasta::x11_clipboard, copypasta::ClipboardContext

wayland default = smithay-clipboard

Affects copypasta::wayland_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.

smithay-clipboard unix not mac android ios emscripten wayland
x11-clipboard unix not mac android ios emscripten x11