mirror of
https://github.com/nushell/nushell.git
synced 2024-11-28 19:33:47 +01:00
remove unused dependencies (#11938)
# Description This PR removes unused dependencies. The `cargo machete --with-metadata` tool was used to determine what is unused and then I recompiled. Putting this up here to see what happens in MacOS and Linux in the CI and see if anything breaks. # 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` to check that you're using the standard code style - `cargo test --workspace` to check that all tests pass (on Windows make sure to [enable developer mode](https://learn.microsoft.com/en-us/windows/apps/get-started/developer-mode-features-and-debugging)) - `cargo run -- -c "use std testing; testing run-tests --path crates/nu-std"` 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
99ba365c4a
commit
a2a1c1656f
19
Cargo.lock
generated
19
Cargo.lock
generated
@ -2797,27 +2797,20 @@ dependencies = [
|
|||||||
"miette",
|
"miette",
|
||||||
"mimalloc",
|
"mimalloc",
|
||||||
"nix 0.27.1",
|
"nix 0.27.1",
|
||||||
"nu-ansi-term",
|
|
||||||
"nu-cli",
|
"nu-cli",
|
||||||
"nu-cmd-base",
|
"nu-cmd-base",
|
||||||
"nu-cmd-dataframe",
|
"nu-cmd-dataframe",
|
||||||
"nu-cmd-extra",
|
"nu-cmd-extra",
|
||||||
"nu-cmd-lang",
|
"nu-cmd-lang",
|
||||||
"nu-color-config",
|
|
||||||
"nu-command",
|
"nu-command",
|
||||||
"nu-engine",
|
"nu-engine",
|
||||||
"nu-explore",
|
"nu-explore",
|
||||||
"nu-json",
|
|
||||||
"nu-lsp",
|
"nu-lsp",
|
||||||
"nu-parser",
|
"nu-parser",
|
||||||
"nu-path",
|
"nu-path",
|
||||||
"nu-plugin",
|
"nu-plugin",
|
||||||
"nu-pretty-hex",
|
|
||||||
"nu-protocol",
|
"nu-protocol",
|
||||||
"nu-std",
|
"nu-std",
|
||||||
"nu-system",
|
|
||||||
"nu-table",
|
|
||||||
"nu-term-grid",
|
|
||||||
"nu-test-support",
|
"nu-test-support",
|
||||||
"nu-utils",
|
"nu-utils",
|
||||||
"openssl",
|
"openssl",
|
||||||
@ -2882,13 +2875,9 @@ dependencies = [
|
|||||||
"indexmap",
|
"indexmap",
|
||||||
"miette",
|
"miette",
|
||||||
"nu-engine",
|
"nu-engine",
|
||||||
"nu-glob",
|
|
||||||
"nu-parser",
|
"nu-parser",
|
||||||
"nu-path",
|
"nu-path",
|
||||||
"nu-protocol",
|
"nu-protocol",
|
||||||
"nu-test-support",
|
|
||||||
"nu-utils",
|
|
||||||
"rstest",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@ -2903,7 +2892,6 @@ dependencies = [
|
|||||||
"nu-engine",
|
"nu-engine",
|
||||||
"nu-parser",
|
"nu-parser",
|
||||||
"nu-protocol",
|
"nu-protocol",
|
||||||
"nu-test-support",
|
|
||||||
"num 0.4.1",
|
"num 0.4.1",
|
||||||
"polars",
|
"polars",
|
||||||
"polars-arrow",
|
"polars-arrow",
|
||||||
@ -2919,7 +2907,6 @@ dependencies = [
|
|||||||
name = "nu-cmd-extra"
|
name = "nu-cmd-extra"
|
||||||
version = "0.90.2"
|
version = "0.90.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ahash 0.8.7",
|
|
||||||
"fancy-regex",
|
"fancy-regex",
|
||||||
"heck",
|
"heck",
|
||||||
"nu-ansi-term",
|
"nu-ansi-term",
|
||||||
@ -2944,9 +2931,7 @@ dependencies = [
|
|||||||
name = "nu-cmd-lang"
|
name = "nu-cmd-lang"
|
||||||
version = "0.90.2"
|
version = "0.90.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"fancy-regex",
|
|
||||||
"itertools 0.12.0",
|
"itertools 0.12.0",
|
||||||
"nu-ansi-term",
|
|
||||||
"nu-engine",
|
"nu-engine",
|
||||||
"nu-parser",
|
"nu-parser",
|
||||||
"nu-protocol",
|
"nu-protocol",
|
||||||
@ -2963,7 +2948,6 @@ dependencies = [
|
|||||||
"nu-json",
|
"nu-json",
|
||||||
"nu-protocol",
|
"nu-protocol",
|
||||||
"nu-test-support",
|
"nu-test-support",
|
||||||
"nu-utils",
|
|
||||||
"serde",
|
"serde",
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -3000,7 +2984,6 @@ dependencies = [
|
|||||||
"log",
|
"log",
|
||||||
"lscolors",
|
"lscolors",
|
||||||
"md-5",
|
"md-5",
|
||||||
"miette",
|
|
||||||
"mime",
|
"mime",
|
||||||
"mime_guess",
|
"mime_guess",
|
||||||
"mockito",
|
"mockito",
|
||||||
@ -3023,7 +3006,6 @@ dependencies = [
|
|||||||
"nu-term-grid",
|
"nu-term-grid",
|
||||||
"nu-test-support",
|
"nu-test-support",
|
||||||
"nu-utils",
|
"nu-utils",
|
||||||
"num 0.4.1",
|
|
||||||
"num-format",
|
"num-format",
|
||||||
"num-traits",
|
"num-traits",
|
||||||
"once_cell",
|
"once_cell",
|
||||||
@ -3137,7 +3119,6 @@ dependencies = [
|
|||||||
"ropey",
|
"ropey",
|
||||||
"serde",
|
"serde",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
"tempfile",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -55,7 +55,6 @@ members = [
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-cli = { path = "./crates/nu-cli", version = "0.90.2" }
|
nu-cli = { path = "./crates/nu-cli", version = "0.90.2" }
|
||||||
nu-color-config = { path = "./crates/nu-color-config", version = "0.90.2" }
|
|
||||||
nu-cmd-base = { path = "./crates/nu-cmd-base", version = "0.90.2" }
|
nu-cmd-base = { path = "./crates/nu-cmd-base", version = "0.90.2" }
|
||||||
nu-cmd-lang = { path = "./crates/nu-cmd-lang", version = "0.90.2" }
|
nu-cmd-lang = { path = "./crates/nu-cmd-lang", version = "0.90.2" }
|
||||||
nu-cmd-dataframe = { path = "./crates/nu-cmd-dataframe", version = "0.90.2", features = [
|
nu-cmd-dataframe = { path = "./crates/nu-cmd-dataframe", version = "0.90.2", features = [
|
||||||
@ -65,20 +64,14 @@ nu-cmd-extra = { path = "./crates/nu-cmd-extra", version = "0.90.2", optional =
|
|||||||
nu-command = { path = "./crates/nu-command", version = "0.90.2" }
|
nu-command = { path = "./crates/nu-command", version = "0.90.2" }
|
||||||
nu-engine = { path = "./crates/nu-engine", version = "0.90.2" }
|
nu-engine = { path = "./crates/nu-engine", version = "0.90.2" }
|
||||||
nu-explore = { path = "./crates/nu-explore", version = "0.90.2" }
|
nu-explore = { path = "./crates/nu-explore", version = "0.90.2" }
|
||||||
nu-json = { path = "./crates/nu-json", version = "0.90.2" }
|
|
||||||
nu-lsp = { path = "./crates/nu-lsp/", version = "0.90.2" }
|
nu-lsp = { path = "./crates/nu-lsp/", version = "0.90.2" }
|
||||||
nu-parser = { path = "./crates/nu-parser", version = "0.90.2" }
|
nu-parser = { path = "./crates/nu-parser", version = "0.90.2" }
|
||||||
nu-path = { path = "./crates/nu-path", version = "0.90.2" }
|
nu-path = { path = "./crates/nu-path", version = "0.90.2" }
|
||||||
nu-plugin = { path = "./crates/nu-plugin", optional = true, version = "0.90.2" }
|
nu-plugin = { path = "./crates/nu-plugin", optional = true, version = "0.90.2" }
|
||||||
nu-pretty-hex = { path = "./crates/nu-pretty-hex", version = "0.90.2" }
|
|
||||||
nu-protocol = { path = "./crates/nu-protocol", version = "0.90.2" }
|
nu-protocol = { path = "./crates/nu-protocol", version = "0.90.2" }
|
||||||
nu-system = { path = "./crates/nu-system", version = "0.90.2" }
|
|
||||||
nu-table = { path = "./crates/nu-table", version = "0.90.2" }
|
|
||||||
nu-term-grid = { path = "./crates/nu-term-grid", version = "0.90.2" }
|
|
||||||
nu-std = { path = "./crates/nu-std", version = "0.90.2" }
|
nu-std = { path = "./crates/nu-std", version = "0.90.2" }
|
||||||
nu-utils = { path = "./crates/nu-utils", version = "0.90.2" }
|
nu-utils = { path = "./crates/nu-utils", version = "0.90.2" }
|
||||||
|
|
||||||
nu-ansi-term = "0.50.0"
|
|
||||||
reedline = { version = "0.29.0", features = ["bashisms", "sqlite"] }
|
reedline = { version = "0.29.0", features = ["bashisms", "sqlite"] }
|
||||||
|
|
||||||
crossterm = "0.27"
|
crossterm = "0.27"
|
||||||
|
@ -11,15 +11,11 @@ version = "0.90.2"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-engine = { path = "../nu-engine", version = "0.90.2" }
|
nu-engine = { path = "../nu-engine", version = "0.90.2" }
|
||||||
nu-glob = { path = "../nu-glob", version = "0.90.2" }
|
|
||||||
nu-parser = { path = "../nu-parser", version = "0.90.2" }
|
nu-parser = { path = "../nu-parser", version = "0.90.2" }
|
||||||
nu-path = { path = "../nu-path", version = "0.90.2" }
|
nu-path = { path = "../nu-path", version = "0.90.2" }
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.90.2" }
|
nu-protocol = { path = "../nu-protocol", version = "0.90.2" }
|
||||||
nu-utils = { path = "../nu-utils", version = "0.90.2" }
|
|
||||||
|
|
||||||
indexmap = "2.2"
|
indexmap = "2.2"
|
||||||
miette = "7.1.0"
|
miette = "7.1.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
nu-test-support = { path = "../nu-test-support", version = "0.90.2" }
|
|
||||||
rstest = "0.18.2"
|
|
||||||
|
@ -71,4 +71,3 @@ default = []
|
|||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
nu-cmd-lang = { path = "../nu-cmd-lang", version = "0.90.2" }
|
nu-cmd-lang = { path = "../nu-cmd-lang", version = "0.90.2" }
|
||||||
nu-test-support = { path = "../nu-test-support", version = "0.90.2" }
|
|
||||||
|
@ -22,7 +22,6 @@ nu-utils = { path = "../nu-utils", version = "0.90.2" }
|
|||||||
# Potential dependencies for extras
|
# Potential dependencies for extras
|
||||||
heck = "0.4.1"
|
heck = "0.4.1"
|
||||||
num-traits = "0.2"
|
num-traits = "0.2"
|
||||||
ahash = "0.8.3"
|
|
||||||
nu-ansi-term = "0.50.0"
|
nu-ansi-term = "0.50.0"
|
||||||
fancy-regex = "0.13.0"
|
fancy-regex = "0.13.0"
|
||||||
rust-embed = "8.2.0"
|
rust-embed = "8.2.0"
|
||||||
|
@ -16,9 +16,7 @@ nu-engine = { path = "../nu-engine", version = "0.90.2" }
|
|||||||
nu-parser = { path = "../nu-parser", version = "0.90.2" }
|
nu-parser = { path = "../nu-parser", version = "0.90.2" }
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.90.2" }
|
nu-protocol = { path = "../nu-protocol", version = "0.90.2" }
|
||||||
nu-utils = { path = "../nu-utils", version = "0.90.2" }
|
nu-utils = { path = "../nu-utils", version = "0.90.2" }
|
||||||
nu-ansi-term = "0.50.0"
|
|
||||||
|
|
||||||
fancy-regex = "0.13"
|
|
||||||
itertools = "0.12"
|
itertools = "0.12"
|
||||||
shadow-rs = { version = "0.26", default-features = false }
|
shadow-rs = { version = "0.26", default-features = false }
|
||||||
|
|
||||||
|
@ -13,7 +13,6 @@ bench = false
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.90.2" }
|
nu-protocol = { path = "../nu-protocol", version = "0.90.2" }
|
||||||
nu-ansi-term = "0.50.0"
|
nu-ansi-term = "0.50.0"
|
||||||
nu-utils = { path = "../nu-utils", version = "0.90.2" }
|
|
||||||
nu-engine = { path = "../nu-engine", version = "0.90.2" }
|
nu-engine = { path = "../nu-engine", version = "0.90.2" }
|
||||||
nu-json = { path = "../nu-json", version = "0.90.2" }
|
nu-json = { path = "../nu-json", version = "0.90.2" }
|
||||||
|
|
||||||
|
@ -53,12 +53,10 @@ itertools = "0.12"
|
|||||||
log = "0.4"
|
log = "0.4"
|
||||||
lscolors = { version = "0.17", default-features = false, features = ["nu-ansi-term"] }
|
lscolors = { version = "0.17", default-features = false, features = ["nu-ansi-term"] }
|
||||||
md5 = { package = "md-5", version = "0.10" }
|
md5 = { package = "md-5", version = "0.10" }
|
||||||
miette = { version = "7.1", features = ["fancy-no-backtrace"] }
|
|
||||||
mime = "0.3"
|
mime = "0.3"
|
||||||
mime_guess = "2.0"
|
mime_guess = "2.0"
|
||||||
native-tls = "0.2"
|
native-tls = "0.2"
|
||||||
notify-debouncer-full = { version = "0.3", default-features = false }
|
notify-debouncer-full = { version = "0.3", default-features = false }
|
||||||
num = { version = "0.4", optional = true }
|
|
||||||
num-format = { version = "0.4" }
|
num-format = { version = "0.4" }
|
||||||
num-traits = "0.2"
|
num-traits = "0.2"
|
||||||
once_cell = "1.18"
|
once_cell = "1.18"
|
||||||
|
@ -28,4 +28,3 @@ nu-command = { path = "../nu-command", version = "0.90.2" }
|
|||||||
nu-test-support = { path = "../nu-test-support", version = "0.90.2" }
|
nu-test-support = { path = "../nu-test-support", version = "0.90.2" }
|
||||||
|
|
||||||
assert-json-diff = "2.0"
|
assert-json-diff = "2.0"
|
||||||
tempfile = "3.2"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user