| Crates.io | plugrs-interface |
| lib.rs | plugrs-interface |
| version | 0.1.1 |
| created_at | 2025-01-08 12:09:21.461497+00 |
| updated_at | 2025-01-15 06:17:39.485231+00 |
| description | Plugin interface definitions for the plugrs system |
| homepage | |
| repository | https://github.com/Lydanne/plugrs |
| max_upload_size | |
| id | 1508453 |
| size | 3,830 |
Plugin interface definitions for the plugrs system.
Add this to your Cargo.toml:
[dependencies]
plugrs-interface = "0.1.0"
use plugrs_interface::Plugin;
pub struct MyPlugin;
impl Plugin for MyPlugin {
fn name(&self) -> String {
"My Plugin".to_string()
}
fn execute(&self) -> i32 {
42
}
}
This project is licensed under the MIT License - see the LICENSE file for details.