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
|
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
|
94415065c0
|
Fix Lua String soundness when borrowing &str or &[u8].
Make borrowing using new `BorrowedStr` and `BorrowedBytes` types that holds strong reference to Lua.
|
2024-07-31 13:42:38 +01:00 |
|
Alex Orlenko
|
b4892c228c
|
Add rustfmt.toml
|
2024-07-31 13:42:37 +01: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
|
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
|
2cb4b49d0d
|
Don't use unstable features in examples
|
2022-12-30 13:39:27 +00:00 |
|
Alex Orlenko
|
bf79d9e75d
|
Initial implementation of owned Lua types
|
2022-12-18 00:35:41 +00: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
|
6c0096d8ac
|
Update examples
|
2021-06-03 23:52:29 +01:00 |
|
Alex Orlenko
|
60c659ecff
|
Add async http server example
|
2020-05-15 01:48:57 +01:00 |
|