Cargo Features

[dependencies]
user-idle = { version = "0.6.0", default-features = false, features = ["dbus", "x11"] }
default = x11

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

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.

dbus linux implicit feature

Enables dbus

dbus:

Bindings to D-Bus, which is a bus commonly used on Linux for inter-process communication

x11 linux default