This commit is contained in:
griffi-gh 2023-01-30 03:42:58 +01:00
parent 0ae2a8ac17
commit 87abc6c215
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 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [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"] } strum = { version = "0.24", features = ["derive"] }
bracket-noise = "0.8" bracket-noise = "0.8"
rkyv = { version = "0.7", features = ["validation", "archive_le"] }

View file

@ -1,2 +1,3 @@
pub mod client; pub mod client;
pub mod server; 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" nohash-hasher = "0.2.0"
anyhow = "1.0" anyhow = "1.0"
flume = "0.10" flume = "0.10"
#rkyv = "0.7"