Cargo Features
[dependencies]
librespot-discovery = { version = "0.6.0", default-features = false, features = ["with-avahi", "with-dns-sd", "with-libmdns"] }
- default = with-libmdns
-
The
with-libmdns
feature is set by default wheneverlibrespot-discovery
is added without
somewhere in the dependency tree.default-features = false - with-avahi = serde, zbus
- with-dns-sd = dns-sd
- with-libmdns default = libmdns
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.
- dns-sd with-dns-sd?
- libmdns with-libmdns
- serde with-avahi?
- zbus with-avahi?
-
Enables zbus ^4