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"
|
||||||
@ -14,4 +15,4 @@ yaml-rust = "0.4"
|
|||||||
|
|
||||||
[dependencies.cpython]
|
[dependencies.cpython]
|
||||||
git = "https://github.com/dgrunwald/rust-cpython/"
|
git = "https://github.com/dgrunwald/rust-cpython/"
|
||||||
branch = "master"
|
branch = "master"
|
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