fastmcp-rust 0.3.1

Fast, cancel-correct MCP framework for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
// Tests that #[tool] with unknown attribute produces a compile error.

use fastmcp_rust::tool;

#[tool(invalid_attr = "foo")]
fn my_tool() -> String {
    "ok".to_string()
}

fn main() {}