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

@ -0,0 +1,6 @@
[package]
name = "zephyr"
version = "0.1.0"
edition = "2021"
[dependencies]

View file

@ -0,0 +1,14 @@
pub fn add(left: u64, right: u64) -> u64 {
left + right
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}