Skip to main content

PLUGIN_API_VERSION

Constant PLUGIN_API_VERSION 

Source
pub const PLUGIN_API_VERSION: u32 = 1;
Expand description

Current Plugin API version. Increment when the Plugin trait changes in a way that requires plugin authors to update their code (new required methods, changed signatures, removed defaults).

Plugins returning an api_version() higher than this are rejected at registration.