v0.2.4
Adds #[use_attr]
and #[use_proc]
attributes that allow easy importing and re-exporting of attributes and proc macros created by #[import_tokens_proc]
and #[import_tokens_attr]
, since these both create hidden helper macros that need to be brought into scope.
Can be used by simply applying #[use_proc]
or #[use_attr]
to a simple use statement, such as:
#[use_proc]
pub use some_crate::my_proc_macro;
or:
#[use_attr]
use some_crate::my_attribute;
More complex paths are not allowed, and tree-mode paths are not supported (paths using curly braces to bring in multiple items).