mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 14:40:06 +02:00
Move more dependencies to workspace level (#12270)
# Description This is a followup to #12043 that moves more dependency versions to workspace dependencies. # User-Facing Changes N/A # Tests + Formatting - 🟢 `toolkit fmt` - 🟢 `toolkit clippy` - 🟢 `toolkit test` - 🟢 `toolkit test stdlib`
This commit is contained in:
@ -13,7 +13,7 @@ license = "MIT"
|
||||
bench = false
|
||||
|
||||
[dependencies]
|
||||
libc = "0.2"
|
||||
libc = { workspace = true }
|
||||
log = { workspace = true }
|
||||
sysinfo = { workspace = true }
|
||||
|
||||
@ -21,17 +21,17 @@ sysinfo = { workspace = true }
|
||||
nix = { workspace = true, default-features = false, features = ["fs", "term", "process", "signal"] }
|
||||
|
||||
[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies]
|
||||
procfs = "0.16"
|
||||
procfs = { workspace = true }
|
||||
|
||||
[target.'cfg(target_os = "macos")'.dependencies]
|
||||
libproc = "0.14"
|
||||
mach2 = "0.4"
|
||||
libproc = { workspace = true }
|
||||
mach2 = { workspace = true }
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
chrono = { workspace = true, default-features = false, features = ["clock"] }
|
||||
ntapi = "0.4"
|
||||
once_cell = { workspace = true }
|
||||
windows = { version = "0.54", features = [
|
||||
windows = { workspace = true, features = [
|
||||
"Wdk_System_SystemServices",
|
||||
"Wdk_System_Threading",
|
||||
"Win32_Foundation",
|
||||
|
Reference in New Issue
Block a user