mirror of
https://github.com/nushell/nushell.git
synced 2024-11-24 17:34:00 +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",
|
||||
"mimalloc",
|
||||
"nix 0.27.1",
|
||||
"nu-ansi-term",
|
||||
"nu-cli",
|
||||
"nu-cmd-base",
|
||||
"nu-cmd-dataframe",
|
||||
"nu-cmd-extra",
|
||||
"nu-cmd-lang",
|
||||
"nu-color-config",
|
||||
"nu-command",
|
||||
"nu-engine",
|
||||
"nu-explore",
|
||||
"nu-json",
|
||||
"nu-lsp",
|
||||
"nu-parser",
|
||||
"nu-path",
|
||||
"nu-plugin",
|
||||
"nu-pretty-hex",
|
||||
"nu-protocol",
|
||||
"nu-std",
|
||||
"nu-system",
|
||||
"nu-table",
|
||||
"nu-term-grid",
|
||||
"nu-test-support",
|
||||
"nu-utils",
|
||||
"openssl",
|
||||
@ -2882,13 +2875,9 @@ dependencies = [
|
||||
"indexmap",
|
||||
"miette",
|
||||
"nu-engine",
|
||||
"nu-glob",
|
||||
"nu-parser",
|
||||
"nu-path",
|
||||
"nu-protocol",
|
||||
"nu-test-support",
|
||||
"nu-utils",
|
||||
"rstest",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@ -2903,7 +2892,6 @@ dependencies = [
|
||||
"nu-engine",
|
||||
"nu-parser",
|
||||
"nu-protocol",
|
||||
"nu-test-support",
|
||||
"num 0.4.1",
|
||||
"polars",
|
||||
"polars-arrow",
|
||||
@ -2919,7 +2907,6 @@ dependencies = [
|
||||
name = "nu-cmd-extra"
|
||||
version = "0.90.2"
|
||||
dependencies = [
|
||||
"ahash 0.8.7",
|
||||
"fancy-regex",
|
||||
"heck",
|
||||
"nu-ansi-term",
|
||||
@ -2944,9 +2931,7 @@ dependencies = [
|
||||
name = "nu-cmd-lang"
|
||||
version = "0.90.2"
|
||||
dependencies = [
|
||||
"fancy-regex",
|
||||
"itertools 0.12.0",
|
||||
"nu-ansi-term",
|
||||
"nu-engine",
|
||||
"nu-parser",
|
||||
"nu-protocol",
|
||||
@ -2963,7 +2948,6 @@ dependencies = [
|
||||
"nu-json",
|
||||
"nu-protocol",
|
||||
"nu-test-support",
|
||||
"nu-utils",
|
||||
"serde",
|
||||
]
|
||||
|
||||
@ -3000,7 +2984,6 @@ dependencies = [
|
||||
"log",
|
||||
"lscolors",
|
||||
"md-5",
|
||||
"miette",
|
||||
"mime",
|
||||
"mime_guess",
|
||||
"mockito",
|
||||
@ -3023,7 +3006,6 @@ dependencies = [
|
||||
"nu-term-grid",
|
||||
"nu-test-support",
|
||||
"nu-utils",
|
||||
"num 0.4.1",
|
||||
"num-format",
|
||||
"num-traits",
|
||||
"once_cell",
|
||||
@ -3137,7 +3119,6 @@ dependencies = [
|
||||
"ropey",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"tempfile",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -55,7 +55,6 @@ members = [
|
||||
|
||||
[dependencies]
|
||||
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-lang = { path = "./crates/nu-cmd-lang", version = "0.90.2" }
|
||||
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-engine = { path = "./crates/nu-engine", 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-parser = { path = "./crates/nu-parser", 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-pretty-hex = { path = "./crates/nu-pretty-hex", 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-utils = { path = "./crates/nu-utils", version = "0.90.2" }
|
||||
|
||||
nu-ansi-term = "0.50.0"
|
||||
reedline = { version = "0.29.0", features = ["bashisms", "sqlite"] }
|
||||
|
||||
crossterm = "0.27"
|
||||
|
@ -11,15 +11,11 @@ version = "0.90.2"
|
||||
|
||||
[dependencies]
|
||||
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-path = { path = "../nu-path", 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"
|
||||
miette = "7.1.0"
|
||||
|
||||
[dev-dependencies]
|
||||
nu-test-support = { path = "../nu-test-support", version = "0.90.2" }
|
||||
rstest = "0.18.2"
|
||||
|
@ -71,4 +71,3 @@ default = []
|
||||
|
||||
[dev-dependencies]
|
||||
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
|
||||
heck = "0.4.1"
|
||||
num-traits = "0.2"
|
||||
ahash = "0.8.3"
|
||||
nu-ansi-term = "0.50.0"
|
||||
fancy-regex = "0.13.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-protocol = { path = "../nu-protocol", 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"
|
||||
shadow-rs = { version = "0.26", default-features = false }
|
||||
|
||||
|
@ -13,7 +13,6 @@ bench = false
|
||||
[dependencies]
|
||||
nu-protocol = { path = "../nu-protocol", version = "0.90.2" }
|
||||
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-json = { path = "../nu-json", version = "0.90.2" }
|
||||
|
||||
|
@ -53,12 +53,10 @@ itertools = "0.12"
|
||||
log = "0.4"
|
||||
lscolors = { version = "0.17", default-features = false, features = ["nu-ansi-term"] }
|
||||
md5 = { package = "md-5", version = "0.10" }
|
||||
miette = { version = "7.1", features = ["fancy-no-backtrace"] }
|
||||
mime = "0.3"
|
||||
mime_guess = "2.0"
|
||||
native-tls = "0.2"
|
||||
notify-debouncer-full = { version = "0.3", default-features = false }
|
||||
num = { version = "0.4", optional = true }
|
||||
num-format = { version = "0.4" }
|
||||
num-traits = "0.2"
|
||||
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" }
|
||||
|
||||
assert-json-diff = "2.0"
|
||||
tempfile = "3.2"
|
||||
|
Loading…
Reference in New Issue
Block a user