Crate plux_lua_manager

Crate plux_lua_manager 

Source
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§

ConfigError
Errors that can occur when working with plugin configuration.
ManagerError
The top-level error type for the Lua manager.
PluginError
Errors that can occur during plugin operations.

Functions§

load_config
Loads and validates a plugin’s configuration.