Update to Rust 2018

This commit is contained in:
Patrick Lühne 2019-03-01 14:58:49 +01:00
parent ad94a6f1bf
commit 07dddb7636
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF
2 changed files with 4 additions and 10 deletions

View File

@ -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"

View File

@ -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