Cargo Features

[dependencies]
libdbus-sys = { version = "0.2.5", default-features = false, features = ["vendored", "pkg-config"] }
default = pkg-config

By default use pkg-config to locate the local libdbus installation

vendored = cc

Provide vendoring as an option, which will compile libdbus from source for the target

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.

pkg-config build default
cc build vendored?