Skip to content

Commit

Permalink
Vendor tonic-reflection and "pin" tokio-vsock to depend on a matching…
Browse files Browse the repository at this point in the history
… 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
  • Loading branch information
Artem Ignatyev authored and facebook-github-bot committed Dec 16, 2024
1 parent b4aefab commit 01bb7f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down

0 comments on commit 01bb7f3

Please sign in to comment.