[package]
edition = "2024"
name = "bluetooth-rust"
version = "0.3.3"
build = false
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A bluetooth communication library"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/uglyoldbob/bluetooth-rust.git"
resolver = "2"
[lib]
name = "bluetooth_rust"
path = "src/lib.rs"
[dependencies.async-trait]
version = "0.1.88"
[dependencies.enum_dispatch]
version = "0.3.13"
[dependencies.futures]
version = "0.3.30"
[dependencies.log]
version = "0.4"
[dependencies.ouroboros]
version = "0.18.5"
[dependencies.serde]
version = "1.0.219"
features = ["derive"]
[dependencies.tokio]
version = "1.40.0"
features = ["full"]
[target.'cfg(target_os = "android")'.dependencies.jni]
version = "0.21.1"
features = [
"invocation",
"default",
]
[target.'cfg(target_os = "android")'.dependencies.jni-min-helper]
version = "0.3.0"
[target.'cfg(target_os = "android")'.dependencies.winit]
version = "0.30.7"
features = ["android-native-activity"]
[target.'cfg(target_os = "linux")'.dependencies.bluer]
version = "0.17.3"
features = [
"bluetoothd",
"rfcomm",
"l2cap",
]
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.62"
features = [
"Devices_Bluetooth",
"Devices_Bluetooth_Rfcomm",
"Devices_Enumeration",
"Foundation",
"Foundation_Collections",
"Networking_Sockets",
"Storage_Streams",
]