Integrate the devices respository (#30974)

Despite the name of this dependency, it only handles bluetooth. Because
it's a separate repository. Integrating it, allows changes here to be
tested more consistently. In addition, it's likely that new bluetooth
libraries will allow removing the majority of the platform-specific code
in this directory.

This is based on the version of this dependency from:
https://github.com/servo/devices/pull/34
This commit is contained in:
Martin Robinson 2024-01-09 10:13:41 +01:00 committed by GitHub
parent fddc4a430f
commit 6a804cd775
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 3880 additions and 27 deletions

18
third_party/blurmac/Cargo.toml vendored Normal file
View file

@ -0,0 +1,18 @@
[package]
name = "blurmac"
description = "Bluetooth Rust lib using macOS CoreBluetooth"
version = "0.1.0"
readme = "README.md"
keywords = ["bluetooth", "ble", "macOS", "CoreBluetooth"]
repository = "https://github.com/akosthekiss/blurmac"
authors = ["Akos Kiss <akiss@inf.u-szeged.hu>"]
license = "BSD-3-Clause"
[lib]
name = "blurmac"
path = "src/lib.rs"
crate-type = ["rlib"]
[dependencies]
log = "0.4"
objc = "0.2"