Skip to content

Commit f503b76

Browse files
committed
chore: fix failing checks
1 parent bd91dd2 commit f503b76

File tree

3 files changed

+23
-107
lines changed

3 files changed

+23
-107
lines changed

Cargo.lock

Lines changed: 19 additions & 103 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/rust-mcp-sdk/tests/common/test_server.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ pub mod test_server_common {
1414
ClientCapabilities, Implementation, InitializeRequest, InitializeRequestParams,
1515
InitializeResult, ServerCapabilities, ServerCapabilitiesTools,
1616
};
17-
use rust_mcp_sdk::ToMcpServerHandler;
1817
use rust_mcp_sdk::{
19-
mcp_server::{hyper_server, HyperServer, HyperServerOptions, ServerHandler},
18+
mcp_server::{
19+
hyper_server, HyperServer, HyperServerOptions, ServerHandler, ToMcpServerHandler,
20+
},
2021
McpServer, SessionId,
2122
};
2223
use std::sync::{Arc, RwLock};

crates/rust-mcp-sdk/tests/test_protocol_compatibility.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ pub mod common;
33

44
mod protocol_compatibility_on_server {
55

6-
use rust_mcp_sdk::mcp_server::ServerHandler;
6+
use rust_mcp_sdk::mcp_server::{ServerHandler, ToMcpServerHandler};
77
use rust_mcp_sdk::schema::{InitializeRequest, InitializeResult, RpcError, INTERNAL_ERROR};
8-
use rust_mcp_sdk::ToMcpServerHandler;
98

109
use crate::common::{
1110
test_client_info,

0 commit comments

Comments
 (0)