find_git 1.2.0

A cross-platform library which returns the full path to the Git binary if it can be found.
Documentation
//! A program which prints the full path to the Git binary if it can be found.

extern crate find_git;

fn main() {
    match find_git::git_path() {
        Some(git) => println!("Git is located at {:?}.", git),
        None => println!("Failed to locate Git."),
    }
}