diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-02-28 12:35:07 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-02-28 12:35:07 +0800 |
| commit | afddded8fdab6925a83f1240999ebac8f76f239d (patch) | |
| tree | 16d692f32e15824863907156ad1d4ed8c7b29576 /templates/compile_info.rs.template | |
| parent | a469c6684619c9677dfc1125886acc37f24c81d4 (diff) | |
Replace manual template processing with just_template library
Diffstat (limited to 'templates/compile_info.rs.template')
| -rw-r--r-- | templates/compile_info.rs.template | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/compile_info.rs.template b/templates/compile_info.rs.template index b65055b..fcaaf63 100644 --- a/templates/compile_info.rs.template +++ b/templates/compile_info.rs.template @@ -12,13 +12,13 @@ pub struct CompileInfo { 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(), + 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(), } } } |
