macro_pub 0.1.0

polyfill proc-macro for visibility scoped macros
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#![cfg_attr(has_simple_decl_macro, cfg_attr(doc, feature(decl_macro, rustc_attrs)))]

#[macro_use]
extern crate macro_pub;

/// I'm a macro with documentation!
#[macro_pub]
macro_rules! m {
    () => {};
}

pub fn main() {}