File tree Expand file tree Collapse file tree 5 files changed +13
-7
lines changed Expand file tree Collapse file tree 5 files changed +13
-7
lines changed Original file line number Diff line number Diff line change
1
+ ## v0.5.0
2
+
3
+ - Serde support under ` serialize ` feature flag.
4
+ - Re-export ` mlua_derive ` .
5
+
1
6
## v0.4.2
2
7
3
8
- Added ` Function::dump() ` to dump lua function to a binary chunk
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " mlua"
3
- version = " 0.4.2 "
3
+ version = " 0.5.0 " # remember to update html_root_url and mlua_derive
4
4
authors = [" Aleksandr Orlenko <zxteam@pm.me>" , " kyren <catherine@chucklefish.org>" ]
5
5
edition = " 2018"
6
6
repository = " https://github.com/khvzak/mlua"
@@ -40,7 +40,7 @@ send = []
40
40
serialize = [" serde" , " erased-serde" ]
41
41
42
42
[dependencies ]
43
- mlua_derive = { version = " 0.4 " , optional = true , path = " mlua_derive" }
43
+ mlua_derive = { version = " 0.5 " , optional = true , path = " mlua_derive" }
44
44
bstr = { version = " 0.2" , features = [" std" ], default_features = false }
45
45
lazy_static = { version = " 1.4" }
46
46
num-traits = { version = " 0.2.14" }
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ Add to `Cargo.toml` :
70
70
71
71
``` toml
72
72
[dependencies ]
73
- mlua = { version = " 0.4 " , features = [" lua53" ] }
73
+ mlua = { version = " 0.5 " , features = [" lua53" ] }
74
74
```
75
75
76
76
` main.rs `
@@ -104,7 +104,7 @@ Add to `Cargo.toml` :
104
104
crate-type = [" cdylib" ]
105
105
106
106
[dependencies ]
107
- mlua = { version = " 0.4 " , features = [" lua53" , " module" ] }
107
+ mlua = { version = " 0.5 " , features = [" lua53" , " module" ] }
108
108
```
109
109
110
110
` lib.rs ` :
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " mlua_derive"
3
- version = " 0.4 .0"
3
+ version = " 0.5 .0"
4
4
authors = [" Aleksandr Orlenko <zxteam@pm.me>" ]
5
5
edition = " 2018"
6
6
description = " Procedural macros for the mlua crate."
Original file line number Diff line number Diff line change 69
69
//! [`serde::Serialize`]: https://docs.serde.rs/serde/ser/trait.Serialize.html
70
70
//! [`serde::Deserialize`]: https://docs.serde.rs/serde/de/trait.Deserialize.html
71
71
72
- #! [ cfg_attr ( docsrs , feature ( doc_cfg ) ) ]
73
-
72
+ // mlua types in rustdoc of other crates get linked to here.
73
+ #! [ doc ( html_root_url = "https://docs.rs/mlua/0.5.0" ) ]
74
74
// Deny warnings inside doc tests / examples. When this isn't present, rustdoc doesn't show *any*
75
75
// warnings at all.
76
76
#![ doc( test( attr( deny( warnings) ) ) ) ]
77
+ #![ cfg_attr( docsrs, feature( doc_cfg) ) ]
77
78
78
79
#[ macro_use]
79
80
mod macros;
You can’t perform that action at this time.
0 commit comments