diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-03-15 02:19:12 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-03-15 02:19:12 +0800 |
| commit | d942ec50ff68f36c2641becdd6f32a95ab3f4325 (patch) | |
| tree | 4d63c9e3df1683a0d6dbdad3f5d6be2f71d0938d | |
| parent | e7115911f81a2ae5ac5f8afdf7a121d803ae47af (diff) | |
Add serde as a dependency and derive Serialize for CoreCompileInfo
| -rw-r--r-- | Cargo.lock | 1 | ||||
| -rw-r--r-- | Cargo.toml | 2 | ||||
| -rw-r--r-- | src/data/compile_info.rs.template | 1 |
3 files changed, 4 insertions, 0 deletions
@@ -991,6 +991,7 @@ dependencies = [ "framework", "hex_display", "jvlib", + "serde", "sha1_hash", "sheet_system", "tcp_connection", @@ -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, |
