declare_app_details

Macro declare_app_details 

Source
macro_rules! declare_app_details {
    (full_name = $full_name:expr, short_name = $short_name:expr, identifier = $identifier:expr $(,)?) => { ... };
}
Expand description

Declares the details for the application being compiled.

The caller supplies the three names that identify the application. Everything else is filled in automatically: the version comes from the calling crate’s Cargo manifest, and the build metadata from saluki-metadata’s own build script.

§Examples

pub const APP_DETAILS: AppDetails = declare_app_details!(
    full_name = "Example Application",
    short_name = "example",
    identifier = "ex",
);