From 519ea23b2150e1dd3387cf858b3c0c01e509e90c Mon Sep 17 00:00:00 2001 From: ClementTsang Date: Sat, 25 Dec 2021 02:17:49 -0500 Subject: [PATCH] Remove some dependencies, update dir --- Cargo.lock | 17 ----------------- Cargo.toml | 9 ++++----- 2 files changed, 4 insertions(+), 22 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ec194f46..af64176f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -248,7 +248,6 @@ dependencies = [ "futures", "futures-timer", "heim", - "indexmap", "indextree", "itertools", "libc", @@ -732,12 +731,6 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" -[[package]] -name = "hashbrown" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" - [[package]] name = "heim" version = "0.1.0-rc.1" @@ -876,16 +869,6 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" -[[package]] -name = "indexmap" -version = "1.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc633605454125dec4b66843673f01c7df2b89479b32e0ed634e43a91cff62a5" -dependencies = [ - "autocfg", - "hashbrown", -] - [[package]] name = "indextree" version = "4.3.1" diff --git a/Cargo.toml b/Cargo.toml index 713228cc..7cf45e5b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,9 +42,8 @@ dirs = "3.0.2" enum_dispatch = "0.3.7" float-ord = "0.3.2" futures = "0.3.14" -futures-timer = "3.0.2" -indexmap = "1.6.2" -indextree = "4.3.1" +futures-timer = "3.0.2" # TODO: Remove? +indextree = "4.3.1" # TODO: Remove? itertools = "0.10.0" once_cell = "1.5.2" regex = "1.5.4" @@ -52,7 +51,7 @@ rustc-hash = "1.1.0" serde = { version = "1.0.125", features = ["derive"] } # Sysinfo is still used in Linux for the ProcessStatus sysinfo = "0.18.2" -thiserror = "1.0.24" +thiserror = "1.0.24" # TODO: Remove? textwrap = "0.14.2" time = { version = "0.3.3", features = ["formatting", "local-offset", "macros"] } toml = "0.5.8" @@ -69,7 +68,7 @@ battery = { version = "0.7.8", optional = true } libc = "0.2.86" [target.'cfg(target_os = "linux")'.dependencies] -heim = { version = "0.1.0-rc.1", features = ["cpu", "disk", "net", "sensors"] } +heim = { version = "0.1.0-rc.1", features = ["cpu", "disk", "net", "sensors"] } # TODO: Remove? procfs = { version = "0.11.0", default-features = false } smol = "1.2.5"