mirror of
https://github.com/servo/servo.git
synced 2025-09-22 21:00:14 +01:00
I noticed that there are various dependencies that are listed independently even though they are already in the Servo workspace. Is there any issue with converting these to workspace dependencies? Testing: No tests for Cargo.toml edits. Signed-off-by: Alex Touchet <26315797+atouchet@users.noreply.github.com>
38 lines
1.1 KiB
TOML
38 lines
1.1 KiB
TOML
[package]
|
|
name = "background_hang_monitor"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[lib]
|
|
name = "background_hang_monitor"
|
|
path = "lib.rs"
|
|
test = false
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
background_hang_monitor_api = { workspace = true }
|
|
backtrace = { workspace = true }
|
|
base = { workspace = true }
|
|
crossbeam-channel = { workspace = true }
|
|
ipc-channel = { workspace = true }
|
|
libc = { workspace = true }
|
|
log = { workspace = true }
|
|
rustc-demangle = { version = "0.1", optional = true }
|
|
rustc-hash = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
mach2 = { workspace = true, optional = true }
|
|
|
|
[target.'cfg(all(target_os = "linux", not(any(target_arch = "arm", target_arch = "aarch64", target_env = "ohos", target_env = "musl"))))'.dependencies]
|
|
nix = { workspace = true, features = ["signal"], optional = true }
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
nix = { workspace = true, features = ["signal"], optional = true }
|
|
|
|
[features]
|
|
sampler = ["mach2", "nix", "rustc-demangle"]
|