mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-24 19:10:24 +00:00
Extract people_panel
into its own crate
This commit is contained in:
parent
cd6378e848
commit
47b29a5f21
6 changed files with 28 additions and 7 deletions
12
Cargo.lock
generated
12
Cargo.lock
generated
|
@ -3440,6 +3440,17 @@ dependencies = [
|
|||
"regex",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "people_panel"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"client",
|
||||
"gpui",
|
||||
"postage",
|
||||
"theme",
|
||||
"workspace",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "percent-encoding"
|
||||
version = "2.1.0"
|
||||
|
@ -6154,6 +6165,7 @@ dependencies = [
|
|||
"log-panics",
|
||||
"num_cpus",
|
||||
"parking_lot",
|
||||
"people_panel",
|
||||
"postage",
|
||||
"project",
|
||||
"project_panel",
|
||||
|
|
11
crates/people_panel/Cargo.toml
Normal file
11
crates/people_panel/Cargo.toml
Normal file
|
@ -0,0 +1,11 @@
|
|||
[package]
|
||||
name = "people_panel"
|
||||
version = "0.1.0"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
client = { path = "../client" }
|
||||
gpui = { path = "../gpui" }
|
||||
theme = { path = "../theme" }
|
||||
workspace = { path = "../workspace" }
|
||||
postage = { version = "0.4.1", features = ["futures-traits"] }
|
|
@ -33,6 +33,7 @@ fuzzy = { path = "../fuzzy" }
|
|||
editor = { path = "../editor" }
|
||||
file_finder = { path = "../file_finder" }
|
||||
gpui = { path = "../gpui" }
|
||||
people_panel = { path = "../people_panel" }
|
||||
project = { path = "../project" }
|
||||
project_panel = { path = "../project_panel" }
|
||||
rpc = { path = "../rpc" }
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
pub mod assets;
|
||||
pub mod language;
|
||||
pub mod menus;
|
||||
pub mod people_panel;
|
||||
#[cfg(any(test, feature = "test-support"))]
|
||||
pub mod test;
|
||||
pub mod theme_selector;
|
||||
|
@ -19,6 +18,7 @@ use gpui::{
|
|||
ModelHandle, MutableAppContext, PathPromptOptions, Task, ViewContext,
|
||||
};
|
||||
use parking_lot::Mutex;
|
||||
pub use people_panel;
|
||||
use people_panel::PeoplePanel;
|
||||
use postage::watch;
|
||||
pub use project::{self, fs};
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Allow binary to be called Zed for a nice application menu when running executable direcly
|
||||
#![allow(non_snake_case)]
|
||||
|
||||
use client::{self, http, ChannelList, UserStore};
|
||||
use fs::OpenOptions;
|
||||
use gpui::AssetSource;
|
||||
use log::LevelFilter;
|
||||
|
@ -10,12 +11,8 @@ use std::{fs, path::PathBuf, sync::Arc};
|
|||
use theme::ThemeRegistry;
|
||||
use workspace::{self, settings, OpenNew};
|
||||
use zed::{
|
||||
self,
|
||||
assets::Assets,
|
||||
client::{self, http, ChannelList, UserStore},
|
||||
editor,
|
||||
fs::RealFs,
|
||||
language, menus, people_panel, theme_selector, AppState, OpenParams, OpenPaths,
|
||||
self, assets::Assets, fs::RealFs, language, menus, theme_selector, AppState, OpenParams,
|
||||
OpenPaths,
|
||||
};
|
||||
|
||||
fn main() {
|
||||
|
|
Loading…
Reference in a new issue