Bump dependencies

This commit is contained in:
Roey Darwish Dror
2020-01-05 21:55:05 +02:00
parent de1ef08ce9
commit 63da9ea891
3 changed files with 232 additions and 170 deletions

388
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -15,7 +15,7 @@ readme = "README.md"
directories = "2.0.1"
serde = { version = "1.0.92", features = ["derive"] }
toml = "0.5.1"
which_crate = { version = "2.0.1", package = "which" }
which_crate = { version = "3.1.0", package = "which" }
shellexpand = "1.0.0"
structopt = "0.3.0"
log = "0.4.6"
@@ -23,7 +23,7 @@ walkdir = "2.2.7"
console = "0.9.0"
self_update_crate = { version = "0.8.0", optional = true, package = "self_update" }
lazy_static = "1.3.0"
rust-ini = "0.13.0"
rust-ini = "0.14.0"
chrono = "0.4.6"
tokio = "0.1.21"
tokio-process = "0.2.3"
@@ -31,7 +31,7 @@ futures = "0.1.27"
openssl-probe = { version = "0.1.2", optional = true }
pretty_env_logger = "0.3.0"
glob = "0.3.0"
strum = { version = "0.16.0", features = ["derive"]}
strum = { version = "0.17.1", features = ["derive"] }
thiserror = "1.0.9"
anyhow = "1.0.25"
tempfile = "3.1.0"
@@ -40,7 +40,7 @@ tempfile = "3.1.0"
notify-rust = "3.6.3"
[target.'cfg(unix)'.dependencies]
nix = "0.15.0"
nix = "0.16.1"
[profile.release]
lto = true

View File

@@ -11,7 +11,7 @@ use std::path::PathBuf;
use std::process::Command;
use std::{env, fs};
use structopt::StructOpt;
use strum::{EnumIter, EnumString, EnumVariantNames, IntoEnumIterator};
use strum::{EnumIter, EnumString, EnumVariantNames, IntoEnumIterator, VariantNames};
use toml;
type Commands = BTreeMap<String, String>;
@@ -152,11 +152,11 @@ pub struct CommandLineArgs {
no_retry: bool,
/// Do not perform upgrades for the given steps
#[structopt(long = "disable", possible_values = &Step::variants())]
#[structopt(long = "disable", possible_values = &Step::VARIANTS)]
disable: Vec<Step>,
/// Perform only the specified steps (experimental)
#[structopt(long = "only", possible_values = &Step::variants())]
#[structopt(long = "only", possible_values = &Step::VARIANTS)]
only: Vec<Step>,
/// Output logs