mbed-js 0.1.7

Embed and transform assets into your Rust crate.
Documentation
1
2
3
4
5
6
7
8
9
#[cfg(feature = "bundle")]
mod bundle;

#[proc_macro]
#[inline]
#[cfg(feature = "bundle")]
pub fn bundle(item: proc_macro::TokenStream) -> proc_macro::TokenStream {
    crate::bundle::proc_macro(item)
}