Cargo Features

[dependencies]
btle = { version = "0.1.4", default-features = false, features = ["std", "bluez_socket", "winrt_drivers", "hci", "classic", "hci_usb", "remote", "serde-1"] }
default = hci, std

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

std default bluez_socket? remote? winrt_drivers?
bluez_socket = hci, libc, nix, std

Enables uds of tokio ^0.2

Affects hci::bluez_socket

winrt_drivers = std, winrt
hci default bluez_socket? hci_usb? remote?

Affects btle::hci

classic

Affects btle::classic

hci_usb = hci, usbw

Affects hci::usb

remote = hci, std

Affects hci::remote

serde-1 = serde

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.

winrt winrt_drivers?

Enables winrt ^0.6.0

nix bluez_socket?

Enables nix ^0.16.1

libc bluez_socket?
tokio bluez_socket?

Enables tokio ^0.2

usbw hci_usb?
serde serde-1?