diff --git a/Cargo.lock b/Cargo.lock index 164cd1ea..d420f4fe 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -270,9 +270,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.3.19" +version = "4.3.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fd304a20bff958a57f04c4e96a2e7594cc4490a0e809cbd48bb6437edaa452d" +checksum = "c27cdf28c0f604ba3f512b0c9a409f8de8513e4816705deb0498b627e7c3a3fd" dependencies = [ "clap_builder", "clap_derive", @@ -281,9 +281,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.3.19" +version = "4.3.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01c6a3f08f1fe5662a35cfe393aec09c4df95f60ee93b7556505260f75eee9e1" +checksum = "08a9f1ab5e9f01a9b81f202e8562eb9a10de70abf9eaeac1be465c28b75aa4aa" dependencies = [ "anstream", "anstyle", @@ -508,7 +508,7 @@ dependencies = [ [[package]] name = "espup" -version = "0.4.1" +version = "0.5.0" dependencies = [ "assert_cmd", "async-trait", @@ -798,7 +798,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite", - "socket2", + "socket2 0.4.9", "tokio", "tower-service", "tracing", @@ -1236,9 +1236,9 @@ dependencies = [ [[package]] name = "pin-project-lite" -version = "0.2.9" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" +checksum = "12cc1b0bf1727a77a54b6654e7b5f1af8604923edc8b81885f8ec92f9e3f0a05" [[package]] name = "pin-utils" @@ -1711,6 +1711,16 @@ dependencies = [ "winapi", ] +[[package]] +name = "socket2" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2538b18701741680e0322a2302176d3253a35388e2e62f172f64f4f16605f877" +dependencies = [ + "libc", + "windows-sys 0.48.0", +] + [[package]] name = "spin" version = "0.5.2" @@ -1903,11 +1913,10 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.29.1" +version = "1.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "532826ff75199d5833b9d2c5fe410f29235e25704ee5f0ef599fb51c21f4a4da" +checksum = "2d3ce25f50619af8b0aec2eb23deebe84249e19e2ddd393a6e16e3300a6dadfd" dependencies = [ - "autocfg", "backtrace", "bytes", "libc", @@ -1916,7 +1925,7 @@ dependencies = [ "parking_lot", "pin-project-lite", "signal-hook-registry", - "socket2", + "socket2 0.5.3", "tokio-macros", "windows-sys 0.48.0", ] diff --git a/Cargo.toml b/Cargo.toml index 9ee9724d..6c9fb314 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "espup" -version = "0.4.1" +version = "0.5.0" authors = ["Sergio Gasquez Arcos "] edition = "2021" license = "MIT OR Apache-2.0" @@ -14,29 +14,29 @@ categories = ["command-line-utilities", "development-tools", "embedded"] rust-version = "1.65" [dependencies] -async-trait = "0.1.72" -clap = { version = "4.3.19", features = ["derive"] } -clap_complete = "4.3.2" -console = "0.15.7" -directories = "5.0.1" -env_logger = "0.10.0" -flate2 = "1.0.26" +async-trait = "0.1.72" +clap = { version = "4.3.21", features = ["derive"] } +clap_complete = "4.3.2" +console = "0.15.7" +directories = "5.0.1" +env_logger = "0.10.0" +flate2 = "1.0.26" guess_host_triple = "0.1.3" -log = "0.4.19" -miette = { version = "5.10.0", features = ["fancy"] } -regex = "1.9.3" -reqwest = { version = "0.11.18", features = ["blocking"] } -retry = "2.0.0" -serde_json = "1.0.104" -strum = { version = "0.25", features = ["derive"] } -tar = "0.4.40" -tempfile = "3.7.1" -thiserror = "1.0.44" -tokio = { version = "1.29.1", features = ["full"] } -tokio-retry = "0.3.0" -update-informer = "1.1.0" -xz2 = "0.1.7" -zip = "0.6.6" +log = "0.4.19" +miette = { version = "5.10.0", features = ["fancy"] } +regex = "1.9.3" +reqwest = { version = "0.11.18", features = ["blocking"] } +retry = "2.0.0" +serde_json = "1.0.104" +strum = { version = "0.25", features = ["derive"] } +tar = "0.4.40" +tempfile = "3.7.1" +thiserror = "1.0.44" +tokio = { version = "1.30.0", features = ["full"] } +tokio-retry = "0.3.0" +update-informer = "1.1.0" +xz2 = "0.1.7" +zip = "0.6.6" [target.'cfg(unix)'.dependencies] openssl = { version = "0.10.56", features = ["vendored"] } @@ -53,5 +53,5 @@ pkg-fmt = "zip" pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.{ archive-format }" [profile.release] -lto = "thin" +lto = "thin" strip = true