pub fn load_dir(path: impl AsRef<Path>) -> Result<LoadedPlugin, Rejection>Expand description
Load the plugin rooted at path from the filesystem.
The one-call entry point:
let plugin = agent_plugins::load_dir("path/to/my-plugin")?;
println!("loaded {} with {} skill(s)", plugin.manifest.name, plugin.skills.len());