singlestage_macro 0.1.0

Contains macros for the singlestage crate
Documentation
1
2
3
4
5
6
7
8
9
10
use proc_macro::TokenStream;

mod icon;

/// The icon macro for working with icondata icons.
/// It accepts optional named arguments and generates a view containing a SVG element.
#[proc_macro]
pub fn icon(input: TokenStream) -> TokenStream {
    icon::icon(input)
}