From 01bb7f3761bc9857034234ec2e1eac3061d1c467 Mon Sep 17 00:00:00 2001 From: Artem Ignatyev Date: Mon, 16 Dec 2024 13:08:09 -0800 Subject: [PATCH] Vendor tonic-reflection and "pin" tokio-vsock to depend on a matching version of tonic Summary: 1. tonic-reflection crate is useful to simplify testing of gRPC services using tools like grpcurl 2. Need to "pin" tokio-vsock to depend on the same version of tonic that our cargo.toml lists (0.9.2) to avoid unpredictable [flapping of version](https://www.internalfb.com/diff/D66719971?transaction_fbid=488759210895314). See details in the respective [workplace thread](https://fb.workplace.com/groups/rust.language/posts/27494647173490537/?comment_id=27556803340608253) Differential Revision: D67283980 fbshipit-source-id: e6872c7ccfdaecdf8b745e9d93110a74e115d719 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 48c88ce2c..5aed24d80 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ perf-event-open-sys = { version = "4.0", git = "https://github.com/krallin/perf- plexi-core = { git = "https://github.com/haochenuw/plexi", rev = "a0326d9802a594ca5382b075620135607e1cdb23" } pyo3-build-config = { package = "pyo3-build-config", version = "0.21.2", git = "https://github.com/fbsource/pyo3", rev = "ff94a09031cc29d88d57ae3c846e5b871497aeb9" } quickcheck = { git = "https://github.com/jakoschiko/quickcheck", rev = "6ecdf5bb4b0132ce66670b4d46453aa022ea892c" } -tokio-vsock = { git = "https://github.com/rust-vsock/tokio-vsock", rev = "ae7a7843bf00bd72794ac912ae9504cc1378da7c" } +tokio-vsock = { git = "https://github.com/cryo28/tokio-vsock", rev = "9bc4bf2c933e1bc3234bf6e2709bcec6696221a9" } tracing-attributes = { git = "https://github.com/tokio-rs/tracing.git", rev = "70a867877d5232b686d5fd70bbb4cbf37f4b38c6" } uefisettings = { git = "https://github.com/linuxboot/uefisettings", rev = "f16daed1d2bd1216204fd24e876c6477d03aebb3" } uefisettings_backend_thrift = { git = "https://github.com/linuxboot/uefisettings", rev = "f16daed1d2bd1216204fd24e876c6477d03aebb3" }