pub fn generate_module_spec(
content: &str,
dep_interfaces: &[InterfaceSpec<'static>],
) -> Result<Option<ModuleFunc<'static>>>Expand description
Parse content (a module source file), locate the #[module(...)]
function, and return a pretty-printed JSON string describing it.
Returns None when no #[module(...)] function is found.