feat: Implement state persistence by serializing game and user data to state.json using serde_json.

This commit is contained in:
2025-12-03 14:40:05 +01:00
parent f9a4dd0851
commit 434eef5e1c
5 changed files with 104 additions and 29 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ fn main() -> Result<(), std::io::Error> {
cfg.type_attribute(
".",
"#[derive(rocket_prost_responder_derive::RocketResponder)]",
"#[derive(rocket_prost_responder_derive::RocketResponder, serde::Serialize, serde::Deserialize)]",
);
cfg.compile_protos(&["../protobuf/items.proto"], &["../protobuf"])?;