Skip to main content
Glama
build.rs635 B
use std::fs; fn main() -> Result<(), Box<dyn std::error::Error>> { println!("cargo:rerun-if-changed=src/migrations"); for entry in fs::read_dir("./src/migrations")? { let entry = entry?; let path = entry.path(); if path.is_file() { println!("cargo:rerun-if-changed={}", path.display()); } } println!("cargo:rerun-if-changed=src/queries"); for entry in fs::read_dir("./src/queries")? { let entry = entry?; let path = entry.path(); if path.is_file() { println!("cargo:rerun-if-changed={}", path.display()); } } Ok(()) }

Latest Blog Posts

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/systeminit/si'

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