Module built::util

source ·
Expand description

Various convenience functions for built at runtime.

Functions§

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