summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2025-09-24 14:38:45 +0200
committerLinus Färnstrand <linus@mullvad.net>2025-09-25 09:23:22 +0200
commitf6a254497cecfb9fd557d3a845b6ba5cebbfcf63 (patch)
tree77163c18a8f773d159094632c48e994392fa3a57 /test
parent469c34f00e25ff1414197ea28b90bf875eea3179 (diff)
downloadmullvadvpn-f6a254497cecfb9fd557d3a845b6ba5cebbfcf63.tar.xz
mullvadvpn-f6a254497cecfb9fd557d3a845b6ba5cebbfcf63.zip
Upgrade tonic 0.12 -> 0.13
Diffstat (limited to 'test')
-rw-r--r--test/Cargo.lock166
-rw-r--r--test/Cargo.toml4
2 files changed, 41 insertions, 129 deletions
diff --git a/test/Cargo.lock b/test/Cargo.lock
index bd08677707..d03bcc622e 100644
--- a/test/Cargo.lock
+++ b/test/Cargo.lock
@@ -152,28 +152,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711"
[[package]]
-name = "async-stream"
-version = "0.3.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cd56dd203fef61ac097dd65721a419ddccb106b2d2b70ba60a6b529f03961a51"
-dependencies = [
- "async-stream-impl",
- "futures-core",
- "pin-project-lite",
-]
-
-[[package]]
-name = "async-stream-impl"
-version = "0.3.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.100",
-]
-
-[[package]]
name = "async-tempfile"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -208,11 +186,10 @@ checksum = "f1fdabc7756949593fe60f30ec81974b613357de856987752631dea1e3394c80"
[[package]]
name = "axum"
-version = "0.7.5"
+version = "0.8.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3a6c9af12842a67734c9a2e355436e5d03b22383ed60cf13cd0c18fbfe3dcbcf"
+checksum = "021e862c184ae977658b36c4500f7feac3221ca5da43e3f25bd04ab6c79a29b5"
dependencies = [
- "async-trait",
"axum-core",
"bytes",
"futures-util",
@@ -228,20 +205,19 @@ dependencies = [
"rustversion",
"serde",
"sync_wrapper",
- "tower 0.4.13",
+ "tower",
"tower-layer",
"tower-service",
]
[[package]]
name = "axum-core"
-version = "0.4.4"
+version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5e6b8ba012a258d63c9adfa28b9ddcf66149da6f986c5b5452e629d5ee64bf00"
+checksum = "68464cd0412f486726fb3373129ef5d2993f90c34bc2bc1c1e9943b2f4fc7ca6"
dependencies = [
- "async-trait",
"bytes",
- "futures-util",
+ "futures-core",
"http 1.1.0",
"http-body",
"http-body-util",
@@ -367,7 +343,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eadd868a2ce9ca38de7eeafdcec9c7065ef89b42b32f0839278d55f35c54d1ff"
dependencies = [
"heck 0.4.1",
- "indexmap 2.2.6",
+ "indexmap",
"log",
"proc-macro2",
"quote",
@@ -1144,7 +1120,7 @@ dependencies = [
"futures-sink",
"futures-util",
"http 0.2.12",
- "indexmap 2.2.6",
+ "indexmap",
"slab",
"tokio",
"tokio-util",
@@ -1163,7 +1139,7 @@ dependencies = [
"futures-core",
"futures-sink",
"http 1.1.0",
- "indexmap 2.2.6",
+ "indexmap",
"slab",
"tokio",
"tokio-util",
@@ -1172,12 +1148,6 @@ dependencies = [
[[package]]
name = "hashbrown"
-version = "0.12.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
-
-[[package]]
-name = "hashbrown"
version = "0.14.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604"
@@ -1594,22 +1564,12 @@ dependencies = [
[[package]]
name = "indexmap"
-version = "1.9.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
-dependencies = [
- "autocfg",
- "hashbrown 0.12.3",
-]
-
-[[package]]
-name = "indexmap"
version = "2.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26"
dependencies = [
"equivalent",
- "hashbrown 0.14.3",
+ "hashbrown",
]
[[package]]
@@ -1975,9 +1935,9 @@ checksum = "ffbee8634e0d45d258acb448e7eaab3fce7a0a467395d4d9f228e3c1f01fb2e4"
[[package]]
name = "matchit"
-version = "0.7.3"
+version = "0.8.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94"
+checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3"
[[package]]
name = "md-5"
@@ -2096,7 +2056,7 @@ dependencies = [
"tokio",
"tokio-rustls 0.26.0",
"tokio-socks",
- "tower 0.5.2",
+ "tower",
"uuid",
"vec1",
]
@@ -2139,14 +2099,14 @@ dependencies = [
"mullvad-types",
"nix 0.30.1",
"parity-tokio-ipc",
- "prost 0.13.3",
- "prost-types 0.13.3",
+ "prost",
+ "prost-types",
"talpid-types",
"thiserror 2.0.3",
"tokio",
"tonic",
"tonic-build",
- "tower 0.5.2",
+ "tower",
"vec1",
]
@@ -2475,7 +2435,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9"
dependencies = [
"fixedbitset",
- "indexmap 2.2.6",
+ "indexmap",
]
[[package]]
@@ -2544,7 +2504,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d9d34169e64b3c7a80c8621a48adaf44e0cf62c78a9b25dd9dd35f1881a17cf9"
dependencies = [
"base64 0.21.7",
- "indexmap 2.2.6",
+ "indexmap",
"line-wrap",
"quick-xml",
"serde",
@@ -2673,29 +2633,19 @@ dependencies = [
[[package]]
name = "prost"
-version = "0.12.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d0f5d036824e4761737860779c906171497f6d55681139d8312388f8fe398922"
-dependencies = [
- "bytes",
- "prost-derive 0.12.4",
-]
-
-[[package]]
-name = "prost"
version = "0.13.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7b0487d90e047de87f984913713b85c601c05609aad5b0df4b4573fbf69aa13f"
dependencies = [
"bytes",
- "prost-derive 0.13.3",
+ "prost-derive",
]
[[package]]
name = "prost-build"
-version = "0.12.4"
+version = "0.13.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "80b776a1b2dc779f5ee0641f8ade0125bc1298dd41a9a0c16d8bd57b42d222b1"
+checksum = "0c1318b19085f08681016926435853bbf7858f9c082d0999b80550ff5d9abe15"
dependencies = [
"bytes",
"heck 0.5.0",
@@ -2705,8 +2655,8 @@ dependencies = [
"once_cell",
"petgraph",
"prettyplease",
- "prost 0.12.4",
- "prost-types 0.12.4",
+ "prost",
+ "prost-types",
"regex",
"syn 2.0.100",
"tempfile",
@@ -2714,19 +2664,6 @@ dependencies = [
[[package]]
name = "prost-derive"
-version = "0.12.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "19de2de2a00075bf566bee3bd4db014b11587e84184d3f7a791bc17f1a8e9e48"
-dependencies = [
- "anyhow",
- "itertools 0.12.1",
- "proc-macro2",
- "quote",
- "syn 2.0.100",
-]
-
-[[package]]
-name = "prost-derive"
version = "0.13.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e9552f850d5f0964a4e4d0bf306459ac29323ddfbae05e35a7c0d35cb0803cc5"
@@ -2740,20 +2677,11 @@ dependencies = [
[[package]]
name = "prost-types"
-version = "0.12.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3235c33eb02c1f1e212abdbe34c78b264b038fb58ca612664343271e36e55ffe"
-dependencies = [
- "prost 0.12.4",
-]
-
-[[package]]
-name = "prost-types"
version = "0.13.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4759aa0d3a6232fb8dbdb97b61de2c20047c68aca932c7ed76da9d788508d670"
dependencies = [
- "prost 0.13.3",
+ "prost",
]
[[package]]
@@ -3022,7 +2950,7 @@ dependencies = [
"sync_wrapper",
"tokio",
"tokio-rustls 0.26.0",
- "tower 0.5.2",
+ "tower",
"tower-http",
"tower-service",
"url",
@@ -3762,7 +3690,7 @@ dependencies = [
"tokio-serial",
"tokio-util",
"tonic",
- "tower 0.5.2",
+ "tower",
"tun",
"uuid",
]
@@ -4102,7 +4030,7 @@ version = "0.22.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "583c44c02ad26b0c3f3066fe629275e50627026c51ac2e595cca4c230ce1ce1d"
dependencies = [
- "indexmap 2.2.6",
+ "indexmap",
"serde",
"serde_spanned",
"toml_datetime",
@@ -4111,11 +4039,10 @@ dependencies = [
[[package]]
name = "tonic"
-version = "0.12.3"
+version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "877c5b330756d856ffcc4553ab34a5684481ade925ecc54bcd1bf02b1d0d4d52"
+checksum = "7e581ba15a835f4d9ea06c55ab1bd4dce26fc53752c69a04aac00703bfb49ba9"
dependencies = [
- "async-stream",
"async-trait",
"axum",
"base64 0.22.0",
@@ -4129,11 +4056,11 @@ dependencies = [
"hyper-util",
"percent-encoding",
"pin-project",
- "prost 0.13.3",
+ "prost",
"socket2 0.5.8",
"tokio",
"tokio-stream",
- "tower 0.4.13",
+ "tower",
"tower-layer",
"tower-service",
"tracing",
@@ -4141,50 +4068,35 @@ dependencies = [
[[package]]
name = "tonic-build"
-version = "0.10.2"
+version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9d021fc044c18582b9a2408cd0dd05b1596e3ecdb5c4df822bb0183545683889"
+checksum = "eac6f67be712d12f0b41328db3137e0d0757645d8904b4cb7d51cd9c2279e847"
dependencies = [
"prettyplease",
"proc-macro2",
"prost-build",
+ "prost-types",
"quote",
"syn 2.0.100",
]
[[package]]
name = "tower"
-version = "0.4.13"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c"
-dependencies = [
- "futures-core",
- "futures-util",
- "indexmap 1.9.3",
- "pin-project",
- "pin-project-lite",
- "rand 0.8.5",
- "slab",
- "tokio",
- "tokio-util",
- "tower-layer",
- "tower-service",
- "tracing",
-]
-
-[[package]]
-name = "tower"
version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9"
dependencies = [
"futures-core",
"futures-util",
+ "indexmap",
"pin-project-lite",
+ "slab",
"sync_wrapper",
"tokio",
+ "tokio-util",
"tower-layer",
"tower-service",
+ "tracing",
]
[[package]]
@@ -4200,7 +4112,7 @@ dependencies = [
"http-body",
"iri-string",
"pin-project-lite",
- "tower 0.5.2",
+ "tower",
"tower-layer",
"tower-service",
]
diff --git a/test/Cargo.toml b/test/Cargo.toml
index 1dd2e6d086..c2a32eecf4 100644
--- a/test/Cargo.toml
+++ b/test/Cargo.toml
@@ -56,8 +56,8 @@ serde_json = "1.0"
tokio-serde = { version = "0.8.0", features = ["json"] }
# Tonic and related crates
-tonic = "0.12.3"
-tonic-build = { version = "0.10.0", default-features = false }
+tonic = "0.13.1"
+tonic-build = { version = "0.13.1", default-features = false }
tower = "0.5.1"
prost = "0.13.3"
prost-types = "0.13.3"