Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix fs2 import on zed

Conrad Irwin693246ba26c4
diff --git a/Cargo.lock b/Cargo.lock
index 3571e7c1d6f..34c1153ef84 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -10745,7 +10745,7 @@ dependencies = [
"db2",
"env_logger 0.9.3",
"feature_flags",
- "fs",
+ "fs2",
"fsevent",
"futures 0.3.28",
"fuzzy",
diff --git a/crates/zed2/Cargo.toml b/crates/zed2/Cargo.toml
index 06804253b8a..baeea223f3a 100644
--- a/crates/zed2/Cargo.toml
+++ b/crates/zed2/Cargo.toml
@@ -37,7 +37,7 @@ db2 = { path = "../db2" }
# feedback = { path = "../feedback" }
# file_finder = { path = "../file_finder" }
# search = { path = "../search" }
-fs = { path = "../fs" }
+fs2 = { path = "../fs2" }
fsevent = { path = "../fsevent" }
fuzzy = { path = "../fuzzy" }
# go_to_line = { path = "../go_to_line" }
diff --git a/crates/zed2/src/main.rs b/crates/zed2/src/main.rs
index fff3b5eae1e..d3440082c44 100644
--- a/crates/zed2/src/main.rs
+++ b/crates/zed2/src/main.rs
@@ -9,7 +9,7 @@ use cli::{
CliRequest, CliResponse, IpcHandshake, FORCE_CLI_MODE_ENV_VAR_NAME,
};
use db2::kvp::KEY_VALUE_STORE;
-use fs::RealFs;
+use fs2::RealFs;
use futures::{channel::mpsc, SinkExt, StreamExt};
use gpui2::{App, AppContext, AsyncAppContext, SemanticVersion, Task};
use isahc::{prelude::Configurable, Request};