shortener 0.1.2

A simple URL shortener.
Documentation
1
2
3
4
5
6
7
8
9
/// Returns a human-readable version string that includes the package
/// version, Git commit hash, build date, and target triple.
pub fn version_string() -> String {
  let version = env!("CARGO_PKG_VERSION");
  let git_hash = env!("SHORTENER_GIT_HASH");
  let build_date = env!("SHORTENER_BUILD_DATE");
  let target = env!("SHORTENER_TARGET");
  format!("{version} ({git_hash} {build_date} {target})")
}