style: fmt the project (#54)

add rustfmt.toml

Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
This commit is contained in:
jokemanfire 2025-03-28 23:50:46 +08:00 • committed by GitHub
commit 0a2f13a1f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 158 additions and 132 deletions

View file

@ -1,6 +1,7 @@
use std::fs;
use common::calculator::Calculator;
use rmcp::{serve_client, serve_server};
use std::fs;
use tokio::net::{UnixListener, UnixStream};
mod common;

View file

@ -2,7 +2,6 @@ use std::marker::PhantomData;
use common::calculator::Calculator;
use futures::{Sink, Stream};
use rmcp::{
RoleClient, RoleServer, ServiceExt,
service::{RunningService, RxJsonRpcMessage, ServiceRole, TxJsonRpcMessage},