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