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

    pub vcs_version: String,
}

impl Default for CoreCompileInfo {
    fn default() -> Self {
        Self {
            date: "{date}".to_string(),
            target: "{target}".to_string(),
            platform: "{platform}".to_string(),
            toolchain: "{toolchain}".to_string(),
            vcs_version: "{version}".to_string(),
        }
    }
}