2 releases
0.1.1 | Mar 9, 2022 |
---|---|
0.1.0 | Mar 9, 2022 |
#255 in FFI
3KB
lua-macro
Have you ever wanted to embed Lua code straight into Rust?
No?
Well, you can now lol
How to use
Import lua_macro::lua
and use lua! { your code }
to insert some Lua.
To evaluate an expression, use lua_macro::lua_eval!
.
Dependencies
~1.4–1.8MB
~31K SLoC