# 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 = "ble-peripheral-rust" version = "0.1.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A cross-platform Rust crate for building Bluetooth Low Energy peripherals" homepage = "https://github.com/rohitsangwan01/ble_peripheral_rust" readme = "README.md" keywords = [ "bluetooth", "ble", "peripheral", "bluez", "corebluetooth", ] categories = [ "embedded", "hardware-support", "api-bindings", ] license = "MIT" repository = "https://github.com/rohitsangwan01/ble_peripheral_rust" [lib] name = "ble_peripheral_rust" path = "src/lib.rs" [[example]] name = "server" path = "examples/server.rs" [dependencies.futures] version = "0.3.31" [dependencies.log] version = "0.4" [dependencies.tokio] version = "1.41.0" features = [ "sync", "time", "rt-multi-thread", "macros", ] [dependencies.uuid] version = "1.11.0" [dev-dependencies.pretty_env_logger] version = "0.5.0" [target.'cfg(target_os = "linux")'.dependencies.bluer] version = "0.17.3" features = ["bluetoothd"] [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", "CBATTRequest", "CBError", "CBCentral", "CBCentralManager", "CBPeripheralManager", "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", ]