Format the workspace with rustfmt

Make the tree rustfmt-clean so CI can enforce `cargo fmt --check`.
This commit is contained in:
Anthony
2026-05-29 14:59:39 +02:00
parent 2e708f7362
commit a8a02ee0bf
18 changed files with 1158 additions and 898 deletions
+3 -7
View File
@@ -2,15 +2,14 @@
mod commands;
use std::sync::Arc;
use commands::BridgeState;
use std::sync::Arc;
use tauri::Manager;
use tokio::sync::Mutex;
use tutabridge_core::bridge::BridgeHandle;
fn main() {
env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("debug"))
.init();
env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("debug")).init();
tokio_rustls::rustls::crypto::ring::default_provider()
.install_default()
@@ -114,10 +113,7 @@ async fn stream_stats(
}
}
async fn stream_logs(
app: tauri::AppHandle,
mut rx: tokio::sync::broadcast::Receiver<String>,
) {
async fn stream_logs(app: tauri::AppHandle, mut rx: tokio::sync::broadcast::Receiver<String>) {
use tauri::Emitter;
loop {
match rx.recv().await {