git-latest-commit 0.1.3

Add data about the latest git commit for a project at build time, for run-time reporting.
Documentation
1
2
3
4
5
6
7
8
9
10
extern crate git_latest_commit;

fn main()
{
    match git_latest_commit::write(".")
    {
        Ok(_) => { println!("wrote latest commit data to git-commit.rs"); },
        Err(e) => { println!("{:?}", e); },
    };
}