From d942ec50ff68f36c2641becdd6f32a95ab3f4325 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sun, 15 Mar 2026 02:19:12 +0800 Subject: Add serde as a dependency and derive Serialize for CoreCompileInfo --- Cargo.lock | 1 + Cargo.toml | 2 ++ src/data/compile_info.rs.template | 1 + 3 files changed, 4 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index cf651ce..a231b6c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -991,6 +991,7 @@ dependencies = [ "framework", "hex_display", "jvlib", + "serde", "sha1_hash", "sheet_system", "tcp_connection", diff --git a/Cargo.toml b/Cargo.toml index 1ec6c84..3fa49b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -142,3 +142,5 @@ workspace_system = { path = "systems/workspace" } vcs_data = { path = "legacy_data" } vcs_actions = { path = "legacy_actions" } action_system = { path = "legacy_systems/action" } + +serde.workspace = true diff --git a/src/data/compile_info.rs.template b/src/data/compile_info.rs.template index 78a475b..6bf5ac5 100644 --- a/src/data/compile_info.rs.template +++ b/src/data/compile_info.rs.template @@ -1,3 +1,4 @@ +#[derive(serde::Serialize)] pub struct CoreCompileInfo { pub date: String, pub target: String, -- cgit