mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Organize component Cargo.toml dependencies (#36224)
Signed-off-by: Alex Touchet <26315797+atouchet@users.noreply.github.com>
This commit is contained in:
parent
b445053a7c
commit
1aac377e62
20 changed files with 66 additions and 65 deletions
|
@ -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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue