Remove unused deps or move to devdeps (#7537)

# Description

General tree shaking through `cargo +nightly udeps` and moving mentions
of `nu-test-support` to the dev deps.

Also since #7488 no separate import of `nu-path` necessary

cc @webbedspace
This commit is contained in:
Stefan Holderbach 2022-12-20 00:53:17 +01:00 committed by GitHub
parent 58cea7e8b4
commit 91df6c236f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 10 deletions

3
Cargo.lock generated
View File

@ -2549,7 +2549,6 @@ dependencies = [
"nu-parser",
"nu-path",
"nu-protocol",
"nu-table",
"nu-test-support",
"nu-utils",
"once_cell",
@ -2567,7 +2566,6 @@ dependencies = [
"nu-ansi-term",
"nu-engine",
"nu-json",
"nu-path",
"nu-protocol",
"nu-test-support",
"nu-utils",
@ -2821,7 +2819,6 @@ dependencies = [
"nu-ansi-term",
"nu-color-config",
"nu-engine",
"nu-path",
"nu-protocol",
"nu-test-support",
"nu-utils",

View File

@ -18,7 +18,6 @@ nu-path = { path = "../nu-path", version = "0.72.2" }
nu-parser = { path = "../nu-parser", version = "0.72.2" }
nu-protocol = { path = "../nu-protocol", version = "0.72.2" }
nu-utils = { path = "../nu-utils", version = "0.72.2" }
nu-table = { path = "../nu-table", version = "0.72.2" }
nu-ansi-term = "0.46.0"
nu-color-config = { path = "../nu-color-config", version = "0.72.2" }
reedline = { version = "0.14.0", features = ["bashisms", "sqlite"]}

View File

@ -16,7 +16,7 @@ nu-protocol = { path = "../nu-protocol", version = "0.72.2" }
nu-ansi-term = "0.46.0"
nu-utils = { path = "../nu-utils", version = "0.72.2" }
nu-engine = { path = "../nu-engine", version = "0.72.2" }
nu-test-support = { path="../nu-test-support", version = "0.72.2" }
# nu-path is used only for test support
nu-path = { path="../nu-path", version = "0.72.2" }
nu-json = { path="../nu-json", version = "0.72.2" }
[dev-dependencies]
nu-test-support = { path="../nu-test-support", version = "0.72.2" }

View File

@ -13,10 +13,10 @@ nu-protocol = { path = "../nu-protocol", version = "0.72.2" }
nu-utils = { path = "../nu-utils", version = "0.72.2" }
nu-engine = { path = "../nu-engine", version = "0.72.2" }
nu-color-config = { path = "../nu-color-config", version = "0.72.2" }
nu-test-support = { path="../nu-test-support", version = "0.72.2" }
# nu-path is used only for test support
nu-path = { path="../nu-path", version = "0.72.2" }
atty = "0.2.14"
tabled = { version = "0.10.0", features = ["color"], default-features = false }
json_to_table = { version = "0.3.1", features = ["color"] }
serde_json = "1"
[dev-dependencies]
nu-test-support = { path="../nu-test-support", version = "0.72.2" }