v0.10.0-rc.1
Pre-release
Pre-release
What's Changed
Lua::scope
is back- Support yielding from hooks for Lua 5.3+
- Support setting metatable for Lua builtin types (number/string/function/etc)
- Added
LuaNativeFn
/LuaNativeFnMut
/LuaNativeAsyncFn
traits for using inFunction::wrap
- Added
Error::chain
method to return iterator over nested errors - Added
Lua::exec_raw
helper to execute low-level Lua C API code - Added
Either<L, R>
enum to combine two types into a single one - Added a new
Buffer
type for Luau - Added
Value::is_error
andValue::as_error
helpers - Added
Value::Other
variant to represent unknown Lua types (eg LuaJIT CDATA) - Added (optional)
anyhow
feature to implementIntoLua
foranyhow::Error
- Added IntoLua/FromLua for OsString/OsStr and PathBuf/Path by @psentee in #459