AUDIO
Source snapshot · 11 November 2026

API reference / ravet_plugin::export_plugin

Macro export_plugin 

macro_rules! export_plugin {
    ($plugin:ty) => { ... };
}
Expand description

Export a PluginExport as a plug-in from this library crate.

Call it once, at the crate root of a cdylib, with the export type in scope. With feature clap it exports the CLAP entry (clap_entry); with feature native it exports ravet_plugin_v1, the generic C table (native, include/RavetPlugin.h) that the VST3, AUv2, AAX and LV2 adapters load. The calling crate must not forbid(unsafe_code): the entry points are foreign functions. deny is fine.

ravet_plugin::export_plugin!(MyPlugin);