v0.8.0-beta.4

This commit is contained in:
Alex Orlenko 2022-04-25 23:18:27 +01:00
parent 294b3b7aae
commit 32a3f478bd
No known key found for this signature in database
GPG key ID: 4C150C250863B96D
4 changed files with 18 additions and 4 deletions

View file

@ -1,3 +1,17 @@
## v0.8.0-beta.4
- Removed `&Lua` from `Lua::set_interrupt` as it's not safe (introduced in v0.8.0-beta.3)
- Enabled `Lua::gc_inc` for Luau
- Luau `debug` module marked as safe (enabled by default)
- Implemented `Hash` for Lua String
- Support mode options in `collectgarbage` for Luau
- Added ability to set global Luau compiler (used for loading all chunks).
- Refactored `AsChunk` trait (breaking changes).
`AsChunk` now implemented for `Path` and `PathBuf` to load lua files from fs.
- Added `parking_lot` dependency and feature flag (for `UserData`)
- Added `Function::info()` to get information about functions (#149).
- Bugfixes and improvements (#104 #142)
## v0.8.0-beta.3
- Luau vector constructor

View file

@ -1,6 +1,6 @@
[package]
name = "mlua"
version = "0.8.0-beta.3" # remember to update html_root_url and mlua_derive
version = "0.8.0-beta.4" # remember to update html_root_url and mlua_derive
authors = ["Aleksandr Orlenko <zxteam@pm.me>", "kyren <catherine@chucklefish.org>"]
edition = "2018"
repository = "https://github.com/khvzak/mlua"

View file

@ -106,7 +106,7 @@ Add to `Cargo.toml` :
``` toml
[dependencies]
mlua = { version = "0.8.0-beta.3", features = ["lua54", "vendored"] }
mlua = { version = "0.8.0-beta.4", features = ["lua54", "vendored"] }
```
`main.rs`
@ -141,7 +141,7 @@ Add to `Cargo.toml` :
crate-type = ["cdylib"]
[dependencies]
mlua = { version = "0.8.0-beta.3", features = ["lua54", "vendored", "module"] }
mlua = { version = "0.8.0-beta.4", features = ["lua54", "vendored", "module"] }
```
`lib.rs` :

View file

@ -72,7 +72,7 @@
//! [`serde::Deserialize`]: https://docs.serde.rs/serde/de/trait.Deserialize.html
// mlua types in rustdoc of other crates get linked to here.
#![doc(html_root_url = "https://docs.rs/mlua/0.8.0-beta.3")]
#![doc(html_root_url = "https://docs.rs/mlua/0.8.0-beta.4")]
// Deny warnings inside doc tests / examples. When this isn't present, rustdoc doesn't show *any*
// warnings at all.
#![doc(test(attr(deny(warnings))))]