Organize component Cargo.toml dependencies (#36224)

Signed-off-by: Alex Touchet <26315797+atouchet@users.noreply.github.com>
This commit is contained in:
Alex Touchet 2025-03-30 12:03:54 -07:00 committed by GitHub
parent b445053a7c
commit 1aac377e62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 66 additions and 65 deletions

View file

@ -23,11 +23,6 @@ servo_config = { path = "../config" }
servo_rand = { path = "../rand" }
uuid = { workspace = true }
[features]
default = ["bluetooth-test"]
native-bluetooth = ["blurz", "blurdroid", "blurmac", "bluetooth-test"]
bluetooth-test = ["blurmock"]
[target.'cfg(target_os = "linux")'.dependencies]
blurz = { version = "0.3", optional = true }
@ -36,3 +31,8 @@ blurdroid = { version = "0.1.2", optional = true }
[target.'cfg(target_os = "macos")'.dependencies]
blurmac = { path = "../../third_party/blurmac", optional = true }
[features]
default = ["bluetooth-test"]
native-bluetooth = ["blurz", "blurdroid", "blurmac", "bluetooth-test"]
bluetooth-test = ["blurmock"]