dependencies bump
This commit is contained in:
494
Cargo.lock
generated
494
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -5,7 +5,7 @@ categories = ["os"]
|
|||||||
keywords = ["upgrade", "update"]
|
keywords = ["upgrade", "update"]
|
||||||
license-file = "LICENSE"
|
license-file = "LICENSE"
|
||||||
repository = "https://github.com/r-darwish/topgrade"
|
repository = "https://github.com/r-darwish/topgrade"
|
||||||
version = "2.6.0"
|
version = "2.7.0"
|
||||||
authors = ["Roey Darwish Dror <roey.ghost@gmail.com>"]
|
authors = ["Roey Darwish Dror <roey.ghost@gmail.com>"]
|
||||||
exclude = ["doc/screenshot.gif"]
|
exclude = ["doc/screenshot.gif"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
@@ -22,7 +22,7 @@ structopt = "0.2.16"
|
|||||||
log = "0.4.6"
|
log = "0.4.6"
|
||||||
walkdir = "2.2.7"
|
walkdir = "2.2.7"
|
||||||
console = "0.7.5"
|
console = "0.7.5"
|
||||||
self_update_crate = { version = "0.5.1", optional = true, package = "self_update" }
|
self_update_crate = { version = "0.6.0", optional = true, package = "self_update" }
|
||||||
lazy_static = "1.3.0"
|
lazy_static = "1.3.0"
|
||||||
rust-ini = "0.13.0"
|
rust-ini = "0.13.0"
|
||||||
chrono = "0.4.6"
|
chrono = "0.4.6"
|
||||||
@@ -34,7 +34,7 @@ pretty_env_logger = "0.3.0"
|
|||||||
glob = "0.3.0"
|
glob = "0.3.0"
|
||||||
|
|
||||||
[target.'cfg(unix)'.dependencies]
|
[target.'cfg(unix)'.dependencies]
|
||||||
nix = "0.14.0"
|
nix = "0.15.0"
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
winapi = { version = "0.3", features = ["wincon"] }
|
winapi = { version = "0.3", features = ["wincon"] }
|
||||||
|
|||||||
@@ -12,19 +12,17 @@ pub fn self_update() -> Result<(), Error> {
|
|||||||
print_separator("Self update");
|
print_separator("Self update");
|
||||||
let current_exe = env::current_exe();
|
let current_exe = env::current_exe();
|
||||||
|
|
||||||
let target = self_update_crate::get_target().context(ErrorKind::SelfUpdate)?;
|
let target = self_update_crate::get_target();
|
||||||
let result = Update::configure()
|
let result = Update::configure()
|
||||||
.and_then(|mut u| {
|
.repo_owner("r-darwish")
|
||||||
u.repo_owner("r-darwish")
|
.repo_name("topgrade")
|
||||||
.repo_name("topgrade")
|
.target(&target)
|
||||||
.target(&target)
|
.bin_name(if cfg!(windows) { "topgrade.exe" } else { "topgrade" })
|
||||||
.bin_name(if cfg!(windows) { "topgrade.exe" } else { "topgrade" })
|
.show_output(false)
|
||||||
.show_output(false)
|
.show_download_progress(true)
|
||||||
.show_download_progress(true)
|
.current_version(self_update_crate::cargo_crate_version!())
|
||||||
.current_version(self_update_crate::cargo_crate_version!())
|
.no_confirm(true)
|
||||||
.no_confirm(true)
|
.build()
|
||||||
.build()
|
|
||||||
})
|
|
||||||
.and_then(Update::update_extended)
|
.and_then(Update::update_extended)
|
||||||
.context(ErrorKind::SelfUpdate)?;
|
.context(ErrorKind::SelfUpdate)?;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user