From 3b97729bb6502f04606e8375c7ca0b66987d8380 Mon Sep 17 00:00:00 2001 From: prsabahrami Date: Thu, 26 Sep 2024 03:06:33 -0400 Subject: [PATCH] Remove extra crates --- Cargo.lock | 73 +++-------------------------------------- crates/shell/Cargo.toml | 2 -- 2 files changed, 4 insertions(+), 71 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7d4aaf1..d31055a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -290,20 +290,6 @@ dependencies = [ "typenum", ] -[[package]] -name = "datetime" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44c3f7a77f3e57fedf80e09136f2d8777ebf621207306f6d96d610af048354bc" -dependencies = [ - "iso8601", - "libc", - "locale", - "pad", - "redox_syscall 0.1.57", - "winapi", -] - [[package]] name = "deno_task_shell" version = "0.17.0" @@ -543,7 +529,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" dependencies = [ "typenum", - "version_check 0.9.5", + "version_check", ] [[package]] @@ -636,15 +622,6 @@ version = "1.70.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" -[[package]] -name = "iso8601" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43e86914a73535f3f541a765adea0a9fafcf53fa6adb73662c4988fd9233766f" -dependencies = [ - "nom 4.2.3", -] - [[package]] name = "itertools" version = "0.13.0" @@ -689,7 +666,7 @@ checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" dependencies = [ "bitflags", "libc", - "redox_syscall 0.5.4", + "redox_syscall", ] [[package]] @@ -698,15 +675,6 @@ version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" -[[package]] -name = "locale" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fdbe492a9c0238da900a1165c42fc5067161ce292678a6fe80921f30fe307fd" -dependencies = [ - "libc", -] - [[package]] name = "lock_api" version = "0.4.12" @@ -817,16 +785,6 @@ dependencies = [ "libc", ] -[[package]] -name = "nom" -version = "4.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ad2a91a8e869eeb30b9cb3119ae87773a8f4ae617f41b1eb9c154b2905f7bd6" -dependencies = [ - "memchr", - "version_check 0.1.5", -] - [[package]] name = "nom" version = "7.1.3" @@ -907,15 +865,6 @@ version = "4.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56" -[[package]] -name = "pad" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2ad9b889f1b12e0b9ee24db044b5129150d5eada288edc800f789928dc8c0e3" -dependencies = [ - "unicode-width", -] - [[package]] name = "parking_lot" version = "0.12.3" @@ -934,7 +883,7 @@ checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.5.4", + "redox_syscall", "smallvec", "windows-targets 0.52.6", ] @@ -946,7 +895,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8720474e3dd4af20cea8716703498b9f3b690f318fa9d9d9e2e38eaf44b96d0" dependencies = [ "chrono", - "nom 7.1.3", + "nom", "regex", ] @@ -1088,12 +1037,6 @@ dependencies = [ "nibble_vec", ] -[[package]] -name = "redox_syscall" -version = "0.1.57" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce" - [[package]] name = "redox_syscall" version = "0.5.4" @@ -1268,7 +1211,6 @@ dependencies = [ "anyhow", "chrono", "clap", - "datetime", "deno_task_shell", "dirs", "dtparse", @@ -1277,7 +1219,6 @@ dependencies = [ "miette", "parse_datetime", "rustyline", - "thiserror", "tokio", "uu_date", "uu_ls", @@ -1628,12 +1569,6 @@ dependencies = [ "ansi-width", ] -[[package]] -name = "version_check" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "914b1a6776c4c929a602fafd8bc742e06365d4bcbe48c30f9cca5824f70dc9dd" - [[package]] name = "version_check" version = "0.9.5" diff --git a/crates/shell/Cargo.toml b/crates/shell/Cargo.toml index b79d6bf..327a47e 100644 --- a/crates/shell/Cargo.toml +++ b/crates/shell/Cargo.toml @@ -36,9 +36,7 @@ uu_uname = "0.0.27" uu_touch = "0.0.27" uu_date = "0.0.27" miette = { version = "7.2.0", features = ["fancy"] } -thiserror = "1.0.64" filetime = "0.2.25" -datetime = "0.5.2" chrono = "0.4.38" parse_datetime = "0.6.0" dtparse = "2.0.1"