Update to Rust 2018
This commit is contained in:
parent
ad94a6f1bf
commit
07dddb7636
@ -2,6 +2,7 @@
|
|||||||
name = "benchmark_repository"
|
name = "benchmark_repository"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["Patrick Lühne <patrick@luehne.de>"]
|
authors = ["Patrick Lühne <patrick@luehne.de>"]
|
||||||
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
git2 = "^0.7"
|
git2 = "^0.7"
|
||||||
|
11
src/lib.rs
11
src/lib.rs
@ -1,17 +1,10 @@
|
|||||||
extern crate git2;
|
|
||||||
extern crate pretty_env_logger;
|
|
||||||
#[macro_use]
|
|
||||||
extern crate log;
|
|
||||||
extern crate indicatif;
|
|
||||||
extern crate tempfile;
|
|
||||||
extern crate walkdir;
|
|
||||||
|
|
||||||
use git2::{Cred, Error, FetchOptions, Index, IndexEntry, IndexTime, Oid, Progress, PushOptions, RemoteCallbacks, Repository, Signature};
|
use git2::{Cred, Error, FetchOptions, Index, IndexEntry, IndexTime, Oid, Progress, PushOptions, RemoteCallbacks, Repository, Signature};
|
||||||
|
use indicatif::{ProgressBar, ProgressStyle};
|
||||||
|
use log::{info, trace};
|
||||||
use std::path::{Path, PathBuf};
|
use std::path::{Path, PathBuf};
|
||||||
use std::string::String;
|
use std::string::String;
|
||||||
use std::str;
|
use std::str;
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
use indicatif::{ProgressBar, ProgressStyle};
|
|
||||||
use walkdir::WalkDir;
|
use walkdir::WalkDir;
|
||||||
|
|
||||||
pub struct BenchmarkRepositoryInner
|
pub struct BenchmarkRepositoryInner
|
||||||
|
Loading…
Reference in New Issue
Block a user