style: fmt the project (#54)
add rustfmt.toml Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
This commit is contained in:
parent
59bfb6e748
commit
0a2f13a1f4
2 changed files with 158 additions and 132 deletions
|
|
@ -1,6 +1,8 @@
|
|||
use crate::error::Error as McpError;
|
||||
use crate::model::*;
|
||||
use crate::service::{Peer, RequestContext, RoleClient, Service, ServiceRole};
|
||||
use crate::{
|
||||
error::Error as McpError,
|
||||
model::*,
|
||||
service::{Peer, RequestContext, RoleClient, Service, ServiceRole},
|
||||
};
|
||||
|
||||
impl<H: ClientHandler> Service<RoleClient> for H {
|
||||
async fn handle_request(
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
use crate::error::Error as McpError;
|
||||
use crate::model::*;
|
||||
use crate::service::{Peer, RequestContext, RoleServer, Service, ServiceRole};
|
||||
use crate::{
|
||||
error::Error as McpError,
|
||||
model::*,
|
||||
service::{Peer, RequestContext, RoleServer, Service, ServiceRole},
|
||||
};
|
||||
|
||||
mod resource;
|
||||
pub mod tool;
|
||||
|
|
|
|||
Loading…
Reference in a new issue