3 unstable releases

0.2.1 Aug 7, 2020
0.2.0 Aug 7, 2020
0.1.0 Aug 4, 2020

#1509 in Development tools

MIT/Apache

81KB
2K SLoC

rs-git-lib

Rust Native Git Library

Usage

use rs_git_lib::Repo;
let repo = Repo::clone_from("https://github.com/lnds/rs-git-lib.git", Some("/tmp/rs-git".to_string())).unwrap();

let commits = repo.commits();
assert_eq!(commits[commits.len()].as_commit().unwrap().get_message(), "Initial commit")

Notes


lib.rs:

rs-git-lib

A Rust Native Library for Git

Dependencies

~10–14MB
~289K SLoC