Skip to main content

load

Function load 

Source
pub fn load(package_dir: &Path) -> Result<Manifest, Vec<ManifestError>>
Expand description

Read and validate the manifest of the package rooted at package_dir.

Every failure this can produce is raised before compile_package builds the file database load_package_sources needs, which is why this returns a plain Vec rather than going through a rendered Diagnostic — there is nothing yet to render one against.