Skip to content

Add a #[kwarg(with_syn)] attribute

Choose a tag to compare

@Techcable Techcable released this 03 Oct 09:39
55420e6

Added

  • Support a #[kwarg(with_syn)] shorthand to parse via syn::Parse instead of MacroArg (smwonvvz)
    • More concise than using the proc_macro_kwargs::parse::Syn wrapper type (which doesn't even support #[kwarg(with_wrapper)])
    • Also available through the #[kwarg(syn)] shorthand