Alex Orlenko
a4ff68a120
v0.10.4
2025-05-06 15:47:09 +01:00
Alex Orlenko
5454cfa5ed
mlua-sys: v0.7.0
2025-05-06 15:46:35 +01:00
Alex Orlenko
560a30ca02
Support new Luau require system
...
This commit introduces the `Require` trait that be used to change `require` behaviour.
By default mlua implements behaviour same as `ReplRequirer` in the original Luau.
Unfortunately binary Luau modules are no longer supported by the new system.
2025-04-25 14:19:41 +01:00
Alex Orlenko
4e5677ae54
Update references to mlua repo
2025-04-06 15:37:38 +01:00
Alex Orlenko
bd13300288
Update dependencies
2025-04-05 18:30:22 +01:00
Alex Orlenko
69011a89d2
Revert "Add initial pluto support"
...
This reverts commit 0ed11e4134 .
2025-03-14 22:59:06 +00:00
Alex Orlenko
0ed11e4134
Add initial pluto support
...
Pluto is a superset of Lua 5.4 with a focus on general-purpose programming.
`pluto` feature also enables `lua54` feature since they are compatible and share the same API.
2025-03-14 11:38:07 +00:00
Alex Orlenko
5ab97666d7
Fix clippy warnings
2025-03-07 22:34:50 +00:00
Alex Orlenko
e706ae4fcb
Remove Roblox from references to Luau
...
Closes #537
2025-02-24 19:03:36 +00:00
Alex Orlenko
a01b032c35
Add bstr/serde dependency if serialize feature flag is enabled
2025-02-11 13:39:21 +00:00
Alex Orlenko
9caf3542d9
v0.10.3
2025-01-27 21:33:51 +00:00
Alex Orlenko
6f6cda0099
v0.10.2
2024-12-01 13:04:06 +00:00
Alex Orlenko
d51ce86142
mlua-sys: v0.6.6
2024-12-01 12:56:39 +00:00
Alex Orlenko
aa061bce6f
mlua_derive: v0.10.1
2024-12-01 12:55:50 +00:00
Alex Orlenko
c926327a6a
v0.10.1
2024-11-09 20:06:04 +00:00
Alex Orlenko
7c099500d0
mlua-sys: v0.6.5
2024-11-09 14:30:33 +00:00
Alex Orlenko
c2eab173c5
Add userdata-wrappers feature
...
This feature allow to opt into `impl UserData` for `Rc<T>`/`Arc<T>`/`Rc<RefCell<T>>`/`Arc<Mutex<T>>` where `T: UserData`
Close #470
2024-11-03 11:48:47 +00:00
Alex Orlenko
4f56575e05
v0.10.0
2024-10-25 13:36:55 +02:00
Alex Orlenko
8d8d521721
Add error-send feature flag
2024-10-23 10:40:25 +01:00
Alex Orlenko
d64d9719c6
Replace Either enum with implementation from either crate
2024-10-20 12:06:08 +01:00
Alex Orlenko
3787ff9e8c
Optimize metatable pointer lookup for userdata (Luau)
2024-10-12 21:38:07 +01:00
Alex Orlenko
0453029765
v0.10.0-rc.1
2024-10-08 23:00:04 +01:00
Alex Orlenko
4bc846a119
Add optional anyhow dependency (under the same feature flag) to implement IntoLua for anyhow::Error
2024-10-05 23:16:36 +01:00
Alex Orlenko
7c2e9b5a7c
v0.10.0-beta.2
2024-09-07 23:47:21 +01:00
Alex Orlenko
5db545e7b4
mlua_derive: v0.10.0-beta.1
2024-09-07 23:46:13 +01:00
Alex Orlenko
7543b0674e
mlua-sys: v0.6.3
2024-09-07 23:23:47 +01:00
Alex Orlenko
ece66c46bf
Remove unstable feature flag
2024-08-26 23:51:58 +01:00
Alex Orlenko
9931709ecd
Remove explicit lifetime from UserDataMethods and UserDataFields traits.
...
Pass `'static` arguments to async functions and require `'static` Future.
(in future we can use async closures to make it more elegant).
2024-08-23 00:10:29 +01:00
Alex Orlenko
aa47324ee9
Use pool for MultiValue container
2024-08-05 22:07:19 +01:00
Alex Orlenko
5acf9d758d
Update CHANGELOG for v0.10.0-beta.1
2024-07-31 13:42:39 +01:00
Alex Orlenko
833790967b
Update async examples (use send feature)
2024-07-31 13:42:39 +01:00
Alex Orlenko
d5173380e3
Split util module
...
Refactor internal userdata types to switch to the new `TypeKey` trait
2024-07-31 13:42:38 +01:00
Alex Orlenko
313117095c
Remove parking_lot feature flag
2024-07-31 13:42:35 +01:00
Alex Orlenko
7221051683
Refactor:
...
- Remove the rest of `'lua` lifetimes
- Remove Owned types
2024-07-31 13:42:35 +01:00
Alex Orlenko
fe21ef43ba
Replace AtomicPtr with Cell
2024-07-31 13:42:34 +01:00
Alex Orlenko
f1ceaf0ff1
v0.9.9
2024-06-18 16:09:08 +01:00
Alex Orlenko
884a025b52
Fix some clippy warnings
2024-06-18 16:09:08 +01:00
Alex Orlenko
4f1d2abbcb
Bump rustc-hash to 2.0
2024-06-18 11:18:55 +01:00
Alex Orlenko
b46cad1db1
Support Luau v0.629
2024-06-09 00:37:58 +01:00
Alex Orlenko
f2d48ce296
v0.9.8
2024-05-15 23:17:30 +01:00
Alex Orlenko
0fa39d431d
mlua_derive: v0.9.3
2024-05-15 23:14:23 +01:00
Alex Orlenko
8f3de8aa19
mlua-sys: v0.6.0
2024-05-04 21:22:17 +01:00
Alex Orlenko
45fd2fa40a
mlua-sys: v0.5.2
2024-04-05 14:04:15 +01:00
Alex Orlenko
806bd202d6
v0.9.7
2024-04-05 12:46:12 +01:00
Alex Orlenko
508517c45e
Do not use dependencies as implicit features.
...
Add `dep:` prefix instead.
2024-03-23 19:47:42 +00:00
Alex Orlenko
39afe4c6f7
Add SerializeOptions::detect_serde_json_arbitrary_precision to detect serde_json::Number with arbitrary_precision and convert it to Lua number.
...
By default the option is disabled and such numbers represented as Lua objects with `$serde_json::private::Number` key.
Fixes #385
2024-03-23 11:27:46 +00:00
Alex Orlenko
038cc5f974
Bump rustyline to 14.0
2024-03-22 00:40:21 +00:00
Alex Orlenko
59b14000f3
Update hyper examples
2024-03-22 00:35:37 +00:00
19年梦醒
849206ef9d
update hyper to v1, and add shell command example ( #384 )
...
Co-authored-by: Alex Orlenko <zxteam@protonmail.com >
2024-03-21 23:06:00 +00:00
Alex Orlenko
80fff4f2e7
Update reqwest to 0.12
2024-03-21 22:29:34 +00:00