From edf60b58e4e33607b3929cfd6c678b88b49abaab Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Wed, 7 Jan 2026 14:54:35 +0800 Subject: Move template files to templates directory --- src/data/compile_info.rs.template | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 src/data/compile_info.rs.template (limited to 'src/data/compile_info.rs.template') diff --git a/src/data/compile_info.rs.template b/src/data/compile_info.rs.template deleted file mode 100644 index b65055b..0000000 --- a/src/data/compile_info.rs.template +++ /dev/null @@ -1,24 +0,0 @@ -pub struct CompileInfo { - pub date: String, - pub target: String, - pub platform: String, - pub toolchain: String, - - pub cli_version: String, - pub build_branch: String, - pub build_commit: String, -} - -impl Default for CompileInfo { - fn default() -> Self { - Self { - date: "{date}".to_string(), - target: "{target}".to_string(), - platform: "{platform}".to_string(), - toolchain: "{toolchain}".to_string(), - cli_version: "{version}".to_string(), - build_branch: "{branch}".to_string(), - build_commit: "{commit}".to_string(), - } - } -} -- cgit