1 2 3 4 5 6 7 8 9 10
mod protocol; mod refresh; use super::WeavatrixServer; use crate::mcp::McpProfile; use std::path::PathBuf; fn server(profile: McpProfile) -> WeavatrixServer { WeavatrixServer::new(PathBuf::from(env!("CARGO_MANIFEST_DIR")), profile).unwrap() }