Remove unused dependencies (#5145)

* Remove unused packages from base Cargo.toml

* Remove unused crossterm_winapi from nu-cli

* Remove unused dependencies from nu-system

* Remove unused dependencies from nu-test-support
This commit is contained in:
Reilly Wood 2022-04-09 14:14:55 -07:00 committed by GitHub
parent 791e8a0e59
commit 58f395989a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 0 additions and 32 deletions

21
Cargo.lock generated
View file

@ -256,18 +256,6 @@ version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd"
[[package]]
name = "bigdecimal"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6aaf33151a6429fe9211d1b276eafdf70cdff28b071e76c0b0e1503221ea3744"
dependencies = [
"num-bigint 0.4.3",
"num-integer",
"num-traits",
"serde",
]
[[package]]
name = "bitflags"
version = "1.3.2"
@ -2247,7 +2235,6 @@ dependencies = [
"assert_cmd",
"chrono",
"crossterm",
"crossterm_winapi",
"ctrlc",
"embed-resource",
"hamcrest2",
@ -2270,7 +2257,6 @@ dependencies = [
"nu-table",
"nu-term-grid",
"nu-test-support",
"nu-utils",
"pretty_assertions",
"pretty_env_logger",
"rayon",
@ -2295,7 +2281,6 @@ name = "nu-cli"
version = "0.60.1"
dependencies = [
"crossterm",
"crossterm_winapi",
"is_executable",
"log",
"miette 4.2.1",
@ -2509,8 +2494,6 @@ dependencies = [
"ntapi",
"once_cell",
"procfs",
"users",
"which",
"winapi",
]
@ -2539,14 +2522,10 @@ dependencies = [
name = "nu-test-support"
version = "0.60.1"
dependencies = [
"bigdecimal",
"chrono",
"getset",
"hamcrest2",
"indexmap",
"nu-glob",
"nu-path",
"nu-protocol",
"num-bigint 0.4.3",
"tempfile",
]

View file

@ -34,7 +34,6 @@ members = [
[dependencies]
chrono = "0.4.19"
crossterm = "0.23.0"
crossterm_winapi = "0.9.0"
ctrlc = "3.2.1"
log = "0.4"
miette = "4.1.0"
@ -52,7 +51,6 @@ nu-protocol = { path = "./crates/nu-protocol", version = "0.60.1" }
nu-system = { path = "./crates/nu-system", version = "0.60.1" }
nu-table = { path = "./crates/nu-table", version = "0.60.1" }
nu-term-grid = { path = "./crates/nu-term-grid", version = "0.60.1" }
nu-utils = { path = "./crates/nu-utils", version = "0.60.1" }
pretty_env_logger = "0.4.0"
rayon = "1.5.1"
#reedline = {version = "0.3.0", features = ["bashisms"]}

View file

@ -16,7 +16,6 @@ nu-ansi-term = "0.45.1"
nu-color-config = { path = "../nu-color-config", version = "0.60.1" }
crossterm = "0.23.0"
crossterm_winapi = "0.9.0"
miette = { version = "4.1.0", features = ["fancy"] }
thiserror = "1.0.29"
#reedline = {"0.3.0", features = ["bashisms"]}

View file

@ -17,14 +17,10 @@ path = "src/main.rs"
[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies]
procfs = "0.12.0"
users = "0.11"
which = "4"
[target.'cfg(target_os = "macos")'.dependencies]
libproc = "0.10"
errno = "0.2"
users = "0.11"
which = "4"
libc = "0.2"
[target.'cfg(target_os = "windows")'.dependencies]

View file

@ -11,13 +11,9 @@ doctest = false
[dependencies]
nu-path = { path="../nu-path", version = "0.60.1" }
nu-protocol = { path="../nu-protocol", version = "0.60.1" }
nu-glob = { path = "../nu-glob", version = "0.60.1" }
bigdecimal = { package = "bigdecimal", version = "0.3.0", features = ["serde"] }
chrono = "0.4.19"
getset = "0.1.1"
indexmap = { version="1.6.1", features=["serde-1"] }
num-bigint = { version="0.4.3", features=["serde"] }
tempfile = "3.2.0"
hamcrest2 = "0.3.0"