ngyn_macros 0.0.1

Modular backend framework for web applications
Documentation
1
2
3
4
5
use syn::Ident;

pub fn str_to_ident(string: String) -> Ident {
    Ident::new(&string, proc_macro::Span::call_site().into())
}