pub fn validate_package_with<S: AsRef<str>>(
pkg: &Value,
catalog_ids: &[S],
extensions: Option<&[AvailableExtension]>,
) -> Vec<PackageIssue>Expand description
validate_package with the host’s registered extensions (versions
and components); None = a declared extension only has to be in
catalog_ids.