fastmcp-rust 0.2.1

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

use fastmcp_rust::tool;

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

fn main() {}