This commit is contained in:
griffi-gh 2023-01-30 03:42:58 +01:00
parent 5b93fa7639
commit f294e0e159
4 changed files with 14 additions and 2 deletions

View file

@ -6,6 +6,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
glam = { version = "0.22", features = ["debug-glam-assert", "mint", "fast-math"] }
glam = { version = "0.22", features = ["debug-glam-assert", "mint", "fast-math", "rkyv"] }
strum = { version = "0.24", features = ["derive"] }
bracket-noise = "0.8"
rkyv = { version = "0.7", features = ["validation", "archive_le"] }

View file

@ -1,2 +1,3 @@
pub mod client;
pub mod server;
pub mod messages;

View file

@ -0,0 +1,11 @@
use rkyv::{Archive, Deserialize, Serialize};
#[derive(Archive, Deserialize, Serialize, Debug, PartialEq)]
pub enum ClientToServerMessage {
Placeholder
}
#[derive(Archive, Deserialize, Serialize, Debug, PartialEq)]
pub enum ServerToClientMessage {
Placeholder
}

View file

@ -17,4 +17,3 @@ shipyard = { version = "0.6", features = ["thread_local"] }
nohash-hasher = "0.2.0"
anyhow = "1.0"
flume = "0.10"
#rkyv = "0.7"