macro_rules! mf_meta {
(
version = $version:expr
$(, description = $desc:expr)?
$(, author = $author:expr)?
$(, dependencies = [$($dep:expr),* $(,)?])?
$(, conflicts = [$($conflict:expr),* $(,)?])?
$(, state_fields = [$($field:expr),* $(,)?])?
$(, tags = [$($tag:expr),* $(,)?])?
) => { ... };
}Expand description
创建插件元数据的宏,不需要名称参数(名称将由mf_plugin!宏自动提供)