Skip to content

Commit 5804afb

Browse files
committed
.
1 parent 5a124c6 commit 5804afb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

testsuite/src/mcp_server.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ const ERROR_CODE_INVALID_REQUEST: i32 = -32600;
1111
const ERROR_CODE_METHOD_NOT_FOUND: i32 = -32601;
1212
const ERROR_CODE_INVALID_PARAMS: i32 = -32602;
1313

14+
pub use tokio_util::sync::CancellationToken;
15+
1416
#[dynosaur::dynosaur(pub DynMcpTransport = dyn(box) McpTransport)]
1517
#[allow(unreachable_pub)] // false positive.
1618
pub trait McpTransport: Send + Sync {
@@ -47,8 +49,6 @@ where
4749
}
4850
}
4951

50-
pub use tokio_util::sync::CancellationToken;
51-
5252
/// A MCP server for testing purposes that implements
5353
/// the Model Context Protocol 2025-06-18 specification.
5454
pub struct McpServer {

0 commit comments

Comments
 (0)