[dependencies.async-trait]
version = "0.1.57"
[dependencies.futures-core]
version = "0.3.28"
[dependencies.futures-lite]
default-features = false
version = "1.13.0"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0.143"
[dependencies.tracing]
default-features = false
version = "0.1.36"
[dev-dependencies.tokio]
features = ["macros", "rt-multi-thread", "time"]
version = "1.20.1"
[dev-dependencies.tracing-subscriber]
features = ["env-filter"]
version = "0.3.15"
[[example]]
name = "blinky"
path = "examples/blinky.rs"
[[example]]
name = "connect"
path = "examples/connect.rs"
[[example]]
name = "connected"
path = "examples/connected.rs"
[[example]]
name = "pair"
path = "examples/pair.rs"
[[example]]
name = "reconnect"
path = "examples/reconnect.rs"
[[example]]
doc-scrape-examples = true
name = "scan"
path = "examples/scan.rs"
[features]
l2cap = []
serde = ["dep:serde", "uuid/serde", "bluer/serde"]
unstable = []
[lib]
name = "bluest"
path = "src/lib.rs"
[package]
authors = ["Alex Moon"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["asynchronous", "hardware-support", "os"]
description = "A cross-platform Bluetooth Low Energy (BLE) library"
documentation = "https://docs.rs/bluest"
edition = "2021"
keywords = ["bluetooth", "BLE", "gatt", "bluez", "corebluetooth"]
license = "BSD-2-Clause OR Apache-2.0"
name = "bluest"
readme = "README.md"
repository = "https://github.com/alexmoon/bluest/"
version = "0.6.9"
[package.metadata.docs.rs]
default-target = "x86_64-apple-darwin"
features = ["serde", "unstable", "l2cap"]
targets = ["x86_64-apple-darwin", "x86_64-pc-windows-msvc", "x86_64-unknown-linux-gnu", "aarch64-linux-android"]
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.async-broadcast]
version = "0.7.2"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.async-channel]
version = "2.3.1"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.dispatch2]
version = "0.3.0"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.objc2]
version = "0.6.1"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.objc2-core-bluetooth]
version = "0.3.1"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.objc2-foundation]
version = "0.3.1"
[target.'cfg(not(target_os = "linux"))'.dependencies.uuid]
version = "1.1.1"
[target.'cfg(target_os = "android")'.dependencies.async-channel]
version = "2.2.0"
[target.'cfg(target_os = "android")'.dependencies.java-spaghetti]
version = "0.2.0"
[target.'cfg(target_os = "linux")'.dependencies.bluer]
features = ["bluetoothd"]
version = "0.16.1"
[target.'cfg(target_os = "linux")'.dependencies.tokio]
features = ["rt-multi-thread"]
version = "1.20.1"
[target."cfg(windows)".dependencies.futures-channel]
version = "0.3.24"
[target."cfg(windows)".dependencies.windows]
features = ["implement", "Foundation", "Foundation_Collections", "Devices_Enumeration", "Devices_Bluetooth", "Devices_Bluetooth_Advertisement", "Devices_Bluetooth_GenericAttributeProfile", "Devices_Radios", "Storage_Streams", "Win32_Foundation", "Win32_System_LibraryLoader", "Win32_System_SystemInformation"]
version = "0.48.0"
[[test]]
name = "check_api"
path = "tests/check_api.rs"