mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-10 20:41:59 +00:00
gpui: add example sections in Cargo.toml (#8174)
So that we can run the example simply by `cargo run --example hello_world` Release Notes: - N/A
This commit is contained in:
parent
aa34e306f7
commit
6f36527bc6
1 changed files with 12 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue