Alex Orlenko
|
ee7ced6334
|
Add Chunk::wrap method
|
2024-11-22 14:40:52 +00:00 |
|
Alex Orlenko
|
735aa22be9
|
Fix typo in chunk tests
|
2024-10-16 23:57:07 +01:00 |
|
Alex Orlenko
|
5479546b27
|
Update chunk tests
|
2024-10-16 21:54:22 +01:00 |
|
Alex Orlenko
|
91fe02da45
|
Add LuaNativeFn/LuaNativeFnMut/LuaNativeAsyncFn traits for using in Function::wrap
|
2024-09-24 14:35:03 +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
|
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
|
3a096ae64a
|
Fix warning when compiling chunk tests
|
2023-07-28 21:45:13 +01:00 |
|
Alex Orlenko
|
8b71f94141
|
Fix AsChunk trait to support capturing wrapped Lua types (AnyUserData::wrap() and Function::wrap()).
This is a breaking change, the `'lua` lifetime used to in environment moved to the trait declaration.
|
2023-07-27 13:56:48 +01:00 |
|
Alex Orlenko
|
6a647f58be
|
Add Error::downcast_ref() method
|
2023-03-19 00:22:51 +00:00 |
|
Alex Orlenko
|
56abc4a700
|
Refactor AsChunk trait
|
2022-12-19 21:12:36 +00:00 |
|
Alex Orlenko
|
d3975bdf30
|
Refactor AsChunk trait.
Remove blanket implementation for T: AsRef<[u8]>
Implement for `std::path::Path`
|
2022-04-14 20:48:00 +01:00 |
|