pub struct PluginInfo {
pub name: String,
pub crate_name: String,
pub version: String,
pub family: Option<String>,
pub abi: Option<u32>,
pub dir: PathBuf,
pub source: InstallSource,
pub extra: Table,
}Expand description
An overview of one installed plugin.
This is what the kit read from the manifest while listing the plugin directory. It
carries the fields the kit itself understands, plus PluginInfo::extra — every
other section, exactly as written — so a host can read its own sections from the
same read instead of opening the manifest a second time.
Fields§
§name: StringPlugin’s self-declared name (the manifest’s plugin.name).
crate_name: StringFull crate name, such as bmux-plugin-cargo.
version: StringVersion.
family: Option<String>Ecosystem family (a host field; may be empty).
abi: Option<u32>ABI version (a host field; may be empty).
dir: PathBufInstall dir.
source: InstallSourceHow it got installed.
extra: TableEvery top-level section the kit does not interpret, verbatim.
A host’s own sections live here: [detect], [context], and anything else it
defines. The kit neither reads nor validates them — it only carries them through,
which is what lets a host keep its manifest vocabulary while the kit stays
host-agnostic.