fastmcp-rust 0.3.1

Fast, cancel-correct MCP framework for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
error: resource parameters require a URI template with matching {params}
 --> tests/trybuild/resource_params_without_template.rs:6:4
  |
6 | fn my_resource(name: String) -> String {
  |    ^^^^^^^^^^^

warning: unused import: `McpContext`
 --> tests/trybuild/resource_params_without_template.rs:3:20
  |
3 | use fastmcp_rust::{McpContext, resource};
  |                    ^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default