From 0126eddfe5f83fe9ec32521a03ca3c645be1f9bd Mon Sep 17 00:00:00 2001 From: Kasper Juul Hermansen Date: Tue, 2 May 2023 19:45:00 +0000 Subject: [PATCH] Update all dependencies --- Cargo.lock | 109 +++++++++++++++++++++++++++----- Cargo.toml | 2 +- crates/gitea_client/Cargo.toml | 2 +- crates/octopush_cli/Cargo.toml | 2 +- crates/octopush_core/Cargo.toml | 2 +- 5 files changed, 97 insertions(+), 20 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 356d179..7cf60f1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -208,18 +208,18 @@ dependencies = [ [[package]] name = "clap" -version = "4.2.4" +version = "4.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "956ac1f6381d8d82ab4684768f89c0ea3afe66925ceadb4eeb3fc452ffc55d62" +checksum = "34d21f9bf1b425d2968943631ec91202fe5e837264063503708b83013f8fc938" dependencies = [ "clap_builder", ] [[package]] name = "clap_builder" -version = "4.2.4" +version = "4.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84080e799e54cff944f4b4a4b0e71630b0e0443b25b985175c7dddc1a859b749" +checksum = "914c8c79fb560f238ef6429439a30023c862f7a28e688c58f7203f12b29970bd" dependencies = [ "anstream", "anstyle", @@ -669,6 +669,21 @@ dependencies = [ "want", ] +[[package]] +name = "hyper-rustls" +version = "0.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0646026eb1b3eea4cd9ba47912ea5ce9cc07713d105b1a14698f4e6433d348b7" +dependencies = [ + "http", + "hyper", + "log", + "rustls", + "rustls-native-certs", + "tokio", + "tokio-rustls", +] + [[package]] name = "hyper-timeout" version = "0.4.1" @@ -1043,9 +1058,9 @@ dependencies = [ [[package]] name = "octocrab" -version = "0.20.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "582ac31efdf10a12ac958fb5a496b0e9b3018805578ad1390eb002c0b78c2952" +checksum = "5db170d97e0e88e41faf8ef5277c850d8370c1ef759403c7004a43f2161ce357" dependencies = [ "arc-swap", "async-trait", @@ -1060,13 +1075,12 @@ dependencies = [ "http", "http-body", "hyper", + "hyper-rustls", "hyper-timeout", - "hyper-tls", "jsonwebtoken", "once_cell", "percent-encoding", "pin-project", - "reqwest", "secrecy", "serde", "serde_json", @@ -1096,7 +1110,7 @@ dependencies = [ name = "octopush_cli" version = "0.1.0" dependencies = [ - "clap 4.2.4", + "clap 4.2.7", "eyre", "octopush_core", "octopush_infra", @@ -1371,9 +1385,9 @@ dependencies = [ [[package]] name = "reqwest" -version = "0.11.16" +version = "0.11.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27b71749df584b7f4cac2c426c127a7c785a5106cc98f7a8feb044115f0fa254" +checksum = "13293b639a097af28fc8a90f22add145a9c954e49d77da06263d58cf44d5fb91" dependencies = [ "base64 0.21.0", "bytes", @@ -1442,6 +1456,49 @@ dependencies = [ "windows-sys 0.45.0", ] +[[package]] +name = "rustls" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c911ba11bc8433e811ce56fde130ccf32f5127cab0e0194e9c68c5a5b671791e" +dependencies = [ + "log", + "ring", + "rustls-webpki", + "sct", +] + +[[package]] +name = "rustls-native-certs" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0167bac7a9f490495f3c33013e7722b53cb087ecbe082fb0c6387c96f634ea50" +dependencies = [ + "openssl-probe", + "rustls-pemfile", + "schannel", + "security-framework", +] + +[[package]] +name = "rustls-pemfile" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d194b56d58803a43635bdc398cd17e383d6f71f9182b9a192c127ca42494a59b" +dependencies = [ + "base64 0.21.0", +] + +[[package]] +name = "rustls-webpki" +version = "0.100.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6207cd5ed3d8dca7816f8f3725513a34609c0c765bf652b8c3cb4cfd87db46b" +dependencies = [ + "ring", + "untrusted", +] + [[package]] name = "ryu" version = "1.0.11" @@ -1470,6 +1527,16 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c8132065adcfd6e02db789d9285a0deb2f3fcb04002865ab67d5fb103533898" +[[package]] +name = "sct" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4" +dependencies = [ + "ring", + "untrusted", +] + [[package]] name = "secrecy" version = "0.8.0" @@ -1790,9 +1857,9 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" [[package]] name = "tokio" -version = "1.27.0" +version = "1.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0de47a4eecbe11f498978a9b29d792f0d2692d1dd003650c24c76510e3bc001" +checksum = "c3c786bf8134e5a3a166db9b29ab8f48134739014a3eca7bc6bfa95d673b136f" dependencies = [ "autocfg", "bytes", @@ -1804,7 +1871,7 @@ dependencies = [ "signal-hook-registry", "socket2", "tokio-macros", - "windows-sys 0.45.0", + "windows-sys 0.48.0", ] [[package]] @@ -1819,9 +1886,9 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "2.0.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61a573bdc87985e9d6ddeed1b3d864e8a302c847e40d647746df2f1de209d1ce" +checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" dependencies = [ "proc-macro2", "quote", @@ -1838,6 +1905,16 @@ dependencies = [ "tokio", ] +[[package]] +name = "tokio-rustls" +version = "0.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0d409377ff5b1e3ca6437aa86c1eb7d40c134bfec254e44c830defa92669db5" +dependencies = [ + "rustls", + "tokio", +] + [[package]] name = "tokio-util" version = "0.7.4" diff --git a/Cargo.toml b/Cargo.toml index dd7920a..5f13965 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ members = [ [workspace.dependencies] eyre = { version = "0.6.8" } async-trait = "0.1.68" -tokio = { version = "1.27.0", features = ["full", "test-util"] } +tokio = { version = "1.28.0", features = ["full", "test-util"] } tracing = { version = "0.1.37", features = ["log"] } [dependencies] diff --git a/crates/gitea_client/Cargo.toml b/crates/gitea_client/Cargo.toml index ebb052b..e28fa38 100644 --- a/crates/gitea_client/Cargo.toml +++ b/crates/gitea_client/Cargo.toml @@ -10,4 +10,4 @@ gitea_raw_client = { path = "../gitea_raw_client" } async-trait = { workspace = true } -reqwest = "0.11.16" +reqwest = "0.11.17" diff --git a/crates/octopush_cli/Cargo.toml b/crates/octopush_cli/Cargo.toml index bcc1391..ff300c2 100644 --- a/crates/octopush_cli/Cargo.toml +++ b/crates/octopush_cli/Cargo.toml @@ -13,4 +13,4 @@ eyre = { workspace = true } tracing = { workspace = true } tokio = { workspace = true } -clap = { version = "4.2.4", features = ["env"] } +clap = { version = "4.2.7", features = ["env"] } diff --git a/crates/octopush_core/Cargo.toml b/crates/octopush_core/Cargo.toml index 40a95d5..78d30c9 100644 --- a/crates/octopush_core/Cargo.toml +++ b/crates/octopush_core/Cargo.toml @@ -21,4 +21,4 @@ git2 = { version = "0.17.1", features = [ ] } serde = { version = "1.0.160", features = ["derive"] } serde_yaml = "0.9.21" -octocrab = { version = "0.20.0", features = ["futures-core", "futures-util"] } +octocrab = { version = "0.21.0", features = ["futures-core", "futures-util"] }