We are go with Bevy <3
This commit is contained in:
10
Cargo.toml
10
Cargo.toml
@@ -4,3 +4,13 @@ version = "0.1.0"
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
bevy = "0.14.1"
|
||||||
|
|
||||||
|
# Enable a small amount of optimization in the dev profile.
|
||||||
|
[profile.dev]
|
||||||
|
opt-level = 1
|
||||||
|
|
||||||
|
# Enable a large amount of optimization in the dev profile for dependencies.
|
||||||
|
[profile.dev.package."*"]
|
||||||
|
opt-level = 3
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
use bevy::prelude::*;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
println!("Inits are hard");
|
App::new().add_systems(Update, hello_world).run();
|
||||||
|
}
|
||||||
|
|
||||||
|
fn hello_world() {
|
||||||
|
println!("hello world!");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user