summaryrefslogtreecommitdiff
path: root/src/data/compile_info.rs.template
blob: 7720d2bdd18b189caa830b6d5658a2c89ddb7e82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
pub struct CompileInfo {
    pub date: String,
    pub target: String,
    pub platform: String,
    pub toolchain: String,

    pub cli_version: 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(),
        }
    }
}