1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
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(),
}
}
}
|