#[cfg(test)] use reel::Repo; #[test] fn repo_latest_commit() -> std::result::Result<(), Box> { let repo = Repo::new("https://gitlab.com/crates-rs/reel.git")?; let latest = repo.latest_commit()?; println!("latest: {:?}", latest); Ok(()) }