| Crates.io | lua-macro |
| lib.rs | lua-macro |
| version | 0.1.1 |
| created_at | 2022-03-09 18:16:26.27424+00 |
| updated_at | 2022-03-09 18:18:17.79371+00 |
| description | Embed Lua code directly into your Rust, for some reason |
| homepage | |
| repository | https://github.com/ry00001/inline-lua |
| max_upload_size | |
| id | 547082 |
| size | 2,312 |
Have you ever wanted to embed Lua code straight into Rust?
No?
Well, you can now lol
Import lua_macro::lua and use lua! { your code } to insert some Lua.
To evaluate an expression, use lua_macro::lua_eval!.