Skip to content

LynithDev/rust-plugin-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Plugin Loader

Uses libloading and stabby

Crates

  • crates/api - Definitions (as well as FFI-stable ones) for the API
  • crates/loader - The loader in the form of an executable
  • crates/macros - Macros re-exported by the API crate, makes writing a plugin easier
  • crates/plugin - The plugin in the form of a library

Example Plugin

use plugin_api::Plugin;

#[plugin_api::plugin]
pub fn main() -> Plugin {
    Plugin {
        name: "Test Plugin".to_string(),
        version: "0.1.0".to_string(),
    }
}

About

Basic dynamic library loading using libloading and stabby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages