feat: Implement state persistence by serializing game and user data to state.json using serde_json.
This commit is contained in:
+1
-1
@@ -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"])?;
|
||||
|
||||
Reference in New Issue
Block a user