Dependencis bump (#595)

This commit is contained in:
Roey Darwish Dror
2021-01-07 10:03:20 +02:00
committed by GitHub
parent 31db02d95a
commit e3879a1c90
4 changed files with 247 additions and 475 deletions

702
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -20,17 +20,17 @@ shellexpand = "2.0.0"
structopt = "0.3.0"
log = "0.4.6"
walkdir = "2.3.1"
console = "0.10.0"
console = "0.14.0"
lazy_static = "1.4.0"
chrono = "0.4.6"
pretty_env_logger = "0.4.0"
glob = "0.3.0"
strum = { version = "0.19.2", features = ["derive"] }
strum = { version = "0.20.0", features = ["derive"] }
thiserror = "1.0.9"
anyhow = "1.0.25"
tempfile = "3.1.0"
cfg-if = "0.1.10"
tokio = { version = "0.2", features = ["rt-core", "process"] }
cfg-if = "1.0.0"
tokio = { version = "1.0.0", features = ["process", "rt-multi-thread"] }
futures = "0.3"
regex = "1.3.9"
@@ -38,15 +38,15 @@ regex = "1.3.9"
notify-rust = "4.0.0"
[target.'cfg(unix)'.dependencies]
nix = "0.18.0"
self_update_crate = { version = "0.19.0", optional = true, package = "self_update", features = ["archive-tar", "compression-flate2"] }
nix = "0.19.0"
self_update_crate = { version = "0.23.0", optional = true, package = "self_update", features = ["archive-tar", "compression-flate2"] }
[target.'cfg(windows)'.dependencies]
self_update_crate = { version = "0.19.0", optional = true, package = "self_update", features = ["archive-zip", "compression-zip-deflate"] }
self_update_crate = { version = "0.23.0", optional = true, package = "self_update", features = ["archive-zip", "compression-zip-deflate"] }
winapi = "0.3.9"
[target.'cfg(target_os = "linux")'.dependencies]
rust-ini = "0.15.0"
rust-ini = "0.16.0"
openssl-probe = { version = "0.1.2", optional = true }
[profile.release]

View File

@@ -222,7 +222,7 @@ impl Git {
futures_iterator.collect::<FuturesUnordered<_>>().boxed()
};
let mut basic_rt = runtime::Runtime::new()?;
let basic_rt = runtime::Runtime::new()?;
let results = basic_rt.block_on(async { stream_of_futures.collect::<Vec<Result<()>>>().await });
let error = results.into_iter().find(|r| r.is_err());

View File

@@ -52,7 +52,7 @@ struct Vagrant {
}
impl Vagrant {
fn get_boxes<'a>(&self, directory: &'a str) -> Result<Vec<VagrantBox>> {
fn get_boxes(&self, directory: &str) -> Result<Vec<VagrantBox>> {
let path: Rc<Path> = Path::new(directory).into();
let output = Command::new(&self.path)