We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a124c6 commit 5804afbCopy full SHA for 5804afb
1 file changed
testsuite/src/mcp_server.rs
@@ -11,6 +11,8 @@ const ERROR_CODE_INVALID_REQUEST: i32 = -32600;
11
const ERROR_CODE_METHOD_NOT_FOUND: i32 = -32601;
12
const ERROR_CODE_INVALID_PARAMS: i32 = -32602;
13
14
+pub use tokio_util::sync::CancellationToken;
15
+
16
#[dynosaur::dynosaur(pub DynMcpTransport = dyn(box) McpTransport)]
17
#[allow(unreachable_pub)] // false positive.
18
pub trait McpTransport: Send + Sync {
@@ -47,8 +49,6 @@ where
47
49
}
48
50
51
-pub use tokio_util::sync::CancellationToken;
-
52
/// A MCP server for testing purposes that implements
53
/// the Model Context Protocol 2025-06-18 specification.
54
pub struct McpServer {
0 commit comments