pull in bevy dep
This commit is contained in:
5965
Cargo.lock
generated
5965
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -3,4 +3,8 @@ name = "more_hands"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
[workspace]
|
||||
members = ["hello_bevy","hello_world"]
|
||||
|
||||
[workspace.dependencies]
|
||||
bevy = { version = "0.18.1", features = ["wayland"] }
|
||||
|
||||
7
hello_bevy/Cargo.toml
Normal file
7
hello_bevy/Cargo.toml
Normal file
@@ -0,0 +1,7 @@
|
||||
[package]
|
||||
name = "hello_bevy"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
bevy = { workspace = true }
|
||||
7
hello_bevy/src/main.rs
Normal file
7
hello_bevy/src/main.rs
Normal file
@@ -0,0 +1,7 @@
|
||||
use bevy::prelude::*;
|
||||
|
||||
fn main() {
|
||||
App::new()
|
||||
.add_plugins(DefaultPlugins)
|
||||
.run();
|
||||
}
|
||||
6
hello_world/Cargo.toml
Normal file
6
hello_world/Cargo.toml
Normal file
@@ -0,0 +1,6 @@
|
||||
[package]
|
||||
name = "hello_world"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
3
hello_world/src/main.rs
Normal file
3
hello_world/src/main.rs
Normal file
@@ -0,0 +1,3 @@
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
||||
Reference in New Issue
Block a user