We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bherbruck/mcp-debugger'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
main.rs•530 B
fn calculate(x: i32, y: i32) -> i32 {
let sum = x + y;
let product = x * y;
println!("Sum: {}, Product: {}", sum, product);
sum + product
}
fn main() {
println!("Starting Rust debug test");
let a = 10;
let b = 20;
let result = calculate(a, b);
println!("Result: {}", result);
let items: Vec<i32> = vec![1, 2, 3, 4, 5];
let mut total = 0;
for item in &items {
total += item;
println!("Running total: {}", total);
}
println!("Final total: {}", total);
}