(impl_commit: &str)
| 43 | } |
| 44 | |
| 45 | fn get_version(impl_commit: &str) -> String { |
| 46 | let commit_dash = if impl_commit.is_empty() { "" } else { "-" }; |
| 47 | |
| 48 | format!( |
| 49 | "{}{}{}-{}", |
| 50 | std::env::var("CARGO_PKG_VERSION").unwrap_or_default(), |
| 51 | commit_dash, |
| 52 | impl_commit, |
| 53 | get_platform(), |
| 54 | ) |
| 55 | } |
| 56 | |
| 57 | fn main() { |
| 58 | generate_cargo_keys(); |
nothing calls this directly
no outgoing calls
no test coverage detected