rbtag 0.3.0

A procedural macro to add build DateTime and git commit information at compile time
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// reexport of rbtag_derive
pub use rbtag_derive::*;

/// Trait for returning the build datetime stamp in UTC
pub trait BuildDateTime {
    fn get_build_timestamp(&self) -> &'static str;
}

/// Trait for returning the build commit short hash
pub trait BuildInfo {
    fn get_build_commit(&self) -> &'static str;
}