pookie 0.0.2

Load cookie from your web browsers
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);
}