pub fn load_metadata(manifest_path: Option<&Path>) -> Result<Metadata>
Loads the workspace metadata based on the given manifest path.