Skip to main content

client_version

Function client_version 

Source
pub fn client_version(client_id: &str, semver: &str) -> String
Expand description

Compose a grammar-conformant client_version for an in-repo client. client_id names the product (capsule-cli, capsule-ios, …); semver is that client’s own crate version. The build-embedded BUILD_COMMIT and BUILD_DIRTY_SUFFIX are appended.