A human-friendly DSL for ATProto Lexicons
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Better workspace usage

+3 -3
+3 -3
mlf-cli/src/generate/lexicon.rs
··· 88 88 89 89 let namespace = extract_namespace(&file_path); 90 90 91 - // Create workspace with prelude for inline type resolution 92 - let mut workspace = match mlf_lang::Workspace::with_prelude() { 91 + // Create workspace with standard library for inline type resolution 92 + let mut workspace = match mlf_lang::Workspace::with_std() { 93 93 Ok(ws) => ws, 94 94 Err(e) => { 95 - errors.push((file_path.display().to_string(), format!("Failed to load prelude: {:?}", e))); 95 + errors.push((file_path.display().to_string(), format!("Failed to load standard library: {:?}", e))); 96 96 continue; 97 97 } 98 98 };