diff --git a/Cargo.lock b/Cargo.lock index 855dbc95..56cef301 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1116,8 +1116,8 @@ dependencies = [ [[package]] name = "self_update" -version = "0.5.0" -source = "git+https://github.com/r-darwish/self_update?branch=github-extended#e0408201c5ad575a6a4b70e49882a0a5f6a213d6" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "either 1.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "flate2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1522,7 +1522,7 @@ dependencies = [ "lazy_static 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", "nix 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", - "self_update 0.5.0 (git+https://github.com/r-darwish/self_update?branch=github-extended)", + "self_update 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)", "shellexpand 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "structopt 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1867,7 +1867,7 @@ dependencies = [ "checksum scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "94258f53601af11e6a49f722422f6e3425c52b06245a5cf9bc09908b174f5e27" "checksum security-framework 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "697d3f3c23a618272ead9e1fb259c1411102b31c6af8b93f1d64cca9c3b0e8e0" "checksum security-framework-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "40d95f3d7da09612affe897f320d78264f0d2320f3e8eea27d12bd1bd94445e2" -"checksum self_update 0.5.0 (git+https://github.com/r-darwish/self_update?branch=github-extended)" = "" +"checksum self_update 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4e4997d828329f3bea234b5efd084f0ee07b284a556d64023cc0e3e47cc44d74" "checksum semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" "checksum semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" "checksum serde 1.0.84 (registry+https://github.com/rust-lang/crates.io-index)" = "0e732ed5a5592c17d961555e3b552985baf98d50ce418b7b655f31f6ba7eb1b7" diff --git a/Cargo.toml b/Cargo.toml index 906c5f81..e72b623a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ log = "0.4.6" env_logger = "0.6.0" walkdir = "2.2.7" console = "=0.7.1" -self_update_crate = { version = "0.5.0", optional = true, package = "self_update" } +self_update_crate = { version = "0.5.1", optional = true, package = "self_update" } lazy_static = "1.2.0" [target.'cfg(unix)'.dependencies] @@ -30,9 +30,6 @@ nix = "0.12.0" [profile.release] lto = true -[patch.crates-io] -self_update = { git = "https://github.com/r-darwish/self_update", branch = "github-extended" } - [features] default = [] diff --git a/src/self_update.rs b/src/self_update.rs index 3f3f63c3..eb7725ef 100644 --- a/src/self_update.rs +++ b/src/self_update.rs @@ -28,7 +28,7 @@ pub fn self_update() -> Result<(), Error> { .no_confirm(true) .build() }) - .and_then(|u| u.update2()) + .and_then(|u| u.update_extended()) .context(ErrorKind::SelfUpdate)?; if let GitHubUpdateStatus::Updated(release) = &result {