//! Build-time identity, embedded so every heartbeat and `--version` can state
//! exactly what is running.

pub const VERSION: &str = env!("CARGO_PKG_VERSION");
pub const GIT_HASH: &str = env!("CORROSION_GIT_HASH");
pub const BUILD_TS: &str = env!("CORROSION_BUILD_TS");

pub fn long() -> String {
    format!("{VERSION} ({GIT_HASH}, built {BUILD_TS})")
}
