Cargo Features

[dependencies]
sustas = { version = "0.1.0", default-features = false, features = ["battery", "bluetooth", "clock", "swaybar", "wifi"] }
default = battery, bluetooth, clock, swaybar, wifi

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

battery default

Enables fs and time of tokio

Affects modules::battery

bluetooth default = zbus

Affects modules::bluetooth

clock default

Enables serde-human-readable of time, time of tokio

Affects modules::clock

swaybar default = serde_json
wifi default = zbus

Affects modules::wifi

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.

serde_json swaybar
time clock
zbus bluetooth wifi

Enables zbus ^3.4.0

Affects sustas::dbus