Cargo Features

[dependencies]
blez = { version = "0.9.7", default-features = false, features = ["bluetoothd", "l2cap"] }
default = bluetoothd, l2cap

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

bluetoothd default = custom_debug, dbus, dbus-crossroads, dbus-tokio, displaydoc, lazy_static, pin-project, tokio-stream

Enables macros, rt and sync of tokio

Affects blez::adv, blez::agent, blez::gatt, blez::Error, blez::ErrorKind, blez::InternalErrorKind, blez::Result, blez::Modalias

l2cap default = libbluetooth

Affects blez::l2cap

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.

libbluetooth l2cap
dbus bluetoothd
dbus-tokio bluetoothd
dbus-crossroads bluetoothd

Enables dbus-crossroads ^0.4

pin-project bluetoothd
tokio-stream bluetoothd
lazy_static bluetoothd
custom_debug bluetoothd

Enables custom_debug ^0.5

displaydoc bluetoothd