From a48622500863c22922a94576798b97cf02f179ec Mon Sep 17 00:00:00 2001 From: jasonwitty Date: Tue, 9 Sep 2025 02:32:20 -0700 Subject: [PATCH] fix: formatting from cargo fmt --- socktop_connector/src/connector.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/socktop_connector/src/connector.rs b/socktop_connector/src/connector.rs index 0b2a1b7..404d341 100644 --- a/socktop_connector/src/connector.rs +++ b/socktop_connector/src/connector.rs @@ -21,11 +21,11 @@ use url::Url; #[cfg(feature = "wasm")] use web_sys::WebSocket; -#[cfg(all(feature = "wasm", not(feature = "networking")))] +#[cfg(all(feature = "wasm", not(feature = "networking")))] use pb::Processes; -#[cfg(all(feature = "wasm", not(feature = "networking")))] +#[cfg(all(feature = "wasm", not(feature = "networking")))] use prost::Message as ProstMessage; -#[cfg(all(feature = "wasm", not(feature = "networking")))] +#[cfg(all(feature = "wasm", not(feature = "networking")))] use wasm_bindgen::{JsCast, JsValue, closure::Closure}; #[cfg(feature = "tls")] @@ -46,7 +46,8 @@ use tokio_tungstenite::{Connector, connect_async_tls_with_config}; use crate::error::{ConnectorError, Result}; use crate::types::{AgentRequest, AgentResponse}; #[cfg(any(feature = "networking", feature = "wasm"))] -use crate::types::{DiskInfo, Metrics, ProcessInfo, ProcessesPayload};#[cfg(feature = "tls")] +use crate::types::{DiskInfo, Metrics, ProcessInfo, ProcessesPayload}; +#[cfg(feature = "tls")] fn ensure_crypto_provider() { use std::sync::Once; static INIT: Once = Once::new();