Module util

Source
Expand description

Various convenience functions for built at runtime.

Functionsยง

detect_ci
Detect execution on various Continuous Integration platforms.
get_repo_description
Retrieves the git-tag or hash describing the exact version and a boolean that indicates if the repository currently has dirty/staged files.
get_repo_head
Retrieves the branch name and hash of HEAD.
parse_versions
Parses version-strings with semver::Version::parse().
strptime
Parse a time-string as formatted by built.