diff --git a/Cargo.lock b/Cargo.lock index 72c58d41fe..352c3310ff 100644 --- a/Cargo.lock +++ b/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", ] diff --git a/crates/lsp_status/Cargo.toml b/crates/lsp_status/Cargo.toml index 21afee754c..19d428d3b2 100644 --- a/crates/lsp_status/Cargo.toml +++ b/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"] } diff --git a/crates/lsp_status/src/lsp_status.rs b/crates/lsp_status/src/lsp_status.rs index c770d1961f..fedf5299de 100644 --- a/crates/lsp_status/src/lsp_status.rs +++ b/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};