Skip to content

Commit f70b2fc

Browse files
committed
chore(deps): update to http v1 versions (wip)
this commit bumps our rust dependencies such that we depend on http's v1 major release. this commit in particular makes the following changes to our dependency graph: * `h2`: 0.3 -> 0.4 * `http`: 0.2 -> 1.2 * `prost`: 0.12 -> 0.13 * `prost-types`: 0.12 -> 0.13 * `tonic`: 0.10 -> 0.12 * `tonic-build`: 0.10 -> 0.12 Signed-off-by: katelyn martin <[email protected]>
1 parent 66ab559 commit f70b2fc

14 files changed

+345
-525
lines changed

Cargo.lock

Lines changed: 45 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ dependencies = [
2828
"syn 1.0.109",
2929
]
3030

31+
[[package]]
32+
name = "atomic-waker"
33+
version = "1.1.2"
34+
source = "registry+https://github.com/rust-lang/crates.io-index"
35+
checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
36+
3137
[[package]]
3238
name = "autocfg"
3339
version = "1.1.0"
@@ -36,9 +42,9 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
3642

3743
[[package]]
3844
name = "base64"
39-
version = "0.21.5"
45+
version = "0.22.1"
4046
source = "registry+https://github.com/rust-lang/crates.io-index"
41-
checksum = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9"
47+
checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
4248

4349
[[package]]
4450
name = "bitflags"
@@ -144,15 +150,15 @@ dependencies = [
144150

145151
[[package]]
146152
name = "h2"
147-
version = "0.3.26"
153+
version = "0.4.7"
148154
source = "registry+https://github.com/rust-lang/crates.io-index"
149-
checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8"
155+
checksum = "ccae279728d634d083c00f6099cb58f01cc99c145b84b8be2f6c74618d79922e"
150156
dependencies = [
157+
"atomic-waker",
151158
"bytes",
152159
"fnv",
153160
"futures-core",
154161
"futures-sink",
155-
"futures-util",
156162
"http",
157163
"indexmap 2.2.3",
158164
"slab",
@@ -181,9 +187,9 @@ checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
181187

182188
[[package]]
183189
name = "http"
184-
version = "0.2.12"
190+
version = "1.2.0"
185191
source = "registry+https://github.com/rust-lang/crates.io-index"
186-
checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1"
192+
checksum = "f16ca2af56261c99fba8bac40a10251ce8188205a4c448fbb745a2e4daa76fea"
187193
dependencies = [
188194
"bytes",
189195
"fnv",
@@ -192,12 +198,24 @@ dependencies = [
192198

193199
[[package]]
194200
name = "http-body"
195-
version = "0.4.5"
201+
version = "1.0.1"
202+
source = "registry+https://github.com/rust-lang/crates.io-index"
203+
checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184"
204+
dependencies = [
205+
"bytes",
206+
"http",
207+
]
208+
209+
[[package]]
210+
name = "http-body-util"
211+
version = "0.1.2"
196212
source = "registry+https://github.com/rust-lang/crates.io-index"
197-
checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1"
213+
checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f"
198214
dependencies = [
199215
"bytes",
216+
"futures-util",
200217
"http",
218+
"http-body",
201219
"pin-project-lite",
202220
]
203221

@@ -353,9 +371,9 @@ dependencies = [
353371

354372
[[package]]
355373
name = "pin-project-lite"
356-
version = "0.2.9"
374+
version = "0.2.15"
357375
source = "registry+https://github.com/rust-lang/crates.io-index"
358-
checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116"
376+
checksum = "915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff"
359377

360378
[[package]]
361379
name = "pin-utils"
@@ -384,21 +402,20 @@ dependencies = [
384402

385403
[[package]]
386404
name = "prost"
387-
version = "0.12.4"
405+
version = "0.13.4"
388406
source = "registry+https://github.com/rust-lang/crates.io-index"
389-
checksum = "d0f5d036824e4761737860779c906171497f6d55681139d8312388f8fe398922"
407+
checksum = "2c0fef6c4230e4ccf618a35c59d7ede15dea37de8427500f50aff708806e42ec"
390408
dependencies = [
391409
"bytes",
392410
"prost-derive",
393411
]
394412

395413
[[package]]
396414
name = "prost-build"
397-
version = "0.12.3"
415+
version = "0.13.4"
398416
source = "registry+https://github.com/rust-lang/crates.io-index"
399-
checksum = "c55e02e35260070b6f716a2423c2ff1c3bb1642ddca6f99e1f26d06268a0e2d2"
417+
checksum = "d0f3e5beed80eb580c68e2c600937ac2c4eedabdfd5ef1e5b7ea4f3fba84497b"
400418
dependencies = [
401-
"bytes",
402419
"heck",
403420
"itertools",
404421
"log",
@@ -411,14 +428,13 @@ dependencies = [
411428
"regex",
412429
"syn 2.0.87",
413430
"tempfile",
414-
"which",
415431
]
416432

417433
[[package]]
418434
name = "prost-derive"
419-
version = "0.12.4"
435+
version = "0.13.4"
420436
source = "registry+https://github.com/rust-lang/crates.io-index"
421-
checksum = "19de2de2a00075bf566bee3bd4db014b11587e84184d3f7a791bc17f1a8e9e48"
437+
checksum = "157c5a9d7ea5c2ed2d9fb8f495b64759f7816c7eaea54ba3978f0d63000162e3"
422438
dependencies = [
423439
"anyhow",
424440
"itertools",
@@ -429,9 +445,9 @@ dependencies = [
429445

430446
[[package]]
431447
name = "prost-types"
432-
version = "0.12.4"
448+
version = "0.13.4"
433449
source = "registry+https://github.com/rust-lang/crates.io-index"
434-
checksum = "3235c33eb02c1f1e212abdbe34c78b264b038fb58ca612664343271e36e55ffe"
450+
checksum = "cc2f1e56baa61e93533aebc21af4d2134b70f66275e0fcdf3cbe43d77ff7e8fc"
435451
dependencies = [
436452
"prost",
437453
]
@@ -603,9 +619,9 @@ dependencies = [
603619

604620
[[package]]
605621
name = "tokio-stream"
606-
version = "0.1.12"
622+
version = "0.1.17"
607623
source = "registry+https://github.com/rust-lang/crates.io-index"
608-
checksum = "8fb52b74f05dbf495a8fba459fdc331812b96aa086d9eb78101fa0d4569c3313"
624+
checksum = "eca58d7bba4a75707817a2c44174253f9236b2d5fbd055602e9d5c07c139a047"
609625
dependencies = [
610626
"futures-core",
611627
"pin-project-lite",
@@ -628,19 +644,19 @@ dependencies = [
628644

629645
[[package]]
630646
name = "tonic"
631-
version = "0.10.2"
647+
version = "0.12.3"
632648
source = "registry+https://github.com/rust-lang/crates.io-index"
633-
checksum = "d560933a0de61cf715926b9cac824d4c883c2c43142f787595e48280c40a1d0e"
649+
checksum = "877c5b330756d856ffcc4553ab34a5684481ade925ecc54bcd1bf02b1d0d4d52"
634650
dependencies = [
635651
"async-trait",
636652
"base64",
637653
"bytes",
638654
"http",
639655
"http-body",
656+
"http-body-util",
640657
"percent-encoding",
641658
"pin-project",
642659
"prost",
643-
"tokio",
644660
"tokio-stream",
645661
"tower-layer",
646662
"tower-service",
@@ -649,13 +665,14 @@ dependencies = [
649665

650666
[[package]]
651667
name = "tonic-build"
652-
version = "0.10.2"
668+
version = "0.12.3"
653669
source = "registry+https://github.com/rust-lang/crates.io-index"
654-
checksum = "9d021fc044c18582b9a2408cd0dd05b1596e3ecdb5c4df822bb0183545683889"
670+
checksum = "9557ce109ea773b399c9b9e5dca39294110b74f1f342cb347a80d1fce8c26a11"
655671
dependencies = [
656672
"prettyplease",
657673
"proc-macro2",
658674
"prost-build",
675+
"prost-types",
659676
"quote",
660677
"syn 2.0.87",
661678
]
@@ -716,17 +733,6 @@ version = "0.11.0+wasi-snapshot-preview1"
716733
source = "registry+https://github.com/rust-lang/crates.io-index"
717734
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
718735

719-
[[package]]
720-
name = "which"
721-
version = "4.4.0"
722-
source = "registry+https://github.com/rust-lang/crates.io-index"
723-
checksum = "2441c784c52b289a054b7201fc93253e288f094e2f4be9058343127c4226a269"
724-
dependencies = [
725-
"either",
726-
"libc",
727-
"once_cell",
728-
]
729-
730736
[[package]]
731737
name = "windows-sys"
732738
version = "0.42.0"

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,20 @@ rustdoc-args = ["--cfg", "docsrs"]
4949
all-features = true
5050

5151
[dependencies]
52-
h2 = { version = "0.3", optional = true }
53-
http = { version = "0.2", optional = true }
52+
h2 = { version = "0.4", optional = true }
53+
http = { version = "1.2", optional = true }
5454
ipnet = { version = "2", optional = true }
55-
prost = "0.12"
56-
prost-types = { version = "0.12", optional = true }
55+
prost = "0.13"
56+
prost-types = { version = "0.13", optional = true }
5757
quickcheck = { version = "1", default-features = false, optional = true }
5858
thiserror = { version = "2", optional = true }
5959

6060
[dependencies.tonic]
61-
version = "0.10"
61+
version = "0.12"
6262
default-features = false
6363
features = ["prost"]
6464

6565
[dev-dependencies.tonic-build]
66-
version = "0.10"
66+
version = "0.12"
6767
default-features = false
6868
features = ["prost"]

0 commit comments

Comments
 (0)