Skip to main content

register_interface

Macro register_interface 

Source
macro_rules! register_interface {
    ($name:expr, $version:expr) => { ... };
}
Expand description

Submit a RegisteredInterface to the link-time registry. Thin wrapper around inventory::submit! so the #[plugin_interface] proc-macro can emit registrations through confium_api without forcing every plugin crate to depend on inventory directly.