[package]
name = "btleplug"
version = "0.6.0"
authors = ["Nonpolynomial, LLC <kyle@nonpolynomial.com>"]
license = "MIT/Apache-2.0/BSD-3-Clause"
repository = "https://github.com/deviceplug/btleplug"
homepage = "https://github.com/deviceplug/btleplug"
edition = "2018"
description = """
A Cross-Platform Rust Bluetooth Low Energy (BLE) GATT
library.
"""
readme = "README.md"
keywords = ["bluetooth", "BLE", "bluez", "uwp", "corebluetooth"]
categories = ["hardware-support"]
[lib]
name = "btleplug"
path = "src/lib.rs"
[dependencies]
static_assertions = "1.1.0"
libc = "0.2.85"
nix = "0.19.1"
bytes = "1.0.1"
num = "0.3.1"
log = "0.4.14"
enum_primitive = "0.1.1"
bitflags = "1.2.1"
thiserror = "1.0.23"
backtrace = "0.3"
async-std = "1.9.0"
uuid = "0.8.2"
serde = { version = "1.0.123", features = ["derive"], default-features = false, optional = true }
dashmap = "4.0.2"
futures = "0.3.12"
parking_lot = "0.11.1"
displaydoc = "0.1.7"
winrt = "0.7.2"
[target.'cfg(target_os = "linux")'.dependencies]
dbus = "0.9.1"
[target.'cfg(target_os = "macos")'.dependencies]
objc = "0.2.7"
cocoa = "0.24.0"
[target.'cfg(target_os = "ios")'.dependencies]
objc = "0.2.7"
cocoa = "0.24.0"
[dev-dependencies]
simple_logger = "1.11.0"
rand = "0.8.3"
[build-dependencies.dbus-codegen]
version = "0.9.1"
default-features = false