[package]
name = "ble-windows-server"
version = "0.2.1"
edition = "2021"
authors = ["AlexArtaud-Dev"]
description = "A simple BLE GATT server library for Windows using WinRT APIs"
license = "MIT"
repository = "https://github.com/AlexArtaud-Dev/ble-windows-server"
keywords = ["ble", "bluetooth", "gatt", "windows", "winrt"]
categories = ["hardware-support", "api-bindings"]
readme = "README.md"
[features]
default = []
json = ["serde", "serde_json"]
[dependencies]
windows = { version = "0.58", features = [
"Devices_Bluetooth",
"Devices_Bluetooth_GenericAttributeProfile",
"Devices_Enumeration",
"Devices_Radios",
"Foundation",
"Foundation_Collections",
"Storage_Streams",
] }
tokio = { version = "1", features = ["sync"] }
uuid = "1"
thiserror = "1"
serde = { version = "1", optional = true }
serde_json = { version = "1", optional = true }
[dev-dependencies]
tokio = { version = "1", features = ["full"] }
rand = "0.8"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"
targets = ["x86_64-pc-windows-msvc"]
[[example]]
name = "simple_broadcast"
path = "examples/simple_broadcast.rs"
[[example]]
name = "patient_monitor"
path = "examples/patient_monitor.rs"