[router] Add rustfmt and set group imports by default (#11732)
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
mod common;
|
||||
|
||||
use std::sync::Arc;
|
||||
|
||||
use common::mock_worker::{HealthStatus, MockWorker, MockWorkerConfig, WorkerType};
|
||||
use futures_util::StreamExt;
|
||||
use reqwest::Client;
|
||||
use serde_json::json;
|
||||
use sglang_router_rs::config::{RouterConfig, RoutingMode};
|
||||
use sglang_router_rs::core::WorkerManager;
|
||||
use sglang_router_rs::routers::{RouterFactory, RouterTrait};
|
||||
use std::sync::Arc;
|
||||
use sglang_router_rs::{
|
||||
config::{RouterConfig, RoutingMode},
|
||||
core::WorkerManager,
|
||||
routers::{RouterFactory, RouterTrait},
|
||||
};
|
||||
|
||||
/// Test context that manages mock workers
|
||||
struct TestContext {
|
||||
|
||||
Reference in New Issue
Block a user