Skip to main content

Crate nitro_plugin

Crate nitro_plugin 

Source
Expand description

This library is used by both Nitrolaunch to load plugins, and as a framework for defining Rust plugins for Nitrolaunch to use

Re-exports§

pub use nitro_shared as shared;

Modules§

api
API for Rust-based plugins to use
hook
Plugin hooks and calling them
host
System for hosting / running plugins
input_output
Serialized output format for plugins
plugin
Plugins
try_read
Tokio helpers for AsyncRead

Macros§

nitro_wasm_plugin
Generates the exported functions for the entrypoint to your plugin

Structs§

PluginPaths
Paths for the plugin crate
PtrAndLength
A pointer and length, usually a string or byte buffer, used for WASM code

Statics§

PLUGIN_DEBUG_ENV
Environment variable that debugs plugins when set

Functions§

plugin_debug_enabled
Gets whether plugin debugging is enabled