[package]
name = "btleplug"
version = "0.5.3"
authors = ["Nonpolynomial <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]
libc = "0.2.79"
nix = "0.18.0"
bytes = "0.5.6"
num = "0.3.0"
log = "0.4.11"
enum_primitive = "0.1.1"
bitflags = "1.2.1"
failure = "0.1.8"
failure_derive = "0.1.8"
backtrace = "0.3.51"
async-std = { version = "1.6.5", features = ["unstable"] }
uuid = "0.8.1"
serde = { version = "1.0.116", features = ["derive"], default-features = false, optional = true }
dashmap = "3.11.10"
[dependencies.nom]
version = "^4"
features = ["verbose-errors"]
[dependencies.winrt]
version = "^0.6"
features = ["windows-devices", "windows-storage"]
[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]
rand = "0.7.3"