plugin!() { /* proc-macro */ }Expand description
Register a struct that implements the Plugin trait as a Weechat plugin.
This configures the Weechat init and end method as well as additonal plugin metadata.
ยงExample
plugin!(
SamplePlugin,
name: "rust_sample",
author: "poljar",
description: "",
version: "0.1.0",
license: "MIT"
);