Extract file_finder
into its own crate
This commit is contained in:
parent
1ec0afb2d1
commit
cd6378e848
6 changed files with 36 additions and 2 deletions
16
Cargo.lock
generated
16
Cargo.lock
generated
|
@ -1855,6 +1855,21 @@ dependencies = [
|
||||||
"subtle",
|
"subtle",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "file_finder"
|
||||||
|
version = "0.1.0"
|
||||||
|
dependencies = [
|
||||||
|
"editor",
|
||||||
|
"fuzzy",
|
||||||
|
"gpui",
|
||||||
|
"postage",
|
||||||
|
"project",
|
||||||
|
"serde_json 1.0.64",
|
||||||
|
"theme",
|
||||||
|
"util",
|
||||||
|
"workspace",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "filetime"
|
name = "filetime"
|
||||||
version = "0.2.14"
|
version = "0.2.14"
|
||||||
|
@ -6124,6 +6139,7 @@ dependencies = [
|
||||||
"easy-parallel",
|
"easy-parallel",
|
||||||
"editor",
|
"editor",
|
||||||
"env_logger",
|
"env_logger",
|
||||||
|
"file_finder",
|
||||||
"fsevent",
|
"fsevent",
|
||||||
"futures",
|
"futures",
|
||||||
"fuzzy",
|
"fuzzy",
|
||||||
|
|
18
crates/file_finder/Cargo.toml
Normal file
18
crates/file_finder/Cargo.toml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
[package]
|
||||||
|
name = "file_finder"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2018"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
editor = { path = "../editor" }
|
||||||
|
fuzzy = { path = "../fuzzy" }
|
||||||
|
gpui = { path = "../gpui" }
|
||||||
|
project = { path = "../project" }
|
||||||
|
util = { path = "../util" }
|
||||||
|
theme = { path = "../theme" }
|
||||||
|
workspace = { path = "../workspace" }
|
||||||
|
postage = { version = "0.4.1", features = ["futures-traits"] }
|
||||||
|
|
||||||
|
[dev-dependencies]
|
||||||
|
serde_json = { version = "1.0.64", features = ["preserve_order"] }
|
||||||
|
workspace = { path = "../workspace", features = ["test-support"] }
|
|
@ -31,6 +31,7 @@ clock = { path = "../clock" }
|
||||||
fsevent = { path = "../fsevent" }
|
fsevent = { path = "../fsevent" }
|
||||||
fuzzy = { path = "../fuzzy" }
|
fuzzy = { path = "../fuzzy" }
|
||||||
editor = { path = "../editor" }
|
editor = { path = "../editor" }
|
||||||
|
file_finder = { path = "../file_finder" }
|
||||||
gpui = { path = "../gpui" }
|
gpui = { path = "../gpui" }
|
||||||
project = { path = "../project" }
|
project = { path = "../project" }
|
||||||
project_panel = { path = "../project_panel" }
|
project_panel = { path = "../project_panel" }
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
pub mod assets;
|
pub mod assets;
|
||||||
pub mod file_finder;
|
|
||||||
pub mod language;
|
pub mod language;
|
||||||
pub mod menus;
|
pub mod menus;
|
||||||
pub mod people_panel;
|
pub mod people_panel;
|
||||||
|
|
|
@ -13,7 +13,7 @@ use zed::{
|
||||||
self,
|
self,
|
||||||
assets::Assets,
|
assets::Assets,
|
||||||
client::{self, http, ChannelList, UserStore},
|
client::{self, http, ChannelList, UserStore},
|
||||||
editor, file_finder,
|
editor,
|
||||||
fs::RealFs,
|
fs::RealFs,
|
||||||
language, menus, people_panel, theme_selector, AppState, OpenParams, OpenPaths,
|
language, menus, people_panel, theme_selector, AppState, OpenParams, OpenPaths,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue