1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-02 03:12:25 +01:00

Strip dependencies of bat-as-a-library

This commit is contained in:
David Tolnay
2020-03-30 09:43:13 -07:00
committed by David Peter
parent e7e1967bb0
commit 570805bc98
13 changed files with 100 additions and 77 deletions

View File

@@ -4,13 +4,11 @@ use std::io::Read;
use std::path::{Path, PathBuf};
use std::process::Command;
extern crate tempdir;
use self::tempdir::TempDir;
use tempdir::TempDir;
extern crate git2;
use self::git2::build::CheckoutBuilder;
use self::git2::Repository;
use self::git2::Signature;
use git2::build::CheckoutBuilder;
use git2::Repository;
use git2::Signature;
pub struct BatTester {
/// Temporary working directory