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,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"]