forked from extern/nushell
remove unused dependencies (#9230)
# Description This is a test PR to see if we can remove dependencies. The crates to remove was generated from cargo machete. If ci works, I'll update the PR to remove deps instead of comment them out. # User-Facing Changes <!-- List of all changes that impact the user experience here. This helps us keep track of breaking changes. --> # Tests + Formatting <!-- Don't forget to add tests that cover your changes. Make sure you've run and fixed any issues with these commands: - `cargo fmt --all -- --check` to check standard code formatting (`cargo fmt --all` applies these changes) - `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A clippy::needless_collect -A clippy::result_large_err` to check that you're using the standard code style - `cargo test --workspace` to check that all tests pass - `cargo run -- crates/nu-std/tests/run.nu` to run the tests for the standard library > **Note** > from `nushell` you can also use the `toolkit` as follows > ```bash > use toolkit.nu # or use an `env_change` hook to activate it automatically > toolkit check pr > ``` --> # After Submitting <!-- If your PR had any user-facing changes, update [the documentation](https://github.com/nushell/nushell.github.io) after the PR is merged, if necessary. This will help us keep the docs up to date. -->
This commit is contained in:
parent
fe1174bf16
commit
e752d8a964
42
Cargo.lock
generated
42
Cargo.lock
generated
@ -2603,13 +2603,9 @@ version = "0.80.1"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"assert_cmd",
|
"assert_cmd",
|
||||||
"atty",
|
"atty",
|
||||||
"chrono",
|
|
||||||
"criterion",
|
"criterion",
|
||||||
"crossterm 0.26.1",
|
"crossterm 0.26.1",
|
||||||
"ctrlc",
|
"ctrlc",
|
||||||
"hamcrest2",
|
|
||||||
"is_executable",
|
|
||||||
"itertools",
|
|
||||||
"log",
|
"log",
|
||||||
"miette",
|
"miette",
|
||||||
"nix",
|
"nix",
|
||||||
@ -2633,7 +2629,6 @@ dependencies = [
|
|||||||
"nu-utils",
|
"nu-utils",
|
||||||
"openssl",
|
"openssl",
|
||||||
"pretty_assertions",
|
"pretty_assertions",
|
||||||
"rayon",
|
|
||||||
"reedline",
|
"reedline",
|
||||||
"rstest",
|
"rstest",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
@ -2679,8 +2674,7 @@ dependencies = [
|
|||||||
"percent-encoding",
|
"percent-encoding",
|
||||||
"reedline",
|
"reedline",
|
||||||
"rstest",
|
"rstest",
|
||||||
"sysinfo",
|
"sysinfo 0.29.0",
|
||||||
"thiserror",
|
|
||||||
"unicode-segmentation",
|
"unicode-segmentation",
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -2690,13 +2684,11 @@ version = "0.80.1"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"fancy-regex",
|
"fancy-regex",
|
||||||
"itertools",
|
"itertools",
|
||||||
"log",
|
|
||||||
"nu-ansi-term",
|
"nu-ansi-term",
|
||||||
"nu-color-config",
|
"nu-color-config",
|
||||||
"nu-engine",
|
"nu-engine",
|
||||||
"nu-parser",
|
"nu-parser",
|
||||||
"nu-protocol",
|
"nu-protocol",
|
||||||
"nu-test-support",
|
|
||||||
"nu-utils",
|
"nu-utils",
|
||||||
"shadow-rs",
|
"shadow-rs",
|
||||||
]
|
]
|
||||||
@ -2739,7 +2731,6 @@ dependencies = [
|
|||||||
"filesize",
|
"filesize",
|
||||||
"filetime",
|
"filetime",
|
||||||
"fs_extra",
|
"fs_extra",
|
||||||
"hamcrest2",
|
|
||||||
"htmlescape",
|
"htmlescape",
|
||||||
"indexmap",
|
"indexmap",
|
||||||
"indicatif",
|
"indicatif",
|
||||||
@ -2799,16 +2790,14 @@ dependencies = [
|
|||||||
"serde_yaml",
|
"serde_yaml",
|
||||||
"sha2",
|
"sha2",
|
||||||
"sqlparser 0.32.0",
|
"sqlparser 0.32.0",
|
||||||
"sysinfo",
|
"sysinfo 0.29.0",
|
||||||
"tabled",
|
"tabled",
|
||||||
"terminal_size 0.2.6",
|
"terminal_size 0.2.6",
|
||||||
"thiserror",
|
|
||||||
"titlecase",
|
"titlecase",
|
||||||
"toml",
|
"toml",
|
||||||
"trash",
|
"trash",
|
||||||
"umask",
|
"umask",
|
||||||
"unicode-segmentation",
|
"unicode-segmentation",
|
||||||
"unicode-width",
|
|
||||||
"ureq",
|
"ureq",
|
||||||
"url",
|
"url",
|
||||||
"users 0.11.0",
|
"users 0.11.0",
|
||||||
@ -2823,13 +2812,11 @@ dependencies = [
|
|||||||
name = "nu-engine"
|
name = "nu-engine"
|
||||||
version = "0.80.1"
|
version = "0.80.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
|
||||||
"nu-glob",
|
"nu-glob",
|
||||||
"nu-path",
|
"nu-path",
|
||||||
"nu-protocol",
|
"nu-protocol",
|
||||||
"nu-utils",
|
"nu-utils",
|
||||||
"serde",
|
"sysinfo 0.29.0",
|
||||||
"sysinfo",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@ -2876,14 +2863,12 @@ dependencies = [
|
|||||||
"chrono",
|
"chrono",
|
||||||
"itertools",
|
"itertools",
|
||||||
"log",
|
"log",
|
||||||
"miette",
|
|
||||||
"nu-engine",
|
"nu-engine",
|
||||||
"nu-path",
|
"nu-path",
|
||||||
"nu-plugin",
|
"nu-plugin",
|
||||||
"nu-protocol",
|
"nu-protocol",
|
||||||
"rstest",
|
"rstest",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
"thiserror",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@ -2902,7 +2887,6 @@ dependencies = [
|
|||||||
"bincode",
|
"bincode",
|
||||||
"nu-engine",
|
"nu-engine",
|
||||||
"nu-protocol",
|
"nu-protocol",
|
||||||
"rmp",
|
|
||||||
"rmp-serde",
|
"rmp-serde",
|
||||||
"serde",
|
"serde",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
@ -2935,7 +2919,6 @@ dependencies = [
|
|||||||
"serde_json",
|
"serde_json",
|
||||||
"strum",
|
"strum",
|
||||||
"strum_macros",
|
"strum_macros",
|
||||||
"sys-locale",
|
|
||||||
"thiserror",
|
"thiserror",
|
||||||
"typetag",
|
"typetag",
|
||||||
]
|
]
|
||||||
@ -2955,7 +2938,6 @@ version = "0.80.1"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"atty",
|
"atty",
|
||||||
"chrono",
|
"chrono",
|
||||||
"errno 0.3.1",
|
|
||||||
"libc",
|
"libc",
|
||||||
"libproc",
|
"libproc",
|
||||||
"log",
|
"log",
|
||||||
@ -3038,7 +3020,6 @@ dependencies = [
|
|||||||
"eml-parser",
|
"eml-parser",
|
||||||
"ical",
|
"ical",
|
||||||
"indexmap",
|
"indexmap",
|
||||||
"nu-engine",
|
|
||||||
"nu-plugin",
|
"nu-plugin",
|
||||||
"nu-protocol",
|
"nu-protocol",
|
||||||
"rust-ini",
|
"rust-ini",
|
||||||
@ -3049,7 +3030,6 @@ name = "nu_plugin_gstat"
|
|||||||
version = "0.80.1"
|
version = "0.80.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"git2",
|
"git2",
|
||||||
"nu-engine",
|
|
||||||
"nu-plugin",
|
"nu-plugin",
|
||||||
"nu-protocol",
|
"nu-protocol",
|
||||||
]
|
]
|
||||||
@ -3923,7 +3903,7 @@ dependencies = [
|
|||||||
"once_cell",
|
"once_cell",
|
||||||
"rayon",
|
"rayon",
|
||||||
"smartstring",
|
"smartstring",
|
||||||
"sysinfo",
|
"sysinfo 0.28.4",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@ -5076,6 +5056,20 @@ name = "sysinfo"
|
|||||||
version = "0.28.4"
|
version = "0.28.4"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "b4c2f3ca6693feb29a89724516f016488e9aafc7f37264f898593ee4b942f31b"
|
checksum = "b4c2f3ca6693feb29a89724516f016488e9aafc7f37264f898593ee4b942f31b"
|
||||||
|
dependencies = [
|
||||||
|
"cfg-if 1.0.0",
|
||||||
|
"core-foundation-sys",
|
||||||
|
"libc",
|
||||||
|
"ntapi",
|
||||||
|
"once_cell",
|
||||||
|
"winapi 0.3.9",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "sysinfo"
|
||||||
|
version = "0.29.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "02f1dc6930a439cc5d154221b5387d153f8183529b07c19aca24ea31e0a167e1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if 1.0.0",
|
"cfg-if 1.0.0",
|
||||||
"core-foundation-sys",
|
"core-foundation-sys",
|
||||||
|
17
Cargo.toml
17
Cargo.toml
@ -42,11 +42,6 @@ members = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
chrono = { version = "0.4.23", features = ["serde"] }
|
|
||||||
crossterm = "0.26"
|
|
||||||
ctrlc = "3.2.1"
|
|
||||||
log = "0.4"
|
|
||||||
miette = { version = "5.7.0", features = ["fancy-no-backtrace"] }
|
|
||||||
nu-cli = { path = "./crates/nu-cli", version = "0.80.1" }
|
nu-cli = { path = "./crates/nu-cli", version = "0.80.1" }
|
||||||
nu-color-config = { path = "./crates/nu-color-config", version = "0.80.1" }
|
nu-color-config = { path = "./crates/nu-color-config", version = "0.80.1" }
|
||||||
nu-cmd-lang = { path = "./crates/nu-cmd-lang", version = "0.80.1" }
|
nu-cmd-lang = { path = "./crates/nu-cmd-lang", version = "0.80.1" }
|
||||||
@ -63,22 +58,22 @@ nu-table = { path = "./crates/nu-table", version = "0.80.1" }
|
|||||||
nu-term-grid = { path = "./crates/nu-term-grid", version = "0.80.1" }
|
nu-term-grid = { path = "./crates/nu-term-grid", version = "0.80.1" }
|
||||||
nu-std = { path = "./crates/nu-std", version = "0.80.1" }
|
nu-std = { path = "./crates/nu-std", version = "0.80.1" }
|
||||||
nu-utils = { path = "./crates/nu-utils", version = "0.80.1" }
|
nu-utils = { path = "./crates/nu-utils", version = "0.80.1" }
|
||||||
|
|
||||||
nu-ansi-term = "0.47.0"
|
nu-ansi-term = "0.47.0"
|
||||||
reedline = { version = "0.19.1", features = ["bashisms", "sqlite"]}
|
reedline = { version = "0.19.1", features = ["bashisms", "sqlite"]}
|
||||||
|
|
||||||
rayon = "1.7.0"
|
crossterm = "0.26"
|
||||||
is_executable = "1.0.1"
|
ctrlc = "3.2.1"
|
||||||
|
log = "0.4"
|
||||||
|
miette = { version = "5.7.0", features = ["fancy-no-backtrace"] }
|
||||||
|
serde_json = "1.0"
|
||||||
simplelog = "0.12.0"
|
simplelog = "0.12.0"
|
||||||
time = "0.3.12"
|
time = "0.3.12"
|
||||||
serde_json = "1.0"
|
|
||||||
|
|
||||||
[target.'cfg(not(target_os = "windows"))'.dependencies]
|
[target.'cfg(not(target_os = "windows"))'.dependencies]
|
||||||
# Our dependencies don't use OpenSSL on Windows
|
# Our dependencies don't use OpenSSL on Windows
|
||||||
openssl = { version = "0.10.48", features = ["vendored"], optional = true }
|
openssl = { version = "0.10.48", features = ["vendored"], optional = true }
|
||||||
signal-hook = { version = "0.3.14", default-features = false }
|
signal-hook = { version = "0.3.14", default-features = false }
|
||||||
|
|
||||||
|
|
||||||
[target.'cfg(windows)'.build-dependencies]
|
[target.'cfg(windows)'.build-dependencies]
|
||||||
winresource = "0.1"
|
winresource = "0.1"
|
||||||
|
|
||||||
@ -98,9 +93,7 @@ assert_cmd = "2.0.2"
|
|||||||
criterion = "0.4"
|
criterion = "0.4"
|
||||||
pretty_assertions = "1.0.0"
|
pretty_assertions = "1.0.0"
|
||||||
serial_test = "1.0.0"
|
serial_test = "1.0.0"
|
||||||
hamcrest2 = "0.3.0"
|
|
||||||
rstest = { version = "0.17.0", default-features = false }
|
rstest = { version = "0.17.0", default-features = false }
|
||||||
itertools = "0.10.3"
|
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
plugin = [
|
plugin = [
|
||||||
|
@ -22,7 +22,6 @@ nu-parser = { path = "../nu-parser", version = "0.80.1" }
|
|||||||
nu-protocol = { path = "../nu-protocol", version = "0.80.1" }
|
nu-protocol = { path = "../nu-protocol", version = "0.80.1" }
|
||||||
nu-utils = { path = "../nu-utils", version = "0.80.1" }
|
nu-utils = { path = "../nu-utils", version = "0.80.1" }
|
||||||
nu-color-config = { path = "../nu-color-config", version = "0.80.1" }
|
nu-color-config = { path = "../nu-color-config", version = "0.80.1" }
|
||||||
|
|
||||||
nu-ansi-term = "0.47.0"
|
nu-ansi-term = "0.47.0"
|
||||||
reedline = { version = "0.19.1", features = ["bashisms", "sqlite"]}
|
reedline = { version = "0.19.1", features = ["bashisms", "sqlite"]}
|
||||||
|
|
||||||
@ -32,12 +31,11 @@ crossterm = "0.26"
|
|||||||
fancy-regex = "0.11.0"
|
fancy-regex = "0.11.0"
|
||||||
fuzzy-matcher = "0.3.7"
|
fuzzy-matcher = "0.3.7"
|
||||||
is_executable = "1.0.1"
|
is_executable = "1.0.1"
|
||||||
once_cell = "1.17.0"
|
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
miette = { version = "5.7.0", features = ["fancy-no-backtrace"] }
|
miette = { version = "5.7.0", features = ["fancy-no-backtrace"] }
|
||||||
|
once_cell = "1.17.0"
|
||||||
percent-encoding = "2"
|
percent-encoding = "2"
|
||||||
sysinfo = "0.28.2"
|
sysinfo = "0.29"
|
||||||
thiserror = "1.0.31"
|
|
||||||
unicode-segmentation = "1.10.0"
|
unicode-segmentation = "1.10.0"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
@ -17,16 +17,11 @@ nu-engine = { path = "../nu-engine", version = "0.80.1" }
|
|||||||
nu-parser = { path = "../nu-parser", version = "0.80.1" }
|
nu-parser = { path = "../nu-parser", version = "0.80.1" }
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.80.1" }
|
nu-protocol = { path = "../nu-protocol", version = "0.80.1" }
|
||||||
nu-utils = { path = "../nu-utils", version = "0.80.1" }
|
nu-utils = { path = "../nu-utils", version = "0.80.1" }
|
||||||
|
|
||||||
nu-ansi-term = "0.47.0"
|
nu-ansi-term = "0.47.0"
|
||||||
|
|
||||||
fancy-regex = "0.11.0"
|
fancy-regex = "0.11.0"
|
||||||
itertools = "0.10.0"
|
itertools = "0.10.0"
|
||||||
log = "0.4.14"
|
|
||||||
shadow-rs = { version = "0.21.0", default-features = false }
|
shadow-rs = { version = "0.21.0", default-features = false }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
shadow-rs = { version = "0.21.0", default-features = false }
|
shadow-rs = { version = "0.21.0", default-features = false }
|
||||||
|
|
||||||
[dev-dependencies]
|
|
||||||
nu-test-support = { path="../nu-test-support", version = "0.80.1" }
|
|
||||||
|
@ -11,13 +11,13 @@ version = "0.80.1"
|
|||||||
bench = false
|
bench = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
serde = { version="1.0.123", features=["derive"] }
|
|
||||||
|
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.80.1" }
|
nu-protocol = { path = "../nu-protocol", version = "0.80.1" }
|
||||||
nu-ansi-term = "0.47.0"
|
nu-ansi-term = "0.47.0"
|
||||||
nu-utils = { path = "../nu-utils", version = "0.80.1" }
|
nu-utils = { path = "../nu-utils", version = "0.80.1" }
|
||||||
nu-engine = { path = "../nu-engine", version = "0.80.1" }
|
nu-engine = { path = "../nu-engine", version = "0.80.1" }
|
||||||
nu-json = { path="../nu-json", version = "0.80.1" }
|
nu-json = { path="../nu-json", version = "0.80.1" }
|
||||||
|
|
||||||
|
serde = { version="1.0.123", features=["derive"] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
nu-test-support = { path="../nu-test-support", version = "0.80.1" }
|
nu-test-support = { path="../nu-test-support", version = "0.80.1" }
|
||||||
|
@ -30,18 +30,13 @@ nu-utils = { path = "../nu-utils", version = "0.80.1" }
|
|||||||
num-format = { version = "0.4.3" }
|
num-format = { version = "0.4.3" }
|
||||||
nu-ansi-term = "0.47.0"
|
nu-ansi-term = "0.47.0"
|
||||||
|
|
||||||
# Potential dependencies for extras
|
|
||||||
Inflector = "0.11"
|
|
||||||
alphanumeric-sort = "1.5.0"
|
alphanumeric-sort = "1.5.0"
|
||||||
atty = "0.2.14"
|
atty = "0.2.14"
|
||||||
base64 = "0.21.0"
|
base64 = "0.21.0"
|
||||||
byteorder = "1.4.3"
|
byteorder = "1.4.3"
|
||||||
bytesize = "1.2.0"
|
bytesize = "1.2.0"
|
||||||
calamine = "0.19.1"
|
calamine = "0.19.1"
|
||||||
chrono = { version = "0.4.23", features = [
|
chrono = { version = "0.4.23", features = [ "std", "unstable-locales", ], default-features = false }
|
||||||
"std",
|
|
||||||
"unstable-locales",
|
|
||||||
], default-features = false }
|
|
||||||
chrono-humanize = "0.2.1"
|
chrono-humanize = "0.2.1"
|
||||||
chrono-tz = "0.8.1"
|
chrono-tz = "0.8.1"
|
||||||
crossterm = "0.26"
|
crossterm = "0.26"
|
||||||
@ -57,6 +52,7 @@ fs_extra = "1.3.0"
|
|||||||
htmlescape = "0.3.1"
|
htmlescape = "0.3.1"
|
||||||
indexmap = { version = "1.7", features = ["serde-1"] }
|
indexmap = { version = "1.7", features = ["serde-1"] }
|
||||||
indicatif = "0.17.2"
|
indicatif = "0.17.2"
|
||||||
|
Inflector = "0.11"
|
||||||
is-root = "0.1.2"
|
is-root = "0.1.2"
|
||||||
itertools = "0.10.0"
|
itertools = "0.10.0"
|
||||||
log = "0.4.14"
|
log = "0.4.14"
|
||||||
@ -70,20 +66,17 @@ num = { version = "0.4.0", optional = true }
|
|||||||
num-traits = "0.2.14"
|
num-traits = "0.2.14"
|
||||||
once_cell = "1.17"
|
once_cell = "1.17"
|
||||||
open = "4.0.2"
|
open = "4.0.2"
|
||||||
|
os_pipe = "1.1.3"
|
||||||
pathdiff = "0.2.1"
|
pathdiff = "0.2.1"
|
||||||
|
percent-encoding = "2.2.0"
|
||||||
powierza-coefficient = "1.0.2"
|
powierza-coefficient = "1.0.2"
|
||||||
|
print-positions = "0.6.1"
|
||||||
quick-xml = "0.28"
|
quick-xml = "0.28"
|
||||||
rand = "0.8"
|
rand = "0.8"
|
||||||
rayon = "1.7.0"
|
rayon = "1.7.0"
|
||||||
regex = "1.7.1"
|
regex = "1.7.1"
|
||||||
ureq = { version = "2.6.2", default-features = false, features = [
|
|
||||||
"json",
|
|
||||||
"charset",
|
|
||||||
"native-tls",
|
|
||||||
"gzip",
|
|
||||||
] }
|
|
||||||
native-tls = "0.2.11"
|
|
||||||
roxmltree = "0.18.0"
|
roxmltree = "0.18.0"
|
||||||
|
rusqlite = { version = "0.28.0", features = ["bundled"], optional = true }
|
||||||
rust-embed = "6.6.0"
|
rust-embed = "6.6.0"
|
||||||
same-file = "1.0.6"
|
same-file = "1.0.6"
|
||||||
serde = { version = "1.0.123", features = ["derive"] }
|
serde = { version = "1.0.123", features = ["derive"] }
|
||||||
@ -91,24 +84,19 @@ serde_json = "1.0"
|
|||||||
serde_urlencoded = "0.7.0"
|
serde_urlencoded = "0.7.0"
|
||||||
serde_yaml = "0.9.4"
|
serde_yaml = "0.9.4"
|
||||||
sha2 = "0.10.0"
|
sha2 = "0.10.0"
|
||||||
# Disable default features b/c the default features build Git (very slow to compile)
|
|
||||||
percent-encoding = "2.2.0"
|
|
||||||
rusqlite = { version = "0.28.0", features = ["bundled"], optional = true }
|
|
||||||
sqlparser = { version = "0.32.0", features = ["serde"], optional = true }
|
sqlparser = { version = "0.32.0", features = ["serde"], optional = true }
|
||||||
sysinfo = "0.28.2"
|
sysinfo = "0.29"
|
||||||
tabled = "0.12.0"
|
tabled = "0.12.0"
|
||||||
terminal_size = "0.2.1"
|
terminal_size = "0.2.1"
|
||||||
thiserror = "1.0.31"
|
|
||||||
titlecase = "2.0.0"
|
titlecase = "2.0.0"
|
||||||
toml = "0.7.1"
|
toml = "0.7.1"
|
||||||
unicode-segmentation = "1.10.0"
|
unicode-segmentation = "1.10.0"
|
||||||
unicode-width = "0.1.10"
|
ureq = { version = "2.6.2", default-features = false, features = [ "json", "charset", "native-tls", "gzip", ] }
|
||||||
|
native-tls = "0.2.11"
|
||||||
url = "2.2.1"
|
url = "2.2.1"
|
||||||
uuid = { version = "1.3.0", features = ["v4"] }
|
uuid = { version = "1.3.0", features = ["v4"] }
|
||||||
wax = { version = "0.5.0" }
|
wax = { version = "0.5.0" }
|
||||||
which = { version = "4.4.0", optional = true }
|
which = { version = "4.4.0", optional = true }
|
||||||
print-positions = "0.6.1"
|
|
||||||
os_pipe = "1.1.3"
|
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
winreg = "0.50.0"
|
winreg = "0.50.0"
|
||||||
@ -168,10 +156,8 @@ which-support = ["which"]
|
|||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
nu-test-support = { path = "../nu-test-support", version = "0.80.1" }
|
nu-test-support = { path = "../nu-test-support", version = "0.80.1" }
|
||||||
mockito = "1.0.0"
|
|
||||||
|
|
||||||
dirs-next = "2.0.0"
|
dirs-next = "2.0.0"
|
||||||
hamcrest2 = "0.3.0"
|
mockito = "1.0.0"
|
||||||
quickcheck = "1.0.3"
|
quickcheck = "1.0.3"
|
||||||
quickcheck_macros = "1.0.0"
|
quickcheck_macros = "1.0.0"
|
||||||
rstest = { version = "0.17.0", default-features = false }
|
rstest = { version = "0.17.0", default-features = false }
|
||||||
|
@ -157,9 +157,9 @@ pub fn disks(span: Span) -> Value {
|
|||||||
span,
|
span,
|
||||||
});
|
});
|
||||||
|
|
||||||
cols.push("removable".into());
|
cols.push("kind".into());
|
||||||
vals.push(Value::String {
|
vals.push(Value::String {
|
||||||
val: format!("{:?}", disk.type_()),
|
val: format!("{:?}", disk.kind()),
|
||||||
span,
|
span,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -16,9 +16,7 @@ nu-path = { path = "../nu-path", version = "0.80.1" }
|
|||||||
nu-glob = { path = "../nu-glob", version = "0.80.1" }
|
nu-glob = { path = "../nu-glob", version = "0.80.1" }
|
||||||
nu-utils = { path = "../nu-utils", version = "0.80.1" }
|
nu-utils = { path = "../nu-utils", version = "0.80.1" }
|
||||||
|
|
||||||
chrono = { version="0.4.23", features = ["std"], default-features = false }
|
sysinfo ="0.29"
|
||||||
serde = {version = "1.0.143", default-features = false }
|
|
||||||
sysinfo ="0.28.2"
|
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
plugin = []
|
plugin = []
|
||||||
|
@ -11,17 +11,16 @@ version = "0.80.1"
|
|||||||
bench = false
|
bench = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
nu-engine = { path = "../nu-engine", version = "0.80.1" }
|
||||||
|
nu-path = {path = "../nu-path", version = "0.80.1" }
|
||||||
|
nu-plugin = { path = "../nu-plugin", optional = true, version = "0.80.1" }
|
||||||
|
nu-protocol = { path = "../nu-protocol", version = "0.80.1" }
|
||||||
|
|
||||||
bytesize = "1.2.0"
|
bytesize = "1.2.0"
|
||||||
chrono = { default-features = false, features = ['std'], version = "0.4.23" }
|
chrono = { default-features = false, features = ['std'], version = "0.4.23" }
|
||||||
itertools = "0.10"
|
itertools = "0.10"
|
||||||
miette = {version = "5.7.0", features = ["fancy-no-backtrace"]}
|
|
||||||
thiserror = "1.0.31"
|
|
||||||
serde_json = "1.0"
|
|
||||||
nu-path = {path = "../nu-path", version = "0.80.1" }
|
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.80.1" }
|
|
||||||
nu-plugin = { path = "../nu-plugin", optional = true, version = "0.80.1" }
|
|
||||||
nu-engine = { path = "../nu-engine", version = "0.80.1" }
|
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
|
serde_json = "1.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
rstest = { version = "0.17.0", default-features = false }
|
rstest = { version = "0.17.0", default-features = false }
|
||||||
|
@ -11,10 +11,10 @@ version = "0.80.1"
|
|||||||
bench = false
|
bench = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bincode = "1.3.3"
|
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.80.1" }
|
|
||||||
nu-engine = { path = "../nu-engine", version = "0.80.1" }
|
nu-engine = { path = "../nu-engine", version = "0.80.1" }
|
||||||
|
nu-protocol = { path = "../nu-protocol", version = "0.80.1" }
|
||||||
|
|
||||||
|
bincode = "1.3.3"
|
||||||
|
rmp-serde = "1.1.0"
|
||||||
serde = { version = "1.0.143" }
|
serde = { version = "1.0.143" }
|
||||||
serde_json = { version = "1.0"}
|
serde_json = { version = "1.0"}
|
||||||
rmp = "0.8.11"
|
|
||||||
rmp-serde = "1.1.0"
|
|
||||||
|
@ -16,10 +16,7 @@ bench = false
|
|||||||
nu-utils = { path = "../nu-utils", version = "0.80.1" }
|
nu-utils = { path = "../nu-utils", version = "0.80.1" }
|
||||||
|
|
||||||
byte-unit = "4.0.9"
|
byte-unit = "4.0.9"
|
||||||
chrono = { version = "0.4.23", features = [
|
chrono = { version = "0.4.23", features = [ "serde", "std", ], default-features = false }
|
||||||
"serde",
|
|
||||||
"std",
|
|
||||||
], default-features = false }
|
|
||||||
chrono-humanize = "0.2.1"
|
chrono-humanize = "0.2.1"
|
||||||
fancy-regex = "0.11.0"
|
fancy-regex = "0.11.0"
|
||||||
indexmap = { version = "1.7" }
|
indexmap = { version = "1.7" }
|
||||||
@ -30,7 +27,6 @@ serde = { version = "1.0.143", default-features = false }
|
|||||||
serde_json = { version = "1.0", optional = true }
|
serde_json = { version = "1.0", optional = true }
|
||||||
strum = "0.24"
|
strum = "0.24"
|
||||||
strum_macros = "0.24"
|
strum_macros = "0.24"
|
||||||
sys-locale = "0.3.0"
|
|
||||||
thiserror = "1.0.31"
|
thiserror = "1.0.31"
|
||||||
typetag = "0.2.5"
|
typetag = "0.2.5"
|
||||||
|
|
||||||
|
@ -17,19 +17,18 @@ libc = "0.2"
|
|||||||
log = "0.4"
|
log = "0.4"
|
||||||
|
|
||||||
[target.'cfg(target_family = "unix")'.dependencies]
|
[target.'cfg(target_family = "unix")'.dependencies]
|
||||||
nix = { version = "0.26", default-features = false, features = ["fs", "term", "process", "signal"]}
|
|
||||||
atty = "0.2"
|
atty = "0.2"
|
||||||
|
nix = { version = "0.26", 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.15.1"
|
procfs = "0.15.1"
|
||||||
|
|
||||||
[target.'cfg(target_os = "macos")'.dependencies]
|
[target.'cfg(target_os = "macos")'.dependencies]
|
||||||
libproc = "0.12.0"
|
libproc = "0.12.0"
|
||||||
errno = "0.3"
|
|
||||||
mach2 = "0.4"
|
mach2 = "0.4"
|
||||||
|
|
||||||
[target.'cfg(target_os = "windows")'.dependencies]
|
[target.'cfg(target_os = "windows")'.dependencies]
|
||||||
winapi = { version = "0.3.9", features = ["tlhelp32", "fileapi", "handleapi", "ifdef", "ioapiset", "minwindef", "pdh", "psapi", "synchapi", "sysinfoapi", "winbase", "winerror", "winioctl", "winnt", "oleauto", "wbemcli", "rpcdce", "combaseapi", "objidl", "powerbase", "netioapi", "lmcons", "lmaccess", "lmapibuf", "memoryapi", "shellapi", "std", "securitybaseapi"] }
|
|
||||||
chrono = "0.4.23"
|
chrono = "0.4.23"
|
||||||
ntapi = "0.4"
|
ntapi = "0.4"
|
||||||
once_cell = "1.17"
|
once_cell = "1.17"
|
||||||
|
winapi = { version = "0.3.9", features = ["tlhelp32", "fileapi", "handleapi", "ifdef", "ioapiset", "minwindef", "pdh", "psapi", "synchapi", "sysinfoapi", "winbase", "winerror", "winioctl", "winnt", "oleauto", "wbemcli", "rpcdce", "combaseapi", "objidl", "powerbase", "netioapi", "lmcons", "lmaccess", "lmapibuf", "memoryapi", "shellapi", "std", "securitybaseapi"] }
|
||||||
|
@ -11,7 +11,7 @@ version = "0.80.1"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
nu-plugin = { path = "../nu-plugin", version = "0.80.1" }
|
nu-plugin = { path = "../nu-plugin", version = "0.80.1" }
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.80.1", features = ["plugin"] }
|
nu-protocol = { path = "../nu-protocol", version = "0.80.1", features = ["plugin"] }
|
||||||
nu-engine = { path = "../nu-engine", version = "0.80.1" }
|
|
||||||
indexmap = { version = "1.7", features = ["serde-1"] }
|
indexmap = { version = "1.7", features = ["serde-1"] }
|
||||||
|
|
||||||
eml-parser = "0.1.0"
|
eml-parser = "0.1.0"
|
||||||
|
@ -18,6 +18,5 @@ bench = false
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
nu-plugin = { path="../nu-plugin", version = "0.80.1" }
|
nu-plugin = { path="../nu-plugin", version = "0.80.1" }
|
||||||
nu-protocol = { path="../nu-protocol", version = "0.80.1" }
|
nu-protocol = { path="../nu-protocol", version = "0.80.1" }
|
||||||
nu-engine = { path="../nu-engine", version = "0.80.1" }
|
|
||||||
|
|
||||||
git2 = "0.17.0"
|
git2 = "0.17.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user