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:
Antoine Büsch 2024-03-24 10:46:02 +11:00 committed by GitHub
parent 544e7bcb5e
commit 4ddc35cdad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
23 changed files with 225 additions and 139 deletions

23
Cargo.lock generated
View File

@ -3077,7 +3077,7 @@ dependencies = [
"serde_json", "serde_json",
"thiserror", "thiserror",
"typetag", "typetag",
"windows 0.52.0", "windows 0.54.0",
] ]
[[package]] [[package]]
@ -5983,9 +5983,9 @@ checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a"
[[package]] [[package]]
name = "uu_cp" name = "uu_cp"
version = "0.0.23" version = "0.0.24"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4c8e090cfcfa51cb224d247e05938d25718a7203c6f8c0f0de7b3b031d99dcea" checksum = "927869e2df48ac2f09ebc083459e96efc97028863a41dce96cfe8164c5c722ba"
dependencies = [ dependencies = [
"clap", "clap",
"filetime", "filetime",
@ -5999,9 +5999,9 @@ dependencies = [
[[package]] [[package]]
name = "uu_mkdir" name = "uu_mkdir"
version = "0.0.23" version = "0.0.24"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dcbf657c9e738d16ebc5c161a611ff25327c1fb599645afb2831062efb23c851" checksum = "9d303b73c3a1ede83101c4a01c7f2f72f000ec9241a5d788ceba6a91a9ce1cb3"
dependencies = [ dependencies = [
"clap", "clap",
"uucore", "uucore",
@ -6009,9 +6009,9 @@ dependencies = [
[[package]] [[package]]
name = "uu_mktemp" name = "uu_mktemp"
version = "0.0.23" version = "0.0.24"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "154531208d9ec160629bf9545a56ad9df38e964e547e0a17ee9d75aeec9831cb" checksum = "c7e25b0928c96297836d3400c049d7c772073d0534720e4d13dd0e4a6ed52349"
dependencies = [ dependencies = [
"clap", "clap",
"rand", "rand",
@ -6021,9 +6021,9 @@ dependencies = [
[[package]] [[package]]
name = "uu_mv" name = "uu_mv"
version = "0.0.23" version = "0.0.24"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5e307e61d34d2e1dba0659ef443ada8340ec3b788bd6c8fc7fdfe0e02c6b4cfc" checksum = "8ec472139edb0e91d9706779bfdf45814b139d8b23bea2ad0feaaac1fb6c1523"
dependencies = [ dependencies = [
"clap", "clap",
"fs_extra", "fs_extra",
@ -6033,9 +6033,9 @@ dependencies = [
[[package]] [[package]]
name = "uu_whoami" name = "uu_whoami"
version = "0.0.23" version = "0.0.24"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "70589dc3b41f34cbfe1fb22b8f20fcac233fa4565409905f12dd06780b18374d" checksum = "521f16cb67ba9f55341e00cd6b806556cefef430e9d80ea425607628da3a40e5"
dependencies = [ dependencies = [
"clap", "clap",
"libc", "libc",
@ -6061,6 +6061,7 @@ dependencies = [
"wild", "wild",
"winapi-util", "winapi-util",
"windows-sys 0.48.0", "windows-sys 0.48.0",
"xattr",
] ]
[[package]] [[package]]

View File

@ -55,25 +55,110 @@ members = [
] ]
[workspace.dependencies] [workspace.dependencies]
alphanumeric-sort = "1.5"
ansi-str = "0.8"
base64 = "0.22"
bracoxide = "0.1.2"
byteorder = "1.5"
bytesize = "1.3"
calamine = "0.24.0"
chardetng = "0.1.17"
chrono = { default-features = false, version = "0.4" } chrono = { default-features = false, version = "0.4" }
chrono-humanize = "0.2.3"
chrono-tz = "0.8"
crossbeam-channel = "0.5.8"
crossterm = "0.27" crossterm = "0.27"
csv = "1.3"
ctrlc = "3.4" ctrlc = "3.4"
dialoguer = { default-features = false, version = "0.11" }
digest = { default-features = false, version = "0.10" }
dirs-next = "2.0"
dtparse = "2.0"
encoding_rs = "0.8"
fancy-regex = "0.13" fancy-regex = "0.13"
filesize = "0.2"
filetime = "0.2"
fs_extra = "1.3"
fuzzy-matcher = "0.3"
hamcrest2 = "0.3"
heck = "0.5.0"
human-date-parser = "0.1.1"
indexmap = "2.2"
indicatif = "0.17"
is_executable = "1.0"
itertools = "0.12"
libc = "0.2"
libproc = "0.14"
log = "0.4" log = "0.4"
lru = "0.12"
lscolors = { version = "0.17", default-features = false }
lsp-server = "0.7.5"
lsp-types = "0.95.0"
mach2 = "0.4"
md5 = { version = "0.10", package = "md-5"}
miette = "7.2" miette = "7.2"
mime = "0.3"
mime_guess = "2.0"
mockito = { version = "1.4", default-features = false }
native-tls = "0.2"
nix = { version = "0.27", default-features = false } nix = { version = "0.27", default-features = false }
notify-debouncer-full = { version = "0.3", default-features = false }
nu-ansi-term = "0.50.0" nu-ansi-term = "0.50.0"
num-format = "0.4"
num-traits = "0.2"
omnipath = "0.1"
once_cell = "1.18" once_cell = "1.18"
open = "5.1"
os_pipe = "1.1"
pathdiff = "0.2" pathdiff = "0.2"
percent-encoding = "2" percent-encoding = "2"
print-positions = "0.6"
procfs = "0.16.0"
pwd = "1.3"
quick-xml = "0.31.0"
quickcheck = "1.0"
quickcheck_macros = "1.0"
rand = "0.8"
ratatui = "0.26"
rayon = "1.9"
reedline = "0.30.0" reedline = "0.30.0"
regex = "1.9.5"
ropey = "1.6.1"
roxmltree = "0.19"
rstest = { version = "0.18", default-features = false } rstest = { version = "0.18", default-features = false }
rusqlite = "0.31"
rust-embed = "8.2.0"
same-file = "1.0"
serde = { version = "1.0", default-features = false }
serde_json = "1.0" serde_json = "1.0"
serde_urlencoded = "0.7.1"
serde_yaml = "0.9"
sha2 = "0.10"
strip-ansi-escapes = "0.2.0"
sysinfo = "0.30" sysinfo = "0.30"
tabled = { version = "0.14.0", default-features = false }
tempfile = "3.10" tempfile = "3.10"
terminal_size = "0.3"
titlecase = "2.0"
toml = "0.8"
trash = "3.3"
umask = "2.1"
unicode-segmentation = "1.11" unicode-segmentation = "1.11"
unicode-width = "0.1"
ureq = { version = "2.9", default-features = false }
url = "2.2"
uu_cp = "0.0.24"
uu_mkdir = "0.0.24"
uu_mktemp = "0.0.24"
uu_mv = "0.0.24"
uu_whoami = "0.0.24"
uucore = "0.0.24"
uuid = "1.8.0" uuid = "1.8.0"
v_htmlescape = "0.15.0"
wax = "0.6"
which = "6.0.0" which = "6.0.0"
windows = "0.54"
winreg = "0.52"
[dependencies] [dependencies]
nu-cli = { path = "./crates/nu-cli", version = "0.91.1" } nu-cli = { path = "./crates/nu-cli", version = "0.91.1" }
@ -123,7 +208,7 @@ nix = { workspace = true, default-features = false, features = [
[dev-dependencies] [dev-dependencies]
nu-test-support = { path = "./crates/nu-test-support", version = "0.91.1" } nu-test-support = { path = "./crates/nu-test-support", version = "0.91.1" }
assert_cmd = "2.0" assert_cmd = "2.0"
dirs-next = "2.0" dirs-next = { workspace = true }
divan = "0.1.14" divan = "0.1.14"
pretty_assertions = "1.4" pretty_assertions = "1.4"
rstest = { workspace = true, default-features = false } rstest = { workspace = true, default-features = false }

View File

@ -30,11 +30,11 @@ reedline = { workspace = true, features = ["bashisms", "sqlite"] }
chrono = { default-features = false, features = ["std"], workspace = true } chrono = { default-features = false, features = ["std"], workspace = true }
crossterm = { workspace = true } crossterm = { workspace = true }
fancy-regex = { workspace = true } fancy-regex = { workspace = true }
fuzzy-matcher = "0.3" fuzzy-matcher = { workspace = true }
is_executable = "1.0" is_executable = { workspace = true }
log = { workspace = true } log = { workspace = true }
miette = { workspace = true, features = ["fancy-no-backtrace"] } miette = { workspace = true, features = ["fancy-no-backtrace"] }
lscolors = { version = "0.17", default-features = false, features = ["nu-ansi-term"] } lscolors = { workspace = true, default-features = false, features = ["nu-ansi-term"] }
once_cell = { workspace = true } once_cell = { workspace = true }
percent-encoding = { workspace = true } percent-encoding = { workspace = true }
pathdiff = { workspace = true } pathdiff = { workspace = true }

View File

@ -15,7 +15,7 @@ nu-parser = { path = "../nu-parser", version = "0.91.1" }
nu-path = { path = "../nu-path", version = "0.91.1" } nu-path = { path = "../nu-path", version = "0.91.1" }
nu-protocol = { path = "../nu-protocol", version = "0.91.1" } nu-protocol = { path = "../nu-protocol", version = "0.91.1" }
indexmap = "2.2" indexmap = { workspace = true }
miette = { workspace = true } miette = { workspace = true }
[dev-dependencies] [dev-dependencies]

View File

@ -19,11 +19,11 @@ nu-protocol = { path = "../nu-protocol", version = "0.91.1" }
# Potential dependencies for extras # Potential dependencies for extras
chrono = { workspace = true, features = ["std", "unstable-locales"], default-features = false } chrono = { workspace = true, features = ["std", "unstable-locales"], default-features = false }
chrono-tz = "0.8" chrono-tz = { workspace = true }
fancy-regex = { workspace = true } fancy-regex = { workspace = true }
indexmap = { version = "2.2" } indexmap = { workspace = true }
num = { version = "0.4", optional = true } num = { version = "0.4", optional = true }
serde = { version = "1.0", features = ["derive"] } serde = { workspace = true, features = ["derive"] }
sqlparser = { version = "0.43", optional = true } sqlparser = { version = "0.43", optional = true }
polars-io = { version = "0.37", features = ["avro"], optional = true } polars-io = { version = "0.37", features = ["avro"], optional = true }
polars-arrow = { version = "0.37", optional = true } polars-arrow = { version = "0.37", optional = true }

View File

@ -13,24 +13,24 @@ version = "0.91.1"
bench = false bench = false
[dependencies] [dependencies]
nu-engine = { path = "../nu-engine", version = "0.91.1" }
nu-parser = { path = "../nu-parser", version = "0.91.1" }
nu-protocol = { path = "../nu-protocol", version = "0.91.1" }
nu-cmd-base = { path = "../nu-cmd-base", version = "0.91.1" } nu-cmd-base = { path = "../nu-cmd-base", version = "0.91.1" }
nu-engine = { path = "../nu-engine", version = "0.91.1" }
nu-json = { version = "0.91.1", path = "../nu-json" }
nu-parser = { path = "../nu-parser", version = "0.91.1" }
nu-pretty-hex = { version = "0.91.1", path = "../nu-pretty-hex" }
nu-protocol = { path = "../nu-protocol", version = "0.91.1" }
nu-utils = { path = "../nu-utils", version = "0.91.1" } nu-utils = { path = "../nu-utils", version = "0.91.1" }
# Potential dependencies for extras # Potential dependencies for extras
heck = "0.5.0" heck = { workspace = true }
num-traits = "0.2" num-traits = { workspace = true }
nu-ansi-term = { workspace = true } nu-ansi-term = { workspace = true }
fancy-regex = { workspace = true } fancy-regex = { workspace = true }
rust-embed = "8.2.0" rust-embed = { workspace = true }
serde = "1.0.164" serde = { workspace = true }
nu-pretty-hex = { version = "0.91.1", path = "../nu-pretty-hex" } serde_urlencoded = { workspace = true }
nu-json = { version = "0.91.1", path = "../nu-json" } v_htmlescape = { workspace = true }
serde_urlencoded = "0.7.1" itertools = { workspace = true }
v_htmlescape = "0.15.0"
itertools = "0.12"
[features] [features]
extra = ["default"] extra = ["default"]

View File

@ -17,7 +17,7 @@ nu-parser = { path = "../nu-parser", version = "0.91.1" }
nu-protocol = { path = "../nu-protocol", version = "0.91.1" } nu-protocol = { path = "../nu-protocol", version = "0.91.1" }
nu-utils = { path = "../nu-utils", version = "0.91.1" } nu-utils = { path = "../nu-utils", version = "0.91.1" }
itertools = "0.12" itertools = { workspace = true }
shadow-rs = { version = "0.26", default-features = false } shadow-rs = { version = "0.26", default-features = false }
[build-dependencies] [build-dependencies]

View File

@ -16,7 +16,7 @@ nu-engine = { path = "../nu-engine", version = "0.91.1" }
nu-json = { path = "../nu-json", version = "0.91.1" } nu-json = { path = "../nu-json", version = "0.91.1" }
nu-ansi-term = { workspace = true } nu-ansi-term = { workspace = true }
serde = { version = "1.0", features = ["derive"] } serde = { workspace = true, features = ["derive"] }
[dev-dependencies] [dev-dependencies]
nu-test-support = { path = "../nu-test-support", version = "0.91.1" } nu-test-support = { path = "../nu-test-support", version = "0.91.1" }

View File

@ -28,92 +28,92 @@ nu-term-grid = { path = "../nu-term-grid", version = "0.91.1" }
nu-utils = { path = "../nu-utils", version = "0.91.1" } nu-utils = { path = "../nu-utils", version = "0.91.1" }
nu-ansi-term = { workspace = true } nu-ansi-term = { workspace = true }
alphanumeric-sort = "1.5" alphanumeric-sort = { workspace = true }
base64 = "0.22" base64 = { workspace = true }
byteorder = "1.5" bracoxide = { workspace = true }
bytesize = "1.3" byteorder = { workspace = true }
calamine = { version = "0.24.0", features = ["dates"] } bytesize = { workspace = true }
calamine = { workspace = true, features = ["dates"] }
chardetng = { workspace = true }
chrono = { workspace = true, features = ["std", "unstable-locales", "clock"], default-features = false } chrono = { workspace = true, features = ["std", "unstable-locales", "clock"], default-features = false }
chrono-humanize = "0.2.3" chrono-humanize = { workspace = true }
chrono-tz = "0.8" chrono-tz = { workspace = true }
crossterm = { workspace = true } crossterm = { workspace = true }
csv = "1.3" csv = { workspace = true }
dialoguer = { default-features = false, features = ["fuzzy-select"], version = "0.11" } dialoguer = { workspace = true, default-features = false, features = ["fuzzy-select"] }
digest = { default-features = false, version = "0.10" } digest = { workspace = true, default-features = false }
dtparse = "2.0" dtparse = { workspace = true }
encoding_rs = "0.8" encoding_rs = { workspace = true }
fancy-regex = { workspace = true } fancy-regex = { workspace = true }
filesize = "0.2" filesize = { workspace = true }
filetime = "0.2" filetime = { workspace = true }
fs_extra = "1.3" fs_extra = { workspace = true }
human-date-parser = "0.1.1" human-date-parser = { workspace = true }
indexmap = "2.2" indexmap = { workspace = true }
indicatif = "0.17" indicatif = { workspace = true }
itertools = "0.12" itertools = { workspace = true }
lscolors = { version = "0.17", default-features = false, features = ["nu-ansi-term"] }
log = { workspace = true } log = { workspace = true }
md5 = { package = "md-5", version = "0.10" } lscolors = { workspace = true, default-features = false, features = ["nu-ansi-term"] }
mime = "0.3" md5 = { workspace = true }
mime_guess = "2.0" mime = { workspace = true }
native-tls = "0.2" mime_guess = { workspace = true }
notify-debouncer-full = { version = "0.3", default-features = false } native-tls = { workspace = true }
num-format = { version = "0.4" } notify-debouncer-full = { workspace = true, default-features = false }
num-traits = "0.2" num-format = { workspace = true }
open = "5.1" num-traits = { workspace = true }
once_cell = { workspace = true } once_cell = { workspace = true }
os_pipe = "1.1" open = { workspace = true }
os_pipe = { workspace = true }
pathdiff = { workspace = true } pathdiff = { workspace = true }
percent-encoding = { workspace = true } percent-encoding = { workspace = true }
print-positions = "0.6" print-positions = { workspace = true }
quick-xml = "0.31.0" quick-xml = { workspace = true }
rand = "0.8" rand = { workspace = true }
rayon = "1.9" rayon = { workspace = true }
regex = "1.9.5" regex = { workspace = true }
roxmltree = "0.19" roxmltree = { workspace = true }
rusqlite = { version = "0.31", features = ["bundled", "backup", "chrono"], optional = true } rusqlite = { workspace = true, features = ["bundled", "backup", "chrono"], optional = true }
same-file = "1.0" same-file = { workspace = true }
serde = { version = "1.0", features = ["derive"] } serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true, features = ["preserve_order"] } serde_json = { workspace = true, features = ["preserve_order"] }
serde_urlencoded = "0.7" serde_urlencoded = { workspace = true }
serde_yaml = "0.9" serde_yaml = { workspace = true }
sha2 = "0.10" sha2 = { workspace = true }
sysinfo = { workspace = true } sysinfo = { workspace = true }
tabled = { version = "0.14.0", features = ["color"], default-features = false } tabled = { workspace = true, features = ["color"], default-features = false }
terminal_size = "0.3" terminal_size = { workspace = true }
titlecase = "2.0" titlecase = { workspace = true }
toml = "0.8" toml = { workspace = true }
unicode-segmentation = { workspace = true } unicode-segmentation = { workspace = true }
ureq = { version = "2.9", default-features = false, features = ["charset", "gzip", "json", "native-tls"] } ureq = { workspace = true, default-features = false, features = ["charset", "gzip", "json", "native-tls"] }
url = "2.2" url = { workspace = true }
uu_mv = "0.0.23" uu_cp = { workspace = true }
uu_cp = "0.0.23" uu_mkdir = { workspace = true }
uu_whoami = "0.0.23" uu_mktemp = { workspace = true }
uu_mkdir = "0.0.23" uu_mv = { workspace = true }
uu_mktemp = "0.0.23" uu_whoami = { workspace = true }
uuid = { workspace = true, features = ["v4"] } uuid = { workspace = true, features = ["v4"] }
v_htmlescape = "0.15.0" v_htmlescape = { workspace = true }
wax = { version = "0.6" } wax = { workspace = true }
which = { workspace = true, optional = true } which = { workspace = true, optional = true }
bracoxide = "0.1.2"
chardetng = "0.1.17"
[target.'cfg(windows)'.dependencies] [target.'cfg(windows)'.dependencies]
winreg = "0.52" winreg = { workspace = true }
[target.'cfg(not(windows))'.dependencies] [target.'cfg(not(windows))'.dependencies]
uucore = { version = "0.0.24", features = ["mode"] } uucore = { workspace = true, features = ["mode"] }
[target.'cfg(unix)'.dependencies] [target.'cfg(unix)'.dependencies]
libc = "0.2" libc = { workspace = true }
umask = "2.1" umask = { workspace = true }
nix = { workspace = true, default-features = false, features = ["user", "resource"] } nix = { workspace = true, default-features = false, features = ["user", "resource"] }
[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies] [target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies]
procfs = "0.16.0" procfs = { workspace = true }
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies.trash] [target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies.trash]
optional = true optional = true
version = "3.3" workspace = true
[target.'cfg(windows)'.dependencies.windows] [target.'cfg(windows)'.dependencies.windows]
features = [ features = [
@ -124,7 +124,7 @@ features = [
"Win32_Security", "Win32_Security",
"Win32_System_Threading", "Win32_System_Threading",
] ]
version = "0.54" workspace = true
[features] [features]
plugin = ["nu-parser/plugin"] plugin = ["nu-parser/plugin"]
@ -136,8 +136,8 @@ which-support = ["which"]
nu-cmd-lang = { path = "../nu-cmd-lang", version = "0.91.1" } nu-cmd-lang = { path = "../nu-cmd-lang", version = "0.91.1" }
nu-test-support = { path = "../nu-test-support", version = "0.91.1" } nu-test-support = { path = "../nu-test-support", version = "0.91.1" }
dirs-next = "2.0" dirs-next = { workspace = true }
mockito = { version = "1.4", default-features = false } mockito = { workspace = true, default-features = false }
quickcheck = "1.0" quickcheck = { workspace = true }
quickcheck_macros = "1.0" quickcheck_macros = { workspace = true }
rstest = { workspace = true, default-features = false } rstest = { workspace = true, default-features = false }

View File

@ -21,12 +21,12 @@ nu-utils = { path = "../nu-utils", version = "0.91.1" }
nu-ansi-term = { workspace = true } nu-ansi-term = { workspace = true }
nu-pretty-hex = { path = "../nu-pretty-hex", version = "0.91.1" } nu-pretty-hex = { path = "../nu-pretty-hex", version = "0.91.1" }
terminal_size = "0.3" terminal_size = { workspace = true }
strip-ansi-escapes = "0.2.0" strip-ansi-escapes = { workspace = true }
crossterm = { workspace = true } crossterm = { workspace = true }
ratatui = "0.26" ratatui = { workspace = true }
ansi-str = "0.8" ansi-str = { workspace = true }
unicode-width = "0.1" unicode-width = { workspace = true }
lscolors = { version = "0.17", default-features = false, features = [ lscolors = { workspace = true, default-features = false, features = [
"nu-ansi-term", "nu-ansi-term",
] } ] }

View File

@ -18,9 +18,9 @@ default = ["preserve_order"]
[dependencies] [dependencies]
linked-hash-map = { version = "0.5", optional = true } linked-hash-map = { version = "0.5", optional = true }
num-traits = "0.2" num-traits = { workspace = true }
serde = "1.0" serde = { workspace = true }
serde_json = "1.0.114" serde_json = { workspace = true }
[dev-dependencies] [dev-dependencies]
# nu-path = { path="../nu-path", version = "0.91.1" } # nu-path = { path="../nu-path", version = "0.91.1" }

View File

@ -14,12 +14,12 @@ nu-protocol = { path = "../nu-protocol", version = "0.91.1" }
reedline = { workspace = true } reedline = { workspace = true }
crossbeam-channel = "0.5.8" crossbeam-channel = { workspace = true }
lsp-types = "0.95.0" lsp-types = { workspace = true }
lsp-server = "0.7.5" lsp-server = { workspace = true }
miette = { workspace = true } miette = { workspace = true }
ropey = "1.6.1" ropey = { workspace = true }
serde = "1.0" serde = { workspace = true }
serde_json = { workspace = true } serde_json = { workspace = true }
[dev-dependencies] [dev-dependencies]

View File

@ -17,9 +17,9 @@ nu-path = { path = "../nu-path", version = "0.91.1" }
nu-plugin = { path = "../nu-plugin", optional = true, version = "0.91.1" } nu-plugin = { path = "../nu-plugin", optional = true, version = "0.91.1" }
nu-protocol = { path = "../nu-protocol", version = "0.91.1" } nu-protocol = { path = "../nu-protocol", version = "0.91.1" }
bytesize = "1.3" bytesize = { workspace = true }
chrono = { default-features = false, features = ['std'], workspace = true } chrono = { default-features = false, features = ['std'], workspace = true }
itertools = "0.12" itertools = { workspace = true }
log = { workspace = true } log = { workspace = true }
serde_json = { workspace = true } serde_json = { workspace = true }

View File

@ -12,10 +12,10 @@ exclude = ["/fuzz"]
bench = false bench = false
[dependencies] [dependencies]
dirs-next = "2.0" dirs-next = { workspace = true }
[target.'cfg(windows)'.dependencies] [target.'cfg(windows)'.dependencies]
omnipath = "0.1" omnipath = { workspace = true }
[target.'cfg(all(unix, not(target_os = "macos"), not(target_os = "android")))'.dependencies] [target.'cfg(all(unix, not(target_os = "macos"), not(target_os = "android")))'.dependencies]
pwd = "1.3" pwd = { workspace = true }

View File

@ -16,7 +16,7 @@ nu-protocol = { path = "../nu-protocol", version = "0.91.1" }
bincode = "1.3" bincode = "1.3"
rmp-serde = "1.1" rmp-serde = "1.1"
serde = "1.0" serde = { workspace = true }
serde_json = { workspace = true } serde_json = { workspace = true }
log = "0.4" log = "0.4"
miette = { workspace = true } miette = { workspace = true }
@ -25,7 +25,7 @@ typetag = "0.2"
thiserror = "1.0" thiserror = "1.0"
[target.'cfg(target_os = "windows")'.dependencies] [target.'cfg(target_os = "windows")'.dependencies]
windows = { version = "0.52", features = [ windows = { workspace = true, features = [
# For setting process creation flags # For setting process creation flags
"Win32_System_Threading", "Win32_System_Threading",
] } ] }

View File

@ -19,13 +19,13 @@ nu-system = { path = "../nu-system", version = "0.91.1" }
byte-unit = { version = "5.1", features = [ "serde" ] } byte-unit = { version = "5.1", features = [ "serde" ] }
chrono = { workspace = true, features = [ "serde", "std", "unstable-locales" ], default-features = false } chrono = { workspace = true, features = [ "serde", "std", "unstable-locales" ], default-features = false }
chrono-humanize = "0.2" chrono-humanize = { workspace = true }
fancy-regex = { workspace = true } fancy-regex = { workspace = true }
indexmap = "2.2" indexmap = { workspace = true }
lru = "0.12" lru = { workspace = true }
miette = { workspace = true, features = ["fancy-no-backtrace"] } miette = { workspace = true, features = ["fancy-no-backtrace"] }
num-format = "0.4" num-format = { workspace = true }
serde = { version = "1.0", default-features = false } serde = { workspace = true, default-features = false }
serde_json = { workspace = true, optional = true } serde_json = { workspace = true, optional = true }
thiserror = "1.0" thiserror = "1.0"
typetag = "0.2" typetag = "0.2"

View File

@ -13,7 +13,7 @@ license = "MIT"
bench = false bench = false
[dependencies] [dependencies]
libc = "0.2" libc = { workspace = true }
log = { workspace = true } log = { workspace = true }
sysinfo = { workspace = true } sysinfo = { workspace = true }
@ -21,17 +21,17 @@ sysinfo = { workspace = true }
nix = { workspace = true, default-features = false, features = ["fs", "term", "process", "signal"] } nix = { workspace = true, default-features = false, features = ["fs", "term", "process", "signal"] }
[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies] [target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies]
procfs = "0.16" procfs = { workspace = true }
[target.'cfg(target_os = "macos")'.dependencies] [target.'cfg(target_os = "macos")'.dependencies]
libproc = "0.14" libproc = { workspace = true }
mach2 = "0.4" mach2 = { workspace = true }
[target.'cfg(target_os = "windows")'.dependencies] [target.'cfg(target_os = "windows")'.dependencies]
chrono = { workspace = true, default-features = false, features = ["clock"] } chrono = { workspace = true, default-features = false, features = ["clock"] }
ntapi = "0.4" ntapi = "0.4"
once_cell = { workspace = true } once_cell = { workspace = true }
windows = { version = "0.54", features = [ windows = { workspace = true, features = [
"Wdk_System_SystemServices", "Wdk_System_SystemServices",
"Wdk_System_Threading", "Wdk_System_Threading",
"Win32_Foundation", "Win32_Foundation",

View File

@ -18,7 +18,7 @@ nu-color-config = { path = "../nu-color-config", version = "0.91.1" }
nu-ansi-term = { workspace = true } nu-ansi-term = { workspace = true }
once_cell = { workspace = true } once_cell = { workspace = true }
fancy-regex = { workspace = true } fancy-regex = { workspace = true }
tabled = { version = "0.14.0", features = ["color"], default-features = false } tabled = { workspace = true, features = ["color"], default-features = false }
[dev-dependencies] [dev-dependencies]
# nu-test-support = { path="../nu-test-support", version = "0.91.1" } # nu-test-support = { path="../nu-test-support", version = "0.91.1" }

View File

@ -13,4 +13,4 @@ bench = false
[dependencies] [dependencies]
nu-utils = { path = "../nu-utils", version = "0.91.1" } nu-utils = { path = "../nu-utils", version = "0.91.1" }
unicode-width = "0.1" unicode-width = { workspace = true }

View File

@ -16,6 +16,6 @@ nu-path = { path = "../nu-path", version = "0.91.1" }
nu-glob = { path = "../nu-glob", version = "0.91.1" } nu-glob = { path = "../nu-glob", version = "0.91.1" }
nu-utils = { path = "../nu-utils", version = "0.91.1" } nu-utils = { path = "../nu-utils", version = "0.91.1" }
num-format = "0.4" num-format = { workspace = true }
which = { workspace = true } which = { workspace = true }
tempfile = { workspace = true } tempfile = { workspace = true }

View File

@ -17,10 +17,10 @@ bench = false
bench = false bench = false
[dependencies] [dependencies]
lscolors = { version = "0.17", default-features = false, features = ["nu-ansi-term"] } lscolors = { workspace = true, default-features = false, features = ["nu-ansi-term"] }
log = { workspace = true } log = { workspace = true }
num-format = { version = "0.4" } num-format = { workspace = true }
strip-ansi-escapes = "0.2.0" strip-ansi-escapes = { workspace = true }
sys-locale = "0.3" sys-locale = "0.3"
unicase = "2.7.0" unicase = "2.7.0"

View File

@ -12,5 +12,5 @@ bench = false
[dependencies] [dependencies]
nu-plugin = { path = "../nu-plugin", version = "0.91.1" } nu-plugin = { path = "../nu-plugin", version = "0.91.1" }
nu-protocol = { path = "../nu-protocol", version = "0.91.1", features = ["plugin"] } nu-protocol = { path = "../nu-protocol", version = "0.91.1", features = ["plugin"] }
serde = { version = "1.0", default-features = false } serde = { workspace = true, default-features = false }
typetag = "0.2" typetag = "0.2"

View File

@ -12,7 +12,7 @@ version = "0.91.1"
nu-plugin = { path = "../nu-plugin", version = "0.91.1" } nu-plugin = { path = "../nu-plugin", version = "0.91.1" }
nu-protocol = { path = "../nu-protocol", version = "0.91.1", features = ["plugin"] } nu-protocol = { path = "../nu-protocol", version = "0.91.1", features = ["plugin"] }
indexmap = "2.2" indexmap = { workspace = true }
eml-parser = "0.1" eml-parser = "0.1"
ical = "0.10" ical = "0.10"
rust-ini = "0.20.0" rust-ini = "0.20.0"