Skip to content

Commit

Permalink
Merge branch 'rumenov/torkrurst' into 'master'
Browse files Browse the repository at this point in the history
refactor: use directly rustls instead of using it via tokio_rustls

In addition, bump the rustls version to the most recent patch. 

See merge request dfinity-lab/public/ic!19136
  • Loading branch information
rumenov committed May 7, 2024
2 parents c126f31 + b60a302 commit 5364693
Show file tree
Hide file tree
Showing 26 changed files with 104 additions and 106 deletions.
38 changes: 19 additions & 19 deletions Cargo.Bazel.Fuzzing.json.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"checksum": "83c1c55ae044a8cbfcf5c995793a693b648295d26376ab9ee73904895a9697e1",
"checksum": "19bf7040fe41cea96df06d9f8819f8cce0416dee3efc6d996880e1fd3ce764dd",
"crates": {
"abnf 0.12.0": {
"name": "abnf",
Expand Down Expand Up @@ -4989,7 +4989,7 @@
"target": "pin_project_lite"
},
{
"id": "rustls 0.21.10",
"id": "rustls 0.21.12",
"target": "rustls"
},
{
Expand Down Expand Up @@ -5099,7 +5099,7 @@
"target": "pin_project_lite"
},
{
"id": "rustls 0.21.10",
"id": "rustls 0.21.12",
"target": "rustls"
},
{
Expand Down Expand Up @@ -17909,7 +17909,7 @@
"target": "rustc_hash"
},
{
"id": "rustls 0.21.10",
"id": "rustls 0.21.12",
"target": "rustls"
},
{
Expand Down Expand Up @@ -26846,7 +26846,7 @@
"target": "log"
},
{
"id": "rustls 0.21.10",
"id": "rustls 0.21.12",
"target": "rustls"
},
{
Expand Down Expand Up @@ -27141,7 +27141,7 @@
"target": "hyper_rustls"
},
{
"id": "rustls 0.21.10",
"id": "rustls 0.21.12",
"target": "rustls",
"alias": "rusttls"
},
Expand Down Expand Up @@ -33016,7 +33016,7 @@
"target": "rand"
},
{
"id": "rustls 0.21.10",
"id": "rustls 0.21.12",
"target": "rustls"
},
{
Expand Down Expand Up @@ -37316,7 +37316,7 @@
"target": "reqwest"
},
{
"id": "rustls 0.21.10",
"id": "rustls 0.21.12",
"target": "rustls"
},
{
Expand Down Expand Up @@ -48574,7 +48574,7 @@
"target": "rustc_hash"
},
{
"id": "rustls 0.21.10",
"id": "rustls 0.21.12",
"target": "rustls"
},
{
Expand Down Expand Up @@ -48661,7 +48661,7 @@
"target": "rustc_hash"
},
{
"id": "rustls 0.21.10",
"id": "rustls 0.21.12",
"target": "rustls"
},
{
Expand Down Expand Up @@ -51476,7 +51476,7 @@
"target": "pin_project_lite"
},
{
"id": "rustls 0.21.10",
"id": "rustls 0.21.12",
"target": "rustls"
},
{
Expand Down Expand Up @@ -53863,14 +53863,14 @@
],
"license_file": "LICENSE-APACHE"
},
"rustls 0.21.10": {
"rustls 0.21.12": {
"name": "rustls",
"version": "0.21.10",
"version": "0.21.12",
"package_url": "https://github.com/rustls/rustls",
"repository": {
"Http": {
"url": "https://static.crates.io/crates/rustls/0.21.10/download",
"sha256": "f9d5a6813c0759e4609cd494e8e725babae6a2ca7b62a5536a13daaec6fcb7ba"
"url": "https://static.crates.io/crates/rustls/0.21.12/download",
"sha256": "3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e"
}
},
"targets": [
Expand Down Expand Up @@ -53926,7 +53926,7 @@
"target": "ring"
},
{
"id": "rustls 0.21.10",
"id": "rustls 0.21.12",
"target": "build_script_build"
},
{
Expand All @@ -53941,7 +53941,7 @@
"selects": {}
},
"edition": "2021",
"version": "0.21.10"
"version": "0.21.12"
},
"build_script_attrs": {
"data_glob": [
Expand Down Expand Up @@ -63912,7 +63912,7 @@
"deps": {
"common": [
{
"id": "rustls 0.21.10",
"id": "rustls 0.21.12",
"target": "rustls"
},
{
Expand Down Expand Up @@ -76967,7 +76967,7 @@
"rust_decimal 1.32.0",
"rust_decimal_macros 1.32.0",
"rustc-hash 1.1.0",
"rustls 0.21.10",
"rustls 0.21.12",
"rustls 0.22.2",
"rustls-native-certs 0.7.0",
"rustls-pemfile 1.0.3",
Expand Down
26 changes: 13 additions & 13 deletions Cargo.Bazel.Fuzzing.toml.lock
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ dependencies = [
"http-body 0.4.5",
"hyper 0.14.27",
"pin-project-lite",
"rustls 0.21.10",
"rustls 0.21.12",
"rustls-pemfile 1.0.3",
"tokio",
"tokio-rustls 0.24.1",
Expand All @@ -901,7 +901,7 @@ dependencies = [
"hyper 1.2.0",
"hyper-util",
"pin-project-lite",
"rustls 0.21.10",
"rustls 0.21.12",
"rustls-pemfile 2.0.0",
"tokio",
"tokio-rustls 0.24.1",
Expand Down Expand Up @@ -3126,7 +3126,7 @@ dependencies = [
"rust_decimal",
"rust_decimal_macros",
"rustc-hash",
"rustls 0.21.10",
"rustls 0.21.12",
"rustls 0.22.2",
"rustls-native-certs 0.7.0",
"rustls-pemfile 1.0.3",
Expand Down Expand Up @@ -4659,7 +4659,7 @@ dependencies = [
"http 0.2.9",
"hyper 0.14.27",
"log",
"rustls 0.21.10",
"rustls 0.21.12",
"rustls-native-certs 0.6.3",
"tokio",
"tokio-rustls 0.24.1",
Expand Down Expand Up @@ -4696,7 +4696,7 @@ dependencies = [
"http 0.2.9",
"hyper 0.14.27",
"hyper-rustls 0.24.2",
"rustls 0.21.10",
"rustls 0.21.12",
"rustls-native-certs 0.6.3",
"thiserror",
"tokio",
Expand Down Expand Up @@ -5743,7 +5743,7 @@ dependencies = [
"pem 3.0.2",
"pin-project",
"rand 0.8.5",
"rustls 0.21.10",
"rustls 0.21.12",
"rustls-pemfile 1.0.3",
"secrecy",
"serde",
Expand Down Expand Up @@ -6427,7 +6427,7 @@ dependencies = [
"rand 0.8.5",
"regex",
"reqwest 0.11.27",
"rustls 0.21.10",
"rustls 0.21.12",
"rustls-pemfile 1.0.3",
"serde",
"serde_yaml 0.8.26",
Expand Down Expand Up @@ -8251,7 +8251,7 @@ dependencies = [
"quinn-proto",
"quinn-udp",
"rustc-hash",
"rustls 0.21.10",
"rustls 0.21.12",
"thiserror",
"tokio",
"tracing",
Expand All @@ -8267,7 +8267,7 @@ dependencies = [
"rand 0.8.5",
"ring 0.16.20",
"rustc-hash",
"rustls 0.21.10",
"rustls 0.21.12",
"rustls-native-certs 0.6.3",
"slab",
"thiserror",
Expand Down Expand Up @@ -8719,7 +8719,7 @@ dependencies = [
"once_cell",
"percent-encoding 2.3.0",
"pin-project-lite",
"rustls 0.21.10",
"rustls 0.21.12",
"rustls-pemfile 1.0.3",
"serde",
"serde_json",
Expand Down Expand Up @@ -9097,9 +9097,9 @@ dependencies = [

[[package]]
name = "rustls"
version = "0.21.10"
version = "0.21.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f9d5a6813c0759e4609cd494e8e725babae6a2ca7b62a5536a13daaec6fcb7ba"
checksum = "3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e"
dependencies = [
"log",
"ring 0.17.7",
Expand Down Expand Up @@ -10730,7 +10730,7 @@ version = "0.24.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081"
dependencies = [
"rustls 0.21.10",
"rustls 0.21.12",
"tokio",
]

Expand Down
Loading

0 comments on commit 5364693

Please sign in to comment.