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