[][src]Module built::util

Various convenience functions for built at runtime.

Functions

detect_ci

Detect execution on various Continiuous 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.