Skip to main content

parse_registries

Function parse_registries 

Source
pub fn parse_registries(
    project_toml: &str,
) -> Result<RegistriesSection, PkgError>
Expand description

Parse just the [registries] section out of an bock.project TOML string.

Other sections are ignored, so this is safe to call on any project file.