Add crate information to debug view
This commit is contained in:
parent
24e53d92c5
commit
1a2e512686
1 changed files with 6 additions and 0 deletions
|
|
@ -149,6 +149,12 @@ impl Debug {
|
|||
format!("{: <30} {:?}", key, value)
|
||||
}
|
||||
|
||||
lines.push(format!(
|
||||
"{} {} - {}",
|
||||
env!("CARGO_PKG_NAME"),
|
||||
env!("CARGO_PKG_VERSION"),
|
||||
env!("CARGO_PKG_REPOSITORY"),
|
||||
));
|
||||
lines.push(key_value("Startup:", self.startup_duration));
|
||||
lines.push(key_value("Update:", self.update_durations.average()));
|
||||
lines.push(key_value("View:", self.view_durations.average()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue