pub fn extract_from_source( source: &str, file_path: &str, ) -> Result<Vec<ApiItem>, ApiError>
Extract public API items from a Rust source string.