mirror of
https://github.com/servo/servo.git
synced 2025-08-14 18:05:36 +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,12 +23,12 @@ libc = { workspace = true }
|
|||
log = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
|
||||
[features]
|
||||
sampler = ["unwind-sys", "mach2", "nix"]
|
||||
|
||||
[target.'cfg(target_os = "macos")'.dependencies]
|
||||
mach2 = { version = "0.4", 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 }
|
||||
unwind-sys = { version = "0.1.4", optional = true }
|
||||
|
||||
[features]
|
||||
sampler = ["unwind-sys", "mach2", "nix"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue