A simple wrapper arround git2-rs
to easily get info about the last commit. Useful when you want to show the last commit message or the current git hash.
```rust extern crate lastgitcommit; use lastgitcommit::{LastGitCommit, Id};
let lgc = LastGitCommit::new(None, None).unwrap();
println!("Long SHA1 Hash: {}", lgc.id.long()); // c4f94258c12b8905f3d57f879ae1171ce367cd29 println!("Short SHA1 Hash: {}", lgc.id.short()); // c4f9425 println!("Range SHA1 Hash: {}", lgc.id.range(0..3)); // c4f ```