# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "btleplug-kuyoonjo"
version = "0.11.7"
authors = ["Nonpolynomial, LLC <kyle@nonpolynomial.com>"]
description = """
A Cross-Platform Rust Bluetooth Low Energy (BLE) GATT
library.
"""
homepage = "https://github.com/deviceplug/btleplug"
readme = "README.md"
keywords = [
    "bluetooth",
    "BLE",
    "bluez",
    "uwp",
    "corebluetooth",
]
categories = ["hardware-support"]
license = "MIT/Apache-2.0/BSD-3-Clause"
repository = "https://github.com/deviceplug/btleplug"

[lib]
name = "btleplug"
path = "src/lib.rs"

[dependencies.async-trait]
version = "0.1.83"

[dependencies.bitflags]
version = "2.6.0"

[dependencies.dashmap]
version = "6.1.0"

[dependencies.futures]
version = "0.3.31"

[dependencies.log]
version = "0.4.22"

[dependencies.serde_bytes]
version = "0.11.15"
optional = true

[dependencies.serde_cr]
version = "1.0.216"
features = ["derive"]
optional = true
default-features = false
package = "serde"

[dependencies.static_assertions]
version = "1.1.0"

[dependencies.thiserror]
version = "2.0.9"

[dependencies.tokio]
version = "1.42.0"
features = [
    "sync",
    "rt",
]

[dependencies.tokio-stream]
version = "0.1.17"
features = ["sync"]

[dependencies.uuid]
version = "1.11.0"

[dev-dependencies.pretty_env_logger]
version = "0.5.0"

[dev-dependencies.rand]
version = "0.8.5"

[dev-dependencies.serde_json]
version = "1.0.134"

[dev-dependencies.tokio]
version = "1.42.0"
features = [
    "macros",
    "rt",
    "rt-multi-thread",
]

[dev-dependencies.toml]
version = "0.8.19"

[features]
serde = [
    "uuid/serde",
    "serde_cr",
    "serde_bytes",
]

[target."cfg(target_os = \"android\")".dependencies.jni]
version = "0.19.0"

[target."cfg(target_os = \"android\")".dependencies.jni-utils]
version = "0.1.1"

[target."cfg(target_os = \"android\")".dependencies.once_cell]
version = "1.20.2"

[target."cfg(target_os = \"linux\")".dependencies.bluez-async]
version = "0.8.0"

[target."cfg(target_os = \"linux\")".dependencies.dbus]
version = "0.9.7"

[target."cfg(target_os = \"windows\")".dependencies.windows]
version = "0.57.0"
features = [
    "Devices_Bluetooth",
    "Devices_Bluetooth_GenericAttributeProfile",
    "Devices_Bluetooth_Advertisement",
    "Devices_Radios",
    "Foundation_Collections",
    "Foundation",
    "Storage_Streams",
]

[target."cfg(target_vendor = \"apple\")".dependencies.objc2]
version = "0.5.2"

[target."cfg(target_vendor = \"apple\")".dependencies.objc2-core-bluetooth]
version = "0.2.2"
features = [
    "CBAdvertisementData",
    "CBAttribute",
    "CBCentralManager",
    "CBCentralManagerConstants",
    "CBCharacteristic",
    "CBDescriptor",
    "CBManager",
    "CBPeer",
    "CBPeripheral",
    "CBService",
    "CBUUID",
]

[target."cfg(target_vendor = \"apple\")".dependencies.objc2-foundation]
version = "0.2.2"
features = [
    "block2",
    "NSArray",
    "NSData",
    "NSDictionary",
    "NSEnumerator",
    "NSError",
    "NSObject",
    "NSString",
    "NSUUID",
    "NSValue",
]