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.

gpui: add example sections in Cargo.toml (#8174)

Xinzhao Xu6f36527bc69a
diff --git a/crates/gpui/Cargo.toml b/crates/gpui/Cargo.toml
index a55edcab195..715ce36be70 100644
--- a/crates/gpui/Cargo.toml
+++ b/crates/gpui/Cargo.toml
@@ -115,3 +115,15 @@ blade-macros.workspace = true
blade-rwh.workspace = true
bytemuck = "1"
cosmic-text = "0.10.0"
+
+[[example]]
+name = "hello_world"
+path = "examples/hello_world.rs"
+
+[[example]]
+name = "image"
+path = "examples/image.rs"
+
+[[example]]
+name = "ownership_post"
+path = "examples/ownership_post.rs"