#table #mlua #struct #proc-macro #convert #applications #lua

macro bin mlua_proc_macro

This crate is used to convert structs into lua tables with mlua

13 releases

0.1.12 Jul 15, 2024
0.1.11 Jul 15, 2024

#421 in Procedural macros

MIT license

8KB
118 lines

This crate was designed to be used in Matthias (A chat application), but it can be used basicly anywhere. With this procedural macro you can generate an mlua table from a struct which its applied to.

Dependencies

~2.1–5MB
~91K SLoC