Alex Orlenko
|
d9c139b55f
|
Rust 2024
|
2026-01-29 10:33:28 +00: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
|
c58f67b140
|
Add MaybeSend requirement to Lua futures
|
2024-08-10 17:55:39 +01:00 |
|
Alex Orlenko
|
3641c98959
|
Prepare for Rust 2024 edition (see rust-lang/rust#123748)
Replace `IntoLua(Multi)` generic with positional arg (impl trait) where possible
This allow to shorten syntax from `a.get::<_, T>` to `a.get::<T>`
|
2024-07-31 23:42:43 +01:00 |
|
Alex Orlenko
|
833790967b
|
Update async examples (use send feature)
|
2024-07-31 13:42:39 +01:00 |
|
Alex Orlenko
|
b4892c228c
|
Add rustfmt.toml
|
2024-07-31 13:42:37 +01:00 |
|
Alex Orlenko
|
9ed0d90746
|
Run tests for wasm32-unknown-emscripten
|
2024-01-06 12:12:56 +00:00 |
|
ByteDream
|
0b9a85e183
|
Add lua emscripten support (#338)
|
2023-12-14 14:54:57 +00:00 |
|
Alex Orlenko
|
9fdba541e9
|
Update UserDataMethods::add_async_method() functions to take &T as second argument instead of cloning T.
New functions: `UserDataMethods::add_async_method_mut()`, `UserDataMethods::add_async_meta_method_mut()`.
|
2023-06-15 00:34:41 +01:00 |
|
Alex Orlenko
|
25a4879cde
|
Update examples: async_http_client/async_http_server/async_tcp_server
Make them following best practices and remove `unsafe` code.
|
2021-10-12 11:55:25 +01:00 |
|
Alex Orlenko
|
a208156ed2
|
Update examples to include chunk! macro
|
2021-06-19 14:41:48 +01:00 |
|
Alex Orlenko
|
6c0096d8ac
|
Update examples
|
2021-06-03 23:52:29 +01:00 |
|
Alex Orlenko
|
8de75d1c18
|
Update tokio to 1.0 for async examples
|
2021-01-20 10:47:27 +00:00 |
|
Alex Orlenko
|
afc41ab23c
|
Add serialization example & update others
|
2020-12-29 21:39:34 +00:00 |
|
Alex Orlenko
|
c5d0ccc433
|
Add reqwest http client example to fetch json
|
2020-12-28 15:21:45 +00:00 |
|
Alex Orlenko
|
7b0e4b4280
|
Add Send capability to Lua
|
2020-05-11 02:43:34 +01:00 |
|
Alex Orlenko
|
6e2bb73cff
|
Bind Futures lifetimes to 'lua rather than 'static.
Fix async examples.
|
2020-05-11 02:43:34 +01:00 |
|
Alex Orlenko
|
d8897d867b
|
Update examples
|
2020-04-19 01:23:42 +01:00 |
|
Alex Orlenko
|
47e8a80c1c
|
v0.3.0-alpha.1 with async support
Squashed commit of the async branch.
|
2020-04-17 22:39:50 +01:00 |
|