docs: fix packages used for server example (#309)
This commit is contained in:
parent
69712e321a
commit
2d997e18b7
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ wait for the first release.
|
||||||
Creating a server with tools is simple using the `#[tool]` macro:
|
Creating a server with tools is simple using the `#[tool]` macro:
|
||||||
|
|
||||||
```rust, ignore
|
```rust, ignore
|
||||||
use rmcp::{Error as McpError, ServiceExt, model::*, tool, tool_router, transport::stdio, handler::server::tool::ToolCallContext, handler::server::router::tool::ToolRouter};
|
use rmcp::{Error as McpError, ServiceExt, model::*, tool, tool_handler, tool_router, transport::stdio, handler::server::router::tool::ToolRouter};
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
use tokio::sync::Mutex;
|
use tokio::sync::Mutex;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue