Expand description
§Plux Lua Manager
A high-performance Lua plugin manager for Plux, providing a safe and efficient way to load, manage, and interact with Lua plugins.
§Quick Start
...
use plux_lua_manager::prelude::*;
...
loader.context(move |mut ctx| {
ctx.register_manager(LuaManager::new()).unwrap();
});
...
For more examples, see the examples directory.
Structs§
- Config
- Plugin configuration loaded from a
config.toml
file. - LuaManager
- The main manager type for Lua plugins.
Enums§
- Config
Error - Errors that can occur when working with plugin configuration.
- Manager
Error - The top-level error type for the Lua manager.
- Plugin
Error - Errors that can occur during plugin operations.
Functions§
- load_
config - Loads and validates a plugin’s configuration.