pub fn plugin_capability_preview(path: &Path) -> Result<PluginCapabilityPreview>Expand description
Read what the plugin at path declares, for the pre-install disclosure.
§Errors
A missing or unparseable manifest, anything validate_plugin_manifest
rejects, and an unreadable or invalid capabilities.toml. An absent
capabilities.toml is not an error — that field is simply None. Nothing
is installed or executed here.