Cargo Features

[dependencies]
battery-notify = { version = "0.3.5", default-features = false, features = ["mons", "bluetooth"] }
default = bluetooth, mons

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

mons default = once_cell, x11rb

Affects monitors::get_nr_connected

bluetooth default = once_cell, zbus

Affects bluetooth::get_battery_levels

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.

once_cell bluetooth mons
x11rb mons
zbus bluetooth