From a1f63849fee290fed66e0b202b527e072d883505 Mon Sep 17 00:00:00 2001 From: nibon7 Date: Wed, 28 Jun 2023 14:57:26 +0800 Subject: [PATCH] also remove atty from dependency tree --- Cargo.lock | 32 -------------------------------- crates/nu-command/Cargo.toml | 2 +- 2 files changed, 1 insertion(+), 33 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 77ad98aa5b1a2..37947c2ee08a9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -266,17 +266,6 @@ dependencies = [ "critical-section", ] -[[package]] -name = "atty" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" -dependencies = [ - "hermit-abi 0.1.19", - "libc", - "winapi 0.3.9", -] - [[package]] name = "autocfg" version = "1.1.0" @@ -651,17 +640,6 @@ dependencies = [ "encoding_rs", ] -[[package]] -name = "colored" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3616f750b84d8f0de8a58bda93e08e2a81ad3f523089b05f1dffecab48c6cbd" -dependencies = [ - "atty", - "lazy_static", - "winapi 0.3.9", -] - [[package]] name = "comfy-table" version = "6.1.4" @@ -1686,15 +1664,6 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" -[[package]] -name = "hermit-abi" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" -dependencies = [ - "libc", -] - [[package]] name = "hermit-abi" version = "0.2.6" @@ -2509,7 +2478,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09c762b6267c4593555bb38f1df19e9318985bc4de60b5e8462890856a9a5b4c" dependencies = [ "assert-json-diff", - "colored", "futures", "hyper", "lazy_static", diff --git a/crates/nu-command/Cargo.toml b/crates/nu-command/Cargo.toml index 0a924ab7f9e06..7175d1365cf28 100644 --- a/crates/nu-command/Cargo.toml +++ b/crates/nu-command/Cargo.toml @@ -123,7 +123,7 @@ nu-cmd-lang = { path = "../nu-cmd-lang", version = "0.82.1" } nu-test-support = { path = "../nu-test-support", version = "0.82.1" } dirs-next = "2.0" -mockito = "1.1" +mockito = { version = "1.1", default-features = false } quickcheck = "1.0" quickcheck_macros = "1.0" rstest = { version = "0.17", default-features = false }