diff --git a/Cargo.lock b/Cargo.lock index a354b0fb0..450a2bca4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1683,6 +1683,15 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95765f67b4b18863968b4a1bd5bb576f732b29a4a28c7cd84c09fa3e2875f33c" +[[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" @@ -3930,7 +3939,7 @@ dependencies = [ "eudex", "ext-sort", "fast-float", - "fastrand", + "fastrand 2.0.0", "file-format", "filetime", "flate2", @@ -4595,11 +4604,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 = [ "hyper", "indicatif", @@ -4607,6 +4627,7 @@ dependencies = [ "quick-xml 0.23.1", "regex", "reqwest", + "self-replace", "semver", "serde_json", "tempfile", @@ -5117,7 +5138,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb94d2f3cc536af71caac6b6fcebf65860b347e7ce0cc9ebe8f70d3e521054ef" dependencies = [ "cfg-if", - "fastrand", + "fastrand 2.0.0", "redox_syscall", "rustix", "windows-sys 0.48.0", diff --git a/Cargo.toml b/Cargo.toml index bb07c9f9f..e91a06811 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -170,7 +170,7 @@ reqwest = { version = "0.11", features = [ rust_decimal = "1.32" ryu = "1" sanitise-file-name = { version = "1.0", optional = true } -self_update = { version = "0.37", features = [ +self_update = { version = "0.38", features = [ "archive-zip", "compression-zip-deflate", "rustls",