fix: resolve clippy warnings across workspace (#1195)
* fix: resolve clippy warnings across workspace * ci: also run clippy on rmcp with all features except local --all-features enables the local feature, which cfg-gates out tower.rs and most of the test suite, so the existing clippy step never actually lints them.
This commit is contained in:
parent
f9a68bfa5c
commit
6fa40536de
1 changed files with 277 additions and 289 deletions
|
|
@ -64,7 +64,7 @@ impl Default for ElicitationServer {
|
|||
}
|
||||
}
|
||||
|
||||
#[tool_router]
|
||||
#[tool_router(router = tool_router)]
|
||||
impl ElicitationServer {
|
||||
#[tool(description = "Greet user with name collection")]
|
||||
async fn greet_user(
|
||||
|
|
@ -145,7 +145,7 @@ impl ElicitationServer {
|
|||
}
|
||||
}
|
||||
|
||||
#[tool_handler]
|
||||
#[tool_handler(router = self.tool_router)]
|
||||
impl ServerHandler for ElicitationServer {
|
||||
fn get_info(&self) -> ServerInfo {
|
||||
ServerInfo::new(ServerCapabilities::builder().enable_tools().build())
|
||||
|
|
|
|||
Loading…
Reference in a new issue