LibPlugin
An embeddable plugin system for Rust applications.
- LibPlugin handles the majority of boilerplate required for implementing a functional plugin system; offering some flexibility in design & configuration.
Still under early development; I would recommend against using it for anything serious at the moment.
- Supported Formats:
- Toml
- Ron
- Json
Basic Usage
use ;
Advanced Usage
// add to your project: cargo add lp -F dynamic-loading
use ;
Example: Plugin Manifest
- TOML
[]
= "example"
= "0.1.0"
= ["Author Name"]
= "An example plugin"
= "MIT"
= "/path/to/plugin"
- RON
Ron(
plugin: Plugin(
name: "example",
version: "0.1.0",
authors: Some(["Author Name"]),
description: Some("An example plugin"),
license: Some("MIT"),
path: Some("/path/to/plugin"),
),
)
- JSON
Roadmap
- v1.0.0 API refactor
- v1.1.0 Add opt-in support for MCP via rmcp
- Enhance Docs