btleplug 0.11.8

A Cross-Platform Rust Bluetooth Low Energy (BLE) GATT library.
Documentation
[dependencies.async-trait]
version = "0.1.88"

[dependencies.bitflags]
version = "2.9.0"

[dependencies.dashmap]
version = "6.1.0"

[dependencies.futures]
version = "0.3.31"

[dependencies.log]
version = "0.4.27"

[dependencies.serde_bytes]
optional = true
version = "0.11.17"

[dependencies.serde_cr]
default-features = false
features = ["derive"]
optional = true
package = "serde"
version = "1.0.219"

[dependencies.static_assertions]
version = "1.1.0"

[dependencies.thiserror]
version = "2.0.12"

[dependencies.tokio]
features = ["sync", "rt"]
version = "1.44.2"

[dependencies.tokio-stream]
features = ["sync"]
version = "0.1.17"

[dependencies.uuid]
version = "1.16.0"

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.pretty_env_logger]
version = "0.5.0"

[dev-dependencies.rand]
version = "0.9"

[dev-dependencies.serde_json]
version = "1.0.140"

[dev-dependencies.tokio]
features = ["macros", "rt", "rt-multi-thread"]
version = "1.44.2"

[dev-dependencies.toml]
version = "0.8.20"

[[example]]
name = "discover_adapters_peripherals"
path = "examples/discover_adapters_peripherals.rs"

[[example]]
name = "event_driven_discovery"
path = "examples/event_driven_discovery.rs"

[[example]]
name = "lights"
path = "examples/lights.rs"

[[example]]
name = "subscribe_notify_characteristic"
path = "examples/subscribe_notify_characteristic.rs"

[features]
serde = ["uuid/serde", "serde_cr", "serde_bytes"]

[lib]
name = "btleplug"
path = "src/lib.rs"

[package]
authors = ["Nonpolynomial, LLC <kyle@nonpolynomial.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["hardware-support"]
description = """
A Cross-Platform Rust Bluetooth Low Energy (BLE) GATT
library.
"""
edition = "2021"
homepage = "https://github.com/deviceplug/btleplug"
keywords = ["bluetooth", "BLE", "bluez", "uwp", "corebluetooth"]
license = "MIT/Apache-2.0/BSD-3-Clause"
name = "btleplug"
readme = "README.md"
repository = "https://github.com/deviceplug/btleplug"
version = "0.11.8"

[target.'cfg(target_os = "android")'.dependencies.jni]
version = "0.19.0"

[target.'cfg(target_os = "android")'.dependencies.jni-utils]
version = "0.1.1"

[target.'cfg(target_os = "android")'.dependencies.once_cell]
version = "1.20.2"

[target.'cfg(target_os = "linux")'.dependencies.bluez-async]
version = "0.8.0"

[target.'cfg(target_os = "linux")'.dependencies.dbus]
version = "0.9.7"

[target.'cfg(target_os = "windows")'.dependencies.windows]
features = ["Devices_Bluetooth", "Devices_Bluetooth_GenericAttributeProfile", "Devices_Bluetooth_Advertisement", "Devices_Radios", "Foundation_Collections", "Foundation", "Storage_Streams"]
version = "0.61"

[target.'cfg(target_os = "windows")'.dependencies.windows-future]
version = "0.2.0"

[target.'cfg(target_vendor = "apple")'.dependencies.objc2]
version = "0.5.2"

[target.'cfg(target_vendor = "apple")'.dependencies.objc2-core-bluetooth]
default-features = false
features = ["std", "CBAdvertisementData", "CBAttribute", "CBCentralManager", "CBCentralManagerConstants", "CBCharacteristic", "CBDescriptor", "CBManager", "CBPeer", "CBPeripheral", "CBService", "CBUUID"]
version = "0.2.2"

[target.'cfg(target_vendor = "apple")'.dependencies.objc2-foundation]
default-features = false
features = ["std", "block2", "NSArray", "NSData", "NSDictionary", "NSEnumerator", "NSError", "NSObject", "NSString", "NSUUID", "NSValue"]
version = "0.2.2"