From b093d5d10da0020eaa824429d030d3f408e82cdc Mon Sep 17 00:00:00 2001 From: Michael Angerman <1809991+stormasm@users.noreply.github.com> Date: Mon, 27 Feb 2023 21:56:21 -0800 Subject: [PATCH] clean up nu-cmd-lang Cargo.toml (#8252) Remove all un-used dependencies in nu-cmd-lang's Cargo.toml --- Cargo.lock | 20 -------------------- crates/nu-cmd-lang/Cargo.toml | 24 ------------------------ 2 files changed, 44 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e405df5a9f..80613a7468 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2646,37 +2646,17 @@ dependencies = [ name = "nu-cmd-lang" version = "0.76.1" dependencies = [ - "atty", - "chrono", - "crossterm 0.24.0", "fancy-regex", "itertools", - "libc", "log", - "lscolors", "nu-ansi-term", "nu-color-config", "nu-engine", - "nu-explore", - "nu-json", "nu-parser", - "nu-path", - "nu-pretty-hex", "nu-protocol", - "nu-system", - "nu-table", - "nu-term-grid", "nu-test-support", "nu-utils", - "once_cell", - "pathdiff", - "rayon", - "serde", "shadow-rs", - "sysinfo 0.28.0", - "tabled", - "terminal_size 0.2.1", - "url", ] [[package]] diff --git a/crates/nu-cmd-lang/Cargo.toml b/crates/nu-cmd-lang/Cargo.toml index a06e2fa0f6..88e6f4c118 100644 --- a/crates/nu-cmd-lang/Cargo.toml +++ b/crates/nu-cmd-lang/Cargo.toml @@ -12,41 +12,17 @@ version = "0.76.1" bench = false [dependencies] -serde = { version="1.0.123", features=["derive"] } -# used only for text_style Alignments -tabled = { version = "0.10.0", features = ["color"], default-features = false } - nu-ansi-term = "0.46.0" nu-color-config = { path = "../nu-color-config", version = "0.76.1" } nu-engine = { path = "../nu-engine", version = "0.76.1" } -nu-explore = { path = "../nu-explore", version = "0.76.1" } -nu-json = { path="../nu-json", version = "0.76.1" } nu-parser = { path = "../nu-parser", version = "0.76.1" } -nu-path = { path = "../nu-path", version = "0.76.1" } -nu-pretty-hex = { path = "../nu-pretty-hex", version = "0.76.1" } nu-protocol = { path = "../nu-protocol", version = "0.76.1" } -nu-system = { path = "../nu-system", version = "0.76.1" } -nu-table = { path = "../nu-table", version = "0.76.1" } -nu-term-grid = { path = "../nu-term-grid", version = "0.76.1" } nu-utils = { path = "../nu-utils", version = "0.76.1" } -atty = "0.2.14" -chrono = { version = "0.4.23", features = ["std", "unstable-locales"], default-features = false } -crossterm = "0.24.0" fancy-regex = "0.11.0" itertools = "0.10.0" log = "0.4.14" -lscolors = { version = "0.12.0", features = ["crossterm"], default-features = false } -once_cell = "1.17" -pathdiff = "0.2.1" -rayon = "1.6.1" shadow-rs = { version = "0.20.0", default-features = false } -sysinfo = "0.28.0" -terminal_size = "0.2.1" -url = "2.2.1" - -[target.'cfg(unix)'.dependencies] -libc = "0.2" [build-dependencies] shadow-rs = { version = "0.20.0", default-features = false }