# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.75" name = "bluer" version = "0.17.3" authors = [ "Sebastian Urban ", "BlueR contributors", "Attila Dusnoki ", "Ben Stern ", "Dejan Bosanac ", ] exclude = [ "bluetooth-numbers-database/README.md", "bluetooth-numbers-database/*.png", "bluetooth-numbers-database/*.js", "bluetooth-numbers-database/*.json", "bluetooth-numbers-database/node_modules/*", ] description = "BlueR: official Rust interface to the Linux Bluetooth protocol stack (BlueZ)" readme = "README.md" keywords = [ "bluetooth", "gatt", "l2cap", "rfcomm", "mesh", ] categories = [ "asynchronous", "hardware-support", "os::linux-apis", ] license = "BSD-2-Clause" repository = "https://github.com/bluez/bluer" [package.metadata.docs.rs] all-features = true cargo-args = [ "-Zunstable-options", "-Zrustdoc-scrape-examples", ] rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "discover_devices" doc-scrape-examples = true required-features = ["bluetoothd"] [[example]] name = "gatt_client" required-features = ["bluetoothd"] [[example]] name = "gatt_echo_client" required-features = ["bluetoothd"] [[example]] name = "gatt_echo_server" required-features = ["bluetoothd"] [[example]] name = "gatt_server_cb" required-features = ["bluetoothd"] [[example]] name = "gatt_server_io" required-features = ["bluetoothd"] [[example]] name = "l2cap_client" required-features = [ "bluetoothd", "l2cap", ] [[example]] name = "l2cap_server" required-features = [ "bluetoothd", "l2cap", ] [[example]] name = "le_advertise" required-features = ["bluetoothd"] [[example]] name = "list_adapters" required-features = ["bluetoothd"] [[example]] name = "le_passive_scan" required-features = ["bluetoothd"] [[example]] name = "rfcomm_client" required-features = [ "bluetoothd", "rfcomm", ] [[example]] name = "rfcomm_server" required-features = [ "bluetoothd", "rfcomm", ] [dependencies.custom_debug] version = "0.6" optional = true [dependencies.dbus] version = "0.9" features = ["futures"] optional = true [dependencies.dbus-crossroads] version = "0.5" optional = true [dependencies.dbus-tokio] version = "0.7" optional = true [dependencies.displaydoc] version = "0.2" optional = true [dependencies.futures] version = "0.3" [dependencies.hex] version = "0.4" [dependencies.lazy_static] version = "1" optional = true [dependencies.libc] version = "0.2" [dependencies.log] version = "0.4" [dependencies.macaddr] version = "1" [dependencies.nix] version = "0.29" features = ["ioctl"] default-features = false [dependencies.num-derive] version = "0.4" [dependencies.num-traits] version = "0.2" [dependencies.pin-project] version = "1" optional = true [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.strum] version = "0.26" features = ["derive"] [dependencies.tokio] version = "1" features = [ "net", "io-util", ] [dependencies.tokio-stream] version = "0.1" optional = true [dependencies.uuid] version = "1" features = ["v4"] [dev-dependencies.clap] version = "4" features = ["derive"] [dev-dependencies.env_logger] version = "0.11" [dev-dependencies.rand] version = "0.8" [dev-dependencies.tokio] version = "1" features = [ "io-std", "io-util", "rt-multi-thread", "signal", ] [build-dependencies.serde] version = "1" features = ["derive"] [build-dependencies.serde_json] version = "1" [build-dependencies.uuid] version = "1" [features] bluetoothd = [ "dbus", "dbus-tokio", "dbus-crossroads", "pin-project", "tokio/rt", "tokio/sync", "tokio/macros", "tokio-stream", "lazy_static", "custom_debug", "displaydoc", ] default = [] full = [ "bluetoothd", "id", "l2cap", "rfcomm", "mesh", "serde", ] id = [] l2cap = [] mesh = ["bluetoothd"] rfcomm = [] serde = [ "uuid/serde", "dep:serde", ]