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.

fs: Reintroduce benchmarks crate (#40689)

Piotr Osiewicz37e264ab99c5
diff --git a/Cargo.lock b/Cargo.lock
index cca144a2bfd..ea89f8f3623 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -6341,6 +6341,14 @@ dependencies = [
"windows-sys 0.59.0",
]
+[[package]]
+name = "fs_benchmarks"
+version = "0.1.0"
+dependencies = [
+ "fs",
+ "gpui",
+]
+
[[package]]
name = "fs_extra"
version = "1.3.0"
diff --git a/Cargo.toml b/Cargo.toml
index 4828de8895e..5f4a72a5a6f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -70,6 +70,7 @@ members = [
"crates/file_finder",
"crates/file_icons",
"crates/fs",
+ "crates/fs_benchmarks",
"crates/fsevent",
"crates/fuzzy",
"crates/git",
diff --git a/crates/fs_benchmarks/Cargo.toml b/crates/fs_benchmarks/Cargo.toml
new file mode 100644
index 00000000000..f207a2db3b7
--- /dev/null
+++ b/crates/fs_benchmarks/Cargo.toml
@@ -0,0 +1,12 @@
+[package]
+name = "fs_benchmarks"
+version = "0.1.0"
+publish.workspace = true
+edition.workspace = true
+
+[dependencies]
+fs.workspace = true
+gpui = {workspace = true, features = ["windows-manifest"]}
+
+[lints]
+workspace = true