# 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 = "bluest" version = "0.6.7" authors = ["Alex Moon"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A cross-platform Bluetooth Low Energy (BLE) library" documentation = "https://docs.rs/bluest" readme = "README.md" keywords = [ "bluetooth", "BLE", "gatt", "bluez", "corebluetooth", ] categories = [ "asynchronous", "hardware-support", "os", ] license = "BSD-2-Clause OR Apache-2.0" repository = "https://github.com/alexmoon/bluest/" [package.metadata.docs.rs] default-target = "x86_64-apple-darwin" features = [ "serde", "unstable", "l2cap", ] targets = [ "x86_64-apple-darwin", "x86_64-pc-windows-msvc", "x86_64-unknown-linux-gnu", "aarch64-linux-android", ] [lib] name = "bluest" path = "src/lib.rs" [[example]] name = "blinky" path = "examples/blinky.rs" [[example]] name = "connect" path = "examples/connect.rs" [[example]] name = "connected" path = "examples/connected.rs" [[example]] name = "pair" path = "examples/pair.rs" [[example]] name = "reconnect" path = "examples/reconnect.rs" [[example]] name = "scan" path = "examples/scan.rs" doc-scrape-examples = true [[test]] name = "check_api" path = "tests/check_api.rs" [dependencies.async-trait] version = "0.1.57" [dependencies.futures-core] version = "0.3.28" [dependencies.futures-lite] version = "1.13.0" default-features = false [dependencies.serde] version = "1.0.143" features = ["derive"] optional = true [dependencies.tracing] version = "0.1.36" default-features = false [dev-dependencies.tokio] version = "1.20.1" features = [ "macros", "rt-multi-thread", "time", ] [dev-dependencies.tracing-subscriber] version = "0.3.15" features = ["env-filter"] [features] l2cap = [] serde = [ "dep:serde", "uuid/serde", "bluer/serde", ] unstable = [] [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.async-broadcast] version = "0.5.1" [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.objc] version = "0.2.7" [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.objc-foundation] version = "0.1.1" [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.objc_id] version = "0.1.1" [target.'cfg(not(target_os = "linux"))'.dependencies.uuid] version = "1.1.1" [target.'cfg(target_os = "android")'.dependencies.async-channel] version = "2.2.0" [target.'cfg(target_os = "android")'.dependencies.java-spaghetti] version = "0.2.0" [target.'cfg(target_os = "linux")'.dependencies.bluer] version = "0.16.1" features = ["bluetoothd"] [target.'cfg(target_os = "linux")'.dependencies.tokio] version = "1.20.1" features = ["rt-multi-thread"] [target."cfg(windows)".dependencies.futures-channel] version = "0.3.24" [target."cfg(windows)".dependencies.windows] version = "0.48.0" features = [ "implement", "Foundation", "Foundation_Collections", "Devices_Enumeration", "Devices_Bluetooth", "Devices_Bluetooth_Advertisement", "Devices_Bluetooth_GenericAttributeProfile", "Devices_Radios", "Storage_Streams", ]