diff --git a/Cargo.toml b/Cargo.toml index 4b5d4cf..016bad5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mlua" -version = "0.4.0" +version = "0.4.1" authors = ["Aleksandr Orlenko ", "kyren "] edition = "2018" repository = "https://github.com/khvzak/mlua" @@ -12,7 +12,7 @@ license = "MIT" links = "lua" build = "build/main.rs" description = """ -High level bindings to Lua 5.1/5.2/5.3/5.4 (including LuaJIT) +High level bindings to Lua 5.4/5.3/5.2/5.1 (including LuaJIT) with async/await features and support of writing native lua modules in Rust. """ @@ -21,7 +21,7 @@ with async/await features and support of writing native lua modules in Rust. maintenance = { status = "actively-developed" } [package.metadata.docs.rs] -features = ["async"] +features = ["async", "send", "lua53"] [workspace] members = [ diff --git a/src/lua.rs b/src/lua.rs index 449a499..afd59cd 100644 --- a/src/lua.rs +++ b/src/lua.rs @@ -903,7 +903,7 @@ impl Lua { /// ``` /// /// [`Thread`]: struct.Thread.html - /// [`ThreadStream`]: struct.ThreadStream.html + /// [`AsyncThread`]: struct.AsyncThread.html #[cfg(feature = "async")] pub fn create_async_function<'lua, 'callback, A, R, F, FR>( &'lua self,