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
somewhere in the dependency tree.default-features = false - 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.