summaryrefslogtreecommitdiff
path: root/src/prelude.rs
AgeCommit message (Collapse)Author
2024-06-24Refactor: WIPAlex Orlenko
2023-08-12Add `OwnedThread` type (unstable)Alex Orlenko
2023-07-11Rename `UserDataRegistrar` to `LuaUserDataRegistry`Alex Orlenko
2023-06-20Add a dedicated type for Luau vector.Alex Orlenko
Refactor existing implementation and add 4-dimensional vectors support.
2023-04-26Add OwnedStringAlex Orlenko
2023-03-17Add `ErrorContext` extension trait to attach additional context to `Error`Alex Orlenko
2023-03-02Update exports in libs and preludeAlex Orlenko
2023-02-25Add AnyUserDataExt to preludeAlex Orlenko
2023-02-12Add create_userdata_ref/create_userdata_ref_mut for scope (#206)Alex Orlenko
New methods would allow creating userdata objects from (mutable) reference to a UserData of registered type.
2022-12-19Rename ToLua/ToLuaMulti -> IntoLua/IntoLuaMultiAlex Orlenko
2022-05-24Add `Function::coverage` for Luau to obtain coverage reportAlex Orlenko
2022-04-18Add `Function::info()` to get information about functions.Alex Orlenko
Closes #149 and #7.
2022-03-30Make LuaHook as Fn instead of FnMut to remove Mutex and improve performanceAlex Orlenko
2022-03-30Support Luau interrupts (closes #138)Alex Orlenko
2021-11-14Include `StdLib` to preludeAlex Orlenko
2021-10-12Update documentation referencesAlex Orlenko
Using rustdoc links (see RFC https://github.com/rust-lang/rfcs/pull/1946)
2021-09-15Add `DeserializeOptions` struct to control deserializer behavior.Alex Orlenko
This solves #74 and provides a way to deserialize a Lua globals table.
2021-05-09Re-export UserDataFields/UserDataMetatableAlex Orlenko
2021-05-03Add `LuaOptions` to customize Lua/Rust behaviour.Alex Orlenko
The only option is `catch_rust_panics` to optionally disable catching Rust panics via pcall/xpcall.
2021-04-27Hide Deserializer inner fieldsAlex Orlenko
Improve documentation
2021-04-27Add SerializeOptions to to change default Lua serializer behaviourAlex Orlenko
2020-05-11Add Lua 5.4 (rc2) supportAlex Orlenko
2020-04-19Add TableExt trait with call_method/function methodsAlex Orlenko
2020-04-17v0.3.0-alpha.1 with async supportAlex Orlenko
Squashed commit of the async branch.
2019-09-29cargo fmtAlex Orlenko
2019-09-29Backport changes from rlua 0.16 (master branch)Alex Orlenko
2018-08-05format with up-to-date rustfmtkyren
2018-02-08export accidentally hidden `Scope` typekyren
2018-01-26ACTUALLY expose `RegistryKey` APIkyren
Also fixes a safety issue with RegistryKey, where you could use RegistryKeys with mismatching Lua instances.
2017-10-23auto-formattingkyren
2017-09-14More documentation workJonas Schievink
2017-07-24Do several more Lua prefix renames, add prelude modulekyren
Rename the following: LuaNil => Nil LuaExternalError => ExternalError LuaExternalResult => ExternalResult LuaCallback => Callback (internal only) Use qualified re-exports at the top of the module. Add a new public 'prelude' module which re-exports everything with a non-conflicting name (Adds back the Lua prefix), and is meant to be imported unqualified.