We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/oculairmedia/Letta-MCP-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
flamegraph-resolve.rs•610 B
#![cfg(feature = "alloc")]
use iri_string::format::ToDedicatedString;
use iri_string::types::{IriAbsoluteStr, IriReferenceStr};
fn main() {
let base = IriAbsoluteStr::new("https://sub.example.com/foo1/foo2/foo3/foo4/foo5")
.expect("should be valid IRI");
let rel = IriReferenceStr::new(concat!(
"bar1/bar2/bar3/../bar4/../../bar5/bar6/bar7/../../../../..",
"/bar8/../../../bar9/././././././bar10/bar11",
))
.expect("should be valid IRI");
for _ in 0..1000000 {
let resolved = rel.resolve_against(base).to_dedicated_string();
drop(resolved);
}
}