fastmcp-rust 0.3.0

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

use fastmcp_rust::resource;

#[resource(uri = "test://data", timeout = "xyz")]
fn my_resource() -> String {
    "data".to_string()
}

fn main() {}