Skip to main content

service_info

Macro service_info 

Source
macro_rules! service_info {
    () => { ... };
}
Expand description

Creates ServiceInfo from the information in Cargo.toml manifest of the service.

ServiceInfo::name_in_metrics is the same as the package name, with hyphens (-) replaced by underscores (_).