Skip to content

Commit d85e2a8

Browse files
committed
refactor: update clippy command to include 'client' feature and clean up documentation in server.rs
1 parent 0e6c185 commit d85e2a8

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ clippy:
224224
@printf "$(YELLOW) → Clippy on WS protocol$(NC)\n"
225225
cargo clippy --package aimdb-ws-protocol --all-targets -- -D warnings
226226
@printf "$(YELLOW) → Clippy on WebSocket connector$(NC)\n"
227-
cargo clippy --package aimdb-websocket-connector --features "tokio-runtime" --all-targets -- -D warnings
227+
cargo clippy --package aimdb-websocket-connector --features "tokio-runtime,client" --all-targets -- -D warnings
228228
@printf "$(YELLOW) → Clippy on WASM adapter$(NC)\n"
229229
cargo clippy --package aimdb-wasm-adapter --target wasm32-unknown-unknown --features "wasm-runtime" -- -D warnings
230230

aimdb-websocket-connector/src/server.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,6 @@ type BoxFuture = std::pin::Pin<Box<dyn core::future::Future<Output = ()> + Send
7676
/// * `bind_addr` — TCP address to listen on.
7777
/// * `ws_path` — URL path for the WebSocket endpoint (e.g., `"/ws"`).
7878
/// * `session_ctx` — Shared session context (auth, router, client manager, …).
79-
/// * `additional_routes` — Optional user-supplied Axum `Router` that is merged
80-
/// into the server (useful for REST + WebSocket on the same port).
81-
/// Build the axum application (WS upgrade + health, plus any extra routes).
8279
///
8380
/// Extracted so tests can serve the **real** app on a known ephemeral port
8481
/// (`build_server_future` binds internally and does not surface the port).

0 commit comments

Comments
 (0)