mirror of
https://github.com/servo/servo.git
synced 2025-09-29 16:19:14 +01:00
Cargo.toml cleanups. Mostly ordering fixes. Testing: No tests for Cargo.toml edits. --------- Signed-off-by: Alex Touchet <26315797+atouchet@users.noreply.github.com>
38 lines
1 KiB
TOML
38 lines
1 KiB
TOML
[package]
|
|
name = "bluetooth"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[lib]
|
|
name = "bluetooth"
|
|
path = "lib.rs"
|
|
|
|
[dependencies]
|
|
base = { workspace = true }
|
|
bitflags = { workspace = true }
|
|
bluetooth_traits = { workspace = true }
|
|
blurmock = { version = "0.1.2", optional = true }
|
|
embedder_traits = { workspace = true }
|
|
ipc-channel = { workspace = true }
|
|
log = { workspace = true }
|
|
servo_config = { path = "../config" }
|
|
servo_rand = { path = "../rand" }
|
|
uuid = { workspace = true }
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
blurz = { version = "0.3", optional = true }
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
blurdroid = { version = "0.1.2", optional = true }
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
blurmac = { path = "../../third_party/blurmac", optional = true }
|
|
|
|
[features]
|
|
default = ["bluetooth-test"]
|
|
bluetooth-test = ["blurmock"]
|
|
native-bluetooth = ["bluetooth-test", "blurdroid", "blurmac", "blurz"]
|