Rob Jellinghaus
ddef4ce529
fix(clippy): add doc comment for generated tool attr fn ( #439 )
...
This change makes the `tool` macro's output safe for the `missing_docs` lint, by
emitting a doc comment for the generated `[tool]_tool_attr` function. This doc
comment is emitted regardless of whether the tool function is public, for simplicity.
We are building an MCP server using `rmcp` and discovered that the current crate
was not compatible with the `#![deny(missing_docs)]` lint which we use everywhere.
Tested by modifying the `test_tool_macros.rs` test to use `#![deny(missing_docs)]`
and adding doc comments to all pub fns and structs in that file.
None.
Fixes #438 .
Co-authored-by: RobJellinghaus <rjellinghaus@live.com>
2025-09-17 15:02:56 +08:00
..
common
feat: Add prompt support ( #351 )
2025-08-21 11:22:19 +08:00
test_deserialization
fix(test): fix tool deserialization error ( #68 )
2025-03-31 13:05:35 +08:00
test_message_schema
feat(SEP-973): add support for icons and websiteUrl across relevant types ( #432 )
2025-09-11 11:49:03 -04:00
test_with_js
refactor: provide http server as tower service ( #228 )
2025-05-28 19:21:40 +08:00
test_with_python
feat: Add prompt support ( #351 )
2025-08-21 11:22:19 +08:00
test_completion.rs
feat: implement context-aware completion (MCP 2025-06-18) ( #396 )
2025-09-08 14:44:49 +08:00
test_complex_schema.rs
feat: Add prompt support ( #351 )
2025-08-21 11:22:19 +08:00
test_deserialization.rs
fix(test): fix tool deserialization error ( #68 )
2025-03-31 13:05:35 +08:00
test_elicitation.rs
feat(SEP-973): add support for icons and websiteUrl across relevant types ( #432 )
2025-09-11 11:49:03 -04:00
test_embedded_resource_meta.rs
Spec conformance: meta support and spec updates ( #415 )
2025-09-04 14:23:36 -04:00
test_json_schema_detection.rs
feat: Add support for Tool.outputSchema and CallToolResult.structuredContent ( #316 )
2025-07-31 16:32:24 +08:00
test_logging.rs
test(context): test context request handling and refactor for reusable client-server tests ( #97 )
2025-04-07 10:13:05 +08:00
test_message_protocol.rs
feat: extensions to context ( #102 )
2025-04-08 10:01:17 +08:00
test_message_schema.rs
chore(deps): update schemars requirement from 0.8 to 1.0 ( #258 )
2025-07-11 11:15:45 +08:00
test_notification.rs
feat: unified error type ( #308 )
2025-07-09 11:23:39 +08:00
test_progress_subscriber.rs
feat: Add prompt support ( #351 )
2025-08-21 11:22:19 +08:00
test_prompt_handler.rs
feat: Add prompt support ( #351 )
2025-08-21 11:22:19 +08:00
test_prompt_macro_annotations.rs
feat: Add prompt support ( #351 )
2025-08-21 11:22:19 +08:00
test_prompt_macros.rs
feat: Add prompt support ( #351 )
2025-08-21 11:22:19 +08:00
test_prompt_routers.rs
feat: Add prompt support ( #351 )
2025-08-21 11:22:19 +08:00
test_resource_link.rs
feat: add resource_link support to tools and prompts ( #381 )
2025-08-29 18:13:38 +08:00
test_resource_link_integration.rs
feat: add resource_link support to tools and prompts ( #381 )
2025-08-29 18:13:38 +08:00
test_sampling.rs
example: add simpling example and test ( #289 )
2025-06-30 18:18:23 +08:00
test_structured_output.rs
feat: Add prompt support ( #351 )
2025-08-21 11:22:19 +08:00
test_tool_builder_methods.rs
feat: Add support for Tool.outputSchema and CallToolResult.structuredContent ( #316 )
2025-07-31 16:32:24 +08:00
test_tool_handler.rs
Move whole rmcp crate to offcial rust sdk ( #44 )
2025-03-27 17:33:41 -04:00
test_tool_macro_annotations.rs
refactor: refactor tool macros and router implementation ( #261 )
2025-06-24 04:01:22 +08:00
test_tool_macros.rs
fix(clippy): add doc comment for generated tool attr fn ( #439 )
2025-09-17 15:02:56 +08:00
test_tool_result_meta.rs
feat(rmcp): add optional _meta to CallToolResult, EmbeddedResource, and ResourceContents ( #386 )
2025-09-02 13:47:09 -04:00
test_tool_routers.rs
feat: Add prompt support ( #351 )
2025-08-21 11:22:19 +08:00
test_with_js.rs
refactor: refactor tool macros and router implementation ( #261 )
2025-06-24 04:01:22 +08:00
test_with_python.rs
feat(transport): add builder & expose child stderr ( #305 )
2025-07-05 09:14:43 +08:00