From fb38ab3fbafa8413d1aad8283f447c48657ba898 Mon Sep 17 00:00:00 2001 From: Alvaro Gaona Date: Sat, 25 Jul 2026 14:32:24 +0200 Subject: [PATCH] feat: speak rewire.v3 via extras v0.9.0 The fleet poll moves to the v3 RelayService client. No behavior change; v3 drops the retired ViewerService and renames GetInfoResponse.viewer to host, neither of which the viewer used. --- Cargo.lock | 26 +++++++++++++------------- Cargo.toml | 2 +- src/connection.rs | 4 ++-- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2efdb88..b5c44dc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -244,7 +244,7 @@ version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" dependencies = [ - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] @@ -255,7 +255,7 @@ checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" dependencies = [ "anstyle", "once_cell_polyfill", - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] @@ -2493,7 +2493,7 @@ dependencies = [ "libc", "option-ext", "redox_users", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -3026,7 +3026,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -5022,7 +5022,7 @@ version = "0.50.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -6162,7 +6162,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b570b25f7617e43d59005d0990ccb79e950a423952cea19671b7a876da390adf" dependencies = [ "anyhow", - "itertools 0.10.5", + "itertools 0.14.0", "proc-macro2", "quote", "syn", @@ -9047,8 +9047,8 @@ dependencies = [ [[package]] name = "rewire-extras" -version = "0.8.0" -source = "git+https://github.com/rewire-run/extras?tag=v0.8.0#13e0d8e1282b10537d483a147d6e8790de2e3fc1" +version = "0.9.0" +source = "git+https://github.com/rewire-run/extras?tag=v0.9.0#a3fb10c39ad47e15590cd19f1244520bfb13d703" dependencies = [ "prost", "re_sdk_types", @@ -9278,7 +9278,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys 0.12.1", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -9849,7 +9849,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3a766e1110788c36f4fa1c2b71b387a7815aa65f88ce0229841826633d93723e" dependencies = [ "libc", - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] @@ -10014,7 +10014,7 @@ dependencies = [ "getrandom 0.4.2", "once_cell", "rustix 1.1.4", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -10577,7 +10577,7 @@ checksum = "f2f6fb2847f6742cd76af783a2a2c49e9375d0a111c7bef6f71cd9e738c72d6e" dependencies = [ "memoffset", "tempfile", - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] @@ -11340,7 +11340,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 1798ad1..690e93e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,7 +32,7 @@ re_types_core = "0.35" re_ui = "0.35" re_viewer = { version = "0.35", default-features = false } re_viewer_context = "0.35" -rewire-extras = { git = "https://github.com/rewire-run/extras", tag = "v0.8.0", default-features = false } +rewire-extras = { git = "https://github.com/rewire-run/extras", tag = "v0.9.0", default-features = false } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] clap = { version = "4", features = ["derive"] } diff --git a/src/connection.rs b/src/connection.rs index ac63b08..dc25734 100644 --- a/src/connection.rs +++ b/src/connection.rs @@ -13,9 +13,9 @@ use std::time::Duration; #[cfg(not(target_arch = "wasm32"))] use re_log_channel::{LogReceiver, LogSender, LogSource, SmartMessagePayload}; #[cfg(not(target_arch = "wasm32"))] -use rewire_extras::proto::v2::relay_service_client::RelayServiceClient; +use rewire_extras::proto::v3::relay_service_client::RelayServiceClient; #[cfg(not(target_arch = "wasm32"))] -use rewire_extras::proto::v2::GetHeartbeatsRequest; +use rewire_extras::proto::v3::GetHeartbeatsRequest; #[cfg(not(target_arch = "wasm32"))] use rewire_extras::BridgeState;