Alex Orlenko
|
d3975bdf30
|
Refactor `AsChunk` trait.
Remove blanket implementation for T: AsRef<[u8]>
Implement for `std::path::Path`
|
2022-04-14 20:48:00 +01:00 |
Alex Orlenko
|
cfb5d3fd45
|
Fix clippy warnings
|
2021-12-28 12:23:06 +00:00 |
Alex Orlenko
|
f24fdfdb80
|
Update `AsChunk::env` function prototype
|
2021-06-21 23:19:33 +01:00 |
Alex Orlenko
|
08ffeb0ca9
|
Improve module mode:
- Don't hide module function inside `luaopen_%` function.
- Raise Lua exception instead of panic if module function returns error.
|
2021-06-13 22:38:51 +01:00 |
Alex Orlenko
|
20cba5de5b
|
Fix clippy warnings
|
2021-05-06 00:36:47 +01:00 |
Alex Orlenko
|
3e03f4201c
|
Add chunk! macro support
|
2021-05-05 22:13:51 +01:00 |
Alex Orlenko
|
5952a1f709
|
New `module` feature
Don't link module with Lua core (see: http://lua-users.org/wiki/BuildingModules)
Example and tests for modules
|
2020-06-07 20:38:11 +01:00 |
Alex Orlenko
|
224ed8ff52
|
Add mlua_derive proc macro module
|
2019-10-02 22:12:27 +01:00 |