pub(crate) fn generate_item_file( key: &str, item: &ItemManifestEntry, ) -> Result<String>
Generate one Rust file for a complex item.