Skip to main content

write_metadata_section

Function write_metadata_section 

Source
pub fn write_metadata_section(
    path: &Path,
    section: MetadataSection,
    config: &InitConfig,
) -> Result<(), ManifestError>
Expand description

Writes changeset configuration to the metadata section of a Cargo.toml file.

ยงErrors

Returns an error if the manifest cannot be read, parsed, or written.