Skip to main content
Glama

cursor-rust-tools

by terhechte
generate.rs470 B
use crate::project::Project; use anyhow::Result; use std::process::Command; pub fn generate_docs(project: &Project) -> Result<()> { // Run cargo doc with custom output directory let output = Command::new("cargo") .current_dir(project.root()) .args(["doc", "--target-dir", project.cache_folder()]) .output()?; if !output.status.success() { return Err(anyhow::anyhow!("Failed to generate documentation")); } Ok(()) }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/terhechte/cursor-rust-tools'

If you have feedback or need assistance with the MCP directory API, please join our Discord server