Skip to main content

parse_root_config

Function parse_root_config 

Source
pub fn parse_root_config(
    project: &CargoProject,
) -> Result<RootChangesetConfig, ProjectError>
Expand description

Parses the root changeset configuration based on project kind.

For single-package projects, reads from [package.metadata.changeset]. For workspaces, reads from [workspace.metadata.changeset].

ยงErrors

Returns an error if the manifest cannot be read or parsed, or if glob patterns are invalid.