summaryrefslogtreecommitdiff
path: root/templates/compile_info.rs.template
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-02-28 12:35:07 +0800
committer魏曹先生 <1992414357@qq.com>2026-02-28 12:35:07 +0800
commitafddded8fdab6925a83f1240999ebac8f76f239d (patch)
tree16d692f32e15824863907156ad1d4ed8c7b29576 /templates/compile_info.rs.template
parenta469c6684619c9677dfc1125886acc37f24c81d4 (diff)
Replace manual template processing with just_template library
Diffstat (limited to 'templates/compile_info.rs.template')
-rw-r--r--templates/compile_info.rs.template14
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(),
}
}
}