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() {}