rookie 0.5.6

Load cookie from your web browsers
Documentation
1
2
3
4
5
6
7
8
9
10
11
fn commit_hash() -> String {
  let output = std::process::Command::new("git")
    .args(["rev-parse", "--short", "HEAD"])
    .output()
    .unwrap();
  String::from_utf8(output.stdout).unwrap()
}
fn main() {
  let hash = commit_hash();
  println!("cargo:rustc-env=COMMIT_HASH={}", hash);
}