Remove unnecessary dependencies from `lsp_status` crate

Antonio Scandurra created

Change summary

Cargo.lock                          | 4 ----
crates/lsp_status/Cargo.toml        | 4 ----
crates/lsp_status/src/lsp_status.rs | 9 +++------
3 files changed, 3 insertions(+), 14 deletions(-)

Detailed changes

Cargo.lock 🔗

@@ -2567,17 +2567,13 @@ dependencies = [
 name = "lsp_status"
 version = "0.1.0"
 dependencies = [
- "anyhow",
- "collections",
  "editor",
  "futures",
  "gpui",
  "language",
- "postage",
  "project",
  "settings",
  "smallvec",
- "theme",
  "util",
  "workspace",
 ]

crates/lsp_status/Cargo.toml 🔗

@@ -8,16 +8,12 @@ path = "src/lsp_status.rs"
 doctest = false
 
 [dependencies]
-collections = { path = "../collections" }
 editor = { path = "../editor" }
 language = { path = "../language" }
 gpui = { path = "../gpui" }
 project = { path = "../project" }
 settings = { path = "../settings" }
-theme = { path = "../theme" }
 util = { path = "../util" }
 workspace = { path = "../workspace" }
-anyhow = "1.0"
 futures = "0.3"
-postage = { version = "0.4", features = ["futures-traits"] }
 smallvec = { version = "1.6", features = ["union"] }

crates/lsp_status/src/lsp_status.rs 🔗

@@ -1,17 +1,14 @@
 use editor::Editor;
 use futures::StreamExt;
-use gpui::{actions, AppContext, EventContext, ViewHandle};
 use gpui::{
-    elements::*, platform::CursorStyle, Entity, ModelHandle, MutableAppContext, RenderContext,
-    View, ViewContext,
+    actions, elements::*, platform::CursorStyle, AppContext, Entity, EventContext, ModelHandle,
+    MutableAppContext, RenderContext, View, ViewContext, ViewHandle,
 };
 use language::{LanguageRegistry, LanguageServerBinaryStatus};
 use project::{LanguageServerProgress, Project};
 use settings::Settings;
 use smallvec::SmallVec;
-use std::cmp::Reverse;
-use std::fmt::Write;
-use std::sync::Arc;
+use std::{cmp::Reverse, fmt::Write, sync::Arc};
 use util::ResultExt;
 use workspace::{ItemHandle, StatusItemView, Workspace};