Cargo Features
[dependencies]
souvlaki = { version = "0.7.3", default-features = false, features = ["use_dbus", "use_zbus"] }
- default = use_dbus
-
The
use_dbus
feature is set by default wheneversouvlaki
is added without
somewhere in the dependency tree.default-features = false - use_dbus default = dbus, dbus-crossroads
- use_zbus = pollster, zbus, zvariant
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 unix not mac use_dbus
- dbus-crossroads unix not mac use_dbus
- pollster unix not mac use_zbus?
-
Enables pollster ^0.3
- zbus unix not mac use_zbus?
-
Enables zbus ^3.9
- zvariant unix not mac use_zbus?
-
Enables zvariant ^3.10