diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-01-07 14:54:35 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-01-07 14:54:35 +0800 |
| commit | edf60b58e4e33607b3929cfd6c678b88b49abaab (patch) | |
| tree | 3b4c28b18ea5e695c5c4aa56f045540692dd0ffc /src | |
| parent | 4c54c3282b5980551179da5c7f7416359ad2ded9 (diff) | |
Move template files to templates directory
Diffstat (limited to 'src')
| -rw-r--r-- | src/data/compile_info.rs.template | 24 |
1 files changed, 0 insertions, 24 deletions
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(), - } - } -} |
