This commit is contained in:
Alex Orlenko 2020-12-29 22:53:20 +00:00
parent 9f82cbe0c5
commit 618874ef3c
5 changed files with 13 additions and 7 deletions

View file

@ -1,3 +1,8 @@
## v0.5.0
- Serde support under `serialize` feature flag.
- Re-export `mlua_derive`.
## v0.4.2
- Added `Function::dump()` to dump lua function to a binary chunk

View file

@ -1,6 +1,6 @@
[package]
name = "mlua"
version = "0.4.2"
version = "0.5.0" # 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"
@ -40,7 +40,7 @@ send = []
serialize = ["serde", "erased-serde"]
[dependencies]
mlua_derive = { version = "0.4", optional = true, path = "mlua_derive" }
mlua_derive = { version = "0.5", optional = true, path = "mlua_derive" }
bstr = { version = "0.2", features = ["std"], default_features = false }
lazy_static = { version = "1.4" }
num-traits = { version = "0.2.14" }

View file

@ -70,7 +70,7 @@ Add to `Cargo.toml` :
``` toml
[dependencies]
mlua = { version = "0.4", features = ["lua53"] }
mlua = { version = "0.5", features = ["lua53"] }
```
`main.rs`
@ -104,7 +104,7 @@ Add to `Cargo.toml` :
crate-type = ["cdylib"]
[dependencies]
mlua = { version = "0.4", features = ["lua53", "module"] }
mlua = { version = "0.5", features = ["lua53", "module"] }
```
`lib.rs` :

View file

@ -1,6 +1,6 @@
[package]
name = "mlua_derive"
version = "0.4.0"
version = "0.5.0"
authors = ["Aleksandr Orlenko <zxteam@pm.me>"]
edition = "2018"
description = "Procedural macros for the mlua crate."

View file

@ -69,11 +69,12 @@
//! [`serde::Serialize`]: https://docs.serde.rs/serde/ser/trait.Serialize.html
//! [`serde::Deserialize`]: https://docs.serde.rs/serde/de/trait.Deserialize.html
#![cfg_attr(docsrs, feature(doc_cfg))]
// mlua types in rustdoc of other crates get linked to here.
#![doc(html_root_url = "https://docs.rs/mlua/0.5.0")]
// Deny warnings inside doc tests / examples. When this isn't present, rustdoc doesn't show *any*
// warnings at all.
#![doc(test(attr(deny(warnings))))]
#![cfg_attr(docsrs, feature(doc_cfg))]
#[macro_use]
mod macros;