pub fn idl_to_rust(prog: &IDLProg, config: &Config) -> Result<String>
Takes an IDL string and returns a Rust string, unformatted.