Cargo Features

[dependencies]
copyrs = { version = "0.5.2", default-features = false, features = ["x11", "wayland"] }
default = x11

The x11 feature is set by default whenever copyrs is added without default-features = false somewhere in the dependency tree.

x11 default = x11-clipboard

Affects linux::clipboard, linux::x11_clipboard

wayland = wl-clipboard-rs

Affects linux::clipboard, linux::wayland_clipboard, linux::WaylandClipboard

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.

wl-clipboard-rs unix not mac android ios emscripten wayland?

Enables wl-clipboard-rs ^0.8.1

x11-clipboard unix not mac android ios emscripten x11