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",
|
"regex",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "people_panel"
|
||||||
|
version = "0.1.0"
|
||||||
|
dependencies = [
|
||||||
|
"client",
|
||||||
|
"gpui",
|
||||||
|
"postage",
|
||||||
|
"theme",
|
||||||
|
"workspace",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "percent-encoding"
|
name = "percent-encoding"
|
||||||
version = "2.1.0"
|
version = "2.1.0"
|
||||||
|
@ -6154,6 +6165,7 @@ dependencies = [
|
||||||
"log-panics",
|
"log-panics",
|
||||||
"num_cpus",
|
"num_cpus",
|
||||||
"parking_lot",
|
"parking_lot",
|
||||||
|
"people_panel",
|
||||||
"postage",
|
"postage",
|
||||||
"project",
|
"project",
|
||||||
"project_panel",
|
"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" }
|
editor = { path = "../editor" }
|
||||||
file_finder = { path = "../file_finder" }
|
file_finder = { path = "../file_finder" }
|
||||||
gpui = { path = "../gpui" }
|
gpui = { path = "../gpui" }
|
||||||
|
people_panel = { path = "../people_panel" }
|
||||||
project = { path = "../project" }
|
project = { path = "../project" }
|
||||||
project_panel = { path = "../project_panel" }
|
project_panel = { path = "../project_panel" }
|
||||||
rpc = { path = "../rpc" }
|
rpc = { path = "../rpc" }
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
pub mod assets;
|
pub mod assets;
|
||||||
pub mod language;
|
pub mod language;
|
||||||
pub mod menus;
|
pub mod menus;
|
||||||
pub mod people_panel;
|
|
||||||
#[cfg(any(test, feature = "test-support"))]
|
#[cfg(any(test, feature = "test-support"))]
|
||||||
pub mod test;
|
pub mod test;
|
||||||
pub mod theme_selector;
|
pub mod theme_selector;
|
||||||
|
@ -19,6 +18,7 @@ use gpui::{
|
||||||
ModelHandle, MutableAppContext, PathPromptOptions, Task, ViewContext,
|
ModelHandle, MutableAppContext, PathPromptOptions, Task, ViewContext,
|
||||||
};
|
};
|
||||||
use parking_lot::Mutex;
|
use parking_lot::Mutex;
|
||||||
|
pub use people_panel;
|
||||||
use people_panel::PeoplePanel;
|
use people_panel::PeoplePanel;
|
||||||
use postage::watch;
|
use postage::watch;
|
||||||
pub use project::{self, fs};
|
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 binary to be called Zed for a nice application menu when running executable direcly
|
||||||
#![allow(non_snake_case)]
|
#![allow(non_snake_case)]
|
||||||
|
|
||||||
|
use client::{self, http, ChannelList, UserStore};
|
||||||
use fs::OpenOptions;
|
use fs::OpenOptions;
|
||||||
use gpui::AssetSource;
|
use gpui::AssetSource;
|
||||||
use log::LevelFilter;
|
use log::LevelFilter;
|
||||||
|
@ -10,12 +11,8 @@ use std::{fs, path::PathBuf, sync::Arc};
|
||||||
use theme::ThemeRegistry;
|
use theme::ThemeRegistry;
|
||||||
use workspace::{self, settings, OpenNew};
|
use workspace::{self, settings, OpenNew};
|
||||||
use zed::{
|
use zed::{
|
||||||
self,
|
self, assets::Assets, fs::RealFs, language, menus, theme_selector, AppState, OpenParams,
|
||||||
assets::Assets,
|
OpenPaths,
|
||||||
client::{self, http, ChannelList, UserStore},
|
|
||||||
editor,
|
|
||||||
fs::RealFs,
|
|
||||||
language, menus, people_panel, theme_selector, AppState, OpenParams, OpenPaths,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue