diff --git a/Cargo.lock b/Cargo.lock index ab7a03b2b..2c60d2970 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1045,6 +1045,15 @@ dependencies = [ "once_cell", ] +[[package]] +name = "fastrand" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be" +dependencies = [ + "instant", +] + [[package]] name = "fastrand" version = "2.0.0" @@ -2626,11 +2635,22 @@ dependencies = [ "libc", ] +[[package]] +name = "self-replace" +version = "1.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c56335359191626938ef6fdeb478f9f6a7c6020254d7f4641c7d810369fa0ec1" +dependencies = [ + "fastrand 1.9.0", + "tempfile", + "windows-sys 0.48.0", +] + [[package]] name = "self_update" -version = "0.37.0" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a667e18055120bcc9a658d55d36f2f6bfc82e07968cc479ee7774e3bfb501e14" +checksum = "2b3c585a1ced6b97ac13bd5e56f66559e5a75f477da5913f70df98e114518446" dependencies = [ "either", "flate2", @@ -2640,6 +2660,7 @@ dependencies = [ "quick-xml", "regex", "reqwest", + "self-replace", "semver", "serde_json", "tar", @@ -2980,7 +3001,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb94d2f3cc536af71caac6b6fcebf65860b347e7ce0cc9ebe8f70d3e521054ef" dependencies = [ "cfg-if", - "fastrand", + "fastrand 2.0.0", "redox_syscall 0.3.5", "rustix 0.38.8", "windows-sys 0.48.0", diff --git a/Cargo.toml b/Cargo.toml index 1d2555bf3..2f8c1422f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -228,7 +228,7 @@ humantime = "2" clap_complete = "4" clap = { version = "4", features = ["derive", "env", "wrap_help"] } once_cell = "1.18" -self_update = { version = "0.37", default-features = false, features = ["rustls", "archive-tar", "compression-flate2"] } +self_update = { version = "0.38", default-features = false, features = ["rustls", "archive-tar", "compression-flate2"] } # dev dependencies rstest = "0.18"