add zephyr ECS subcrate

This commit is contained in:
Chance 2024-12-03 01:12:33 -05:00 committed by BitSyndicate
parent 198253ef85
commit a11a13afd7
Signed by untrusted user: bitsyndicate
GPG key ID: 443E4198D6BBA6DE
5 changed files with 30 additions and 5 deletions

View file

@ -18,3 +18,4 @@ thiserror = "2.0.3"
tokio = { version = "1.41.1", features = ["macros", "rt", "rt-multi-thread"] }
wgpu = "23.0.1"
winit = "0.30.5"
zephyr.workspace = true

View file

@ -15,6 +15,8 @@ struct Cli {
#[tokio::main]
async fn main() -> Result<()> {
let t = zephyr::add(0, 2);
println!("{}", t);
let cli = Cli::parse();
log::set_logger(&*LOGGER).unwrap();