Uses libloading and stabby
crates/api- Definitions (as well as FFI-stable ones) for the APIcrates/loader- The loader in the form of an executablecrates/macros- Macros re-exported by the API crate, makes writing a plugin easiercrates/plugin- The plugin in the form of a library
use plugin_api::Plugin;
#[plugin_api::plugin]
pub fn main() -> Plugin {
Plugin {
name: "Test Plugin".to_string(),
version: "0.1.0".to_string(),
}
}