Commit Graph

  • 2aed548747 Fix scoped async destruction of partially polled futures Alex Orlenko 2021-02-21 23:34:35 +00:00
  • 6a77b5f003 Update benchmarks: - Refactor - Add async benchmarks Alex Orlenko 2021-02-21 15:38:50 +00:00
  • aeb66115f7 v0.5.1 v0.5.1 Alex Orlenko 2021-01-20 11:04:03 +00:00
  • ce873a40bf Update CHANGELOG Alex Orlenko 2021-01-20 11:00:06 +00:00
  • 8de75d1c18 Update tokio to 1.0 for async examples Alex Orlenko 2021-01-16 14:07:26 +00:00
  • b6ff501b8c Fix numeric types conversion for 32bit lua. Fix #27 Alex Orlenko 2021-01-20 10:44:32 +00:00
  • 0e73ae18f4 Update CI Alex Orlenko 2021-01-16 13:32:38 +00:00
  • e62fd400d7 Remove unused exports from glue.{c,rs} && Fix some clippy warnings Alex Orlenko 2021-01-15 01:15:36 +00:00
  • 1c79f646de Update README Alex Orlenko 2021-01-01 02:12:47 +00:00
  • 7f5fd36a2b Merge pull request #26 from wez/cross Alex Orlenko 2021-01-14 15:35:35 +00:00
  • faf19e4a06 Allow luajit to build in the pointer size cross compilation case Wez Furlong 2021-01-13 20:01:12 -08:00
  • 24d9099ef7 install more bits for cross compilation jobs Wez Furlong 2021-01-13 10:38:08 -08:00
  • 84003f31e7 Add CI for cross compilation cases Wez Furlong 2021-01-13 10:18:53 -08:00
  • e0d9ec41e2 Support cross compilation Wez Furlong 2021-01-13 09:55:53 -08:00
  • 618874ef3c v0.5.0 v0.5.0 Alex Orlenko 2020-12-29 22:53:20 +00:00
  • 9f82cbe0c5 Update documentation Alex Orlenko 2020-12-30 01:43:00 +00:00
  • 1a81f8d447 Update compile tests Alex Orlenko 2020-12-29 23:20:06 +00:00
  • bedd430eb5 Re-export mlua_derive Alex Orlenko 2020-12-29 22:08:53 +00:00
  • afc41ab23c Add serialization example & update others Alex Orlenko 2020-12-29 20:02:03 +00:00
  • c5d0ccc433 Add reqwest http client example to fetch json Alex Orlenko 2020-12-28 01:10:47 +00:00
  • ce8955f5b9 Don't try to disable c modules without package loaded. Fix #24 Alex Orlenko 2020-12-22 21:17:06 +00:00
  • 368c4428eb Wider lua-src and luajit-src versions Alex Orlenko 2020-12-13 01:31:58 +00:00
  • 6e2b687cb7 Serde support (serialize feature flag) Alex Orlenko 2020-12-12 20:37:17 +00:00
  • 661f8e592a Update num-traits dependency Fix f32-to-f64 conversion tests Alex Orlenko 2020-11-04 21:22:24 +00:00
  • c8a7aa947c Update compile tests (temporary set TRYBUILD=overwrite) Alex Orlenko 2020-10-27 23:03:23 +00:00
  • a52135b62d Update compile tests error messages Alex Orlenko 2020-09-28 23:24:53 +01:00
  • 68378a3957 Merge pull request #15 from kaikalii/master Alex Orlenko 2020-09-28 23:14:17 +01:00
  • c65058a40a impl ToLua and FromLua for HashSet and BTreeSet Kai Schmidt 2020-09-27 17:54:47 -07:00
  • 93d63cef35 v0.4.2 v0.4.2 Alex Orlenko 2020-08-17 12:17:08 +01:00
  • b743245aba Update CHANGELOG Alex Orlenko 2020-08-17 11:14:40 +01:00
  • a172c021c9 Update set_memory_limit doc Alex Orlenko 2020-07-30 12:16:25 +01:00
  • de2c5cd9a9 Fix compilation warnings on nightly rust Alex Orlenko 2020-07-28 21:05:46 +01:00
  • d201beadc9 Add ChunkMode enum to mark chunks as text or binary Alex Orlenko 2020-07-27 23:22:52 +01:00
  • dd58cdad52 Add Function::dump() to dump lua function to a binary chunk Alex Orlenko 2020-07-27 20:06:53 +01:00
  • 5c8a5e0a5a Merge pull request #9 from HybridEidolon/bytecode-chunks Alex Orlenko 2020-07-27 14:19:33 +01:00
  • e07c53eafe Update compile tests (2) Alex Orlenko 2020-07-27 13:51:21 +01:00
  • ad619390e1 Run compile tests on macos (was ubuntu-18.04) Alex Orlenko 2020-07-27 11:34:48 +01:00
  • 350602ab6e Update lua-src dependency to 5.4.0 Alex Orlenko 2020-07-27 10:52:28 +01:00
  • 4b1bc88273 Update compile tests Alex Orlenko 2020-07-27 10:49:01 +01:00
  • 883bf082b9 Make Lua::load load binary chunks when unsafe Eidolon 2020-07-24 02:49:37 -05:00
  • 4265250cfd 0.4.1 release Fix docs.rs build features Update Cargo.toml description v0.4.1 Alex Orlenko 2020-06-08 11:31:10 +01:00
  • 1d9fed2207 0.4.0 release v0.4.0 Alex Orlenko 2020-06-08 02:28:26 +01:00
  • a67cbafff1 Run LuaJIT 2.0.5 tests in 1 thread Seems there is a race in a LuaJIT 2.0 that makes the tests unstable. Works ok on LuaJIT 2.1 and all Lua. Alex Orlenko 2020-06-08 02:14:29 +01:00
  • 39bcb19ae7 Update dependencies Alex Orlenko 2020-06-08 00:22:53 +01:00
  • efcaef3db7 Enable hooks support for LuaJIT Alex Orlenko 2020-06-07 19:10:46 +01:00
  • 0a13a9631d Fix LuaJIT 2.1 libraries loading Alex Orlenko 2020-06-07 18:48:22 +01:00
  • 3d42bc4ca6 Refactor main_state handling Don't allow to set hook if main_state is not available Remove Lua 5.1 dirty hack Alex Orlenko 2020-06-07 15:16:12 +01:00
  • 2eb40deafd Add test to check loading module from lua coroutine (thread) Alex Orlenko 2020-06-06 15:49:24 +01:00
  • 2595fe9885 Update CHANGELOG Alex Orlenko 2020-06-06 14:09:36 +01:00
  • 4865089a78 Update README Alex Orlenko 2020-06-05 23:28:34 +01:00
  • a35b8dda68 Raise compile_error! instead of panic! in the build script Alex Orlenko 2020-06-05 23:27:56 +01:00
  • 95b9fe8dac Fix clippy warnings Alex Orlenko 2020-06-01 21:36:59 +01:00
  • 5952a1f709 New module feature Don't link module with Lua core (see: http://lua-users.org/wiki/BuildingModules) Example and tests for modules Alex Orlenko 2020-05-31 12:16:47 +01:00
  • 73c7c94d75 Remove default feature lua53 Alex Orlenko 2020-05-31 02:37:30 +01:00
  • d5c22d989a Dirty hack to get lua 5.1 main state Alex Orlenko 2020-05-27 01:15:59 +01:00
  • a9a4cf13f1 Add has_metamethod to AnyUserData Alex Orlenko 2020-05-24 02:23:05 +01:00
  • c3822219e0 Add hooks support (based on rlua v0.17 implementation) This feature works on lua54, lua53, lua52 and lua51 only. LuaJIT is unstable. Alex Orlenko 2020-05-22 00:35:03 +01:00
  • f6da437d8b Update docs Alex Orlenko 2020-05-16 23:38:04 +01:00
  • 2fd6757f39 Add LuaJIT 2.0.5 stable support Alex Orlenko 2020-05-16 15:13:38 +01:00
  • 56407fac0d Update CHANGELOG Alex Orlenko 2020-05-14 02:17:13 +01:00
  • d0fa03e9c8 Bump version to 0.4.0-beta.1 Alex Orlenko 2020-05-14 02:17:01 +01:00
  • cccec914ca Remove deprecated Table::call Alex Orlenko 2020-05-14 02:15:04 +01:00
  • 687ecc9247 Update documentation Alex Orlenko 2020-05-14 02:12:22 +01:00
  • 79bfb112aa Remove redundant lifetimes Alex Orlenko 2020-05-14 00:22:48 +01:00
  • 60c659ecff Add async http server example Alex Orlenko 2020-05-13 03:15:43 +01:00
  • 9f2d598517 Add clippy check and fix clippy warnings Alex Orlenko 2020-05-12 23:34:42 +01:00
  • 1492790ece Update compile tests to include async/send features Alex Orlenko 2020-05-12 02:50:58 +01:00
  • e88f086ed8 Update github workflow Alex Orlenko 2020-05-12 01:43:42 +01:00
  • 5a9a308790 Provide safe and unsafe Lua modes: - In safe mode Lua would not have ability to load C code via require or package.loadlib - Unsafe mode allows everything. Alex Orlenko 2020-05-10 16:56:19 +01:00
  • 1b2b94c808 Use Rust allocator for new Lua states that allows to set memory limit Alex Orlenko 2020-05-09 00:18:48 +01:00
  • 526e7418d8 Add MetaMethod::Close to support Lua 5.4 to-be-closed variables Alex Orlenko 2020-05-09 11:24:31 +01:00
  • 24d4f04c0d Add Lua 5.4 to github workflow Alex Orlenko 2020-05-08 12:53:15 +01:00
  • 539b569ff4 Add Lua 5.4 (rc2) support Alex Orlenko 2020-05-08 12:42:40 +01:00
  • 5c226b4915 Lua 5.4 FFI Alex Orlenko 2020-05-08 01:52:09 +01:00
  • d366ce0dd4 Scope support (including async) Alex Orlenko 2020-05-07 01:18:56 +01:00
  • 2bd5c2f6ca Hide Lua "Send" capability under the optional "send" feature flag Alex Orlenko 2020-05-06 13:18:04 +01:00
  • 7b0e4b4280 Add Send capability to Lua Alex Orlenko 2020-05-06 02:32:05 +01:00
  • 6e2bb73cff Bind Futures lifetimes to 'lua rather than 'static. Fix async examples. Alex Orlenko 2020-05-05 13:03:28 +01:00
  • 7efcee853d Don't allow 'callback outlive 'lua Alex Orlenko 2020-05-04 11:56:42 +01:00
  • e9c2b8d306 0.3.2 release v0.3.2 Alex Orlenko 2020-04-29 16:32:16 +01:00
  • d672e19365 Add ToLua implementation for slices and arrays Alex Orlenko 2020-04-29 16:12:58 +01:00
  • bda399a5b4 Get yield function in the moment of async callback creation. This is usefull to temporary override coroutine.yield prior to create_async_callback() and then restore to original value. Alex Orlenko 2020-04-28 13:30:24 +01:00
  • fe5e87b0f5 Fix bugs with metatable cache: - Don't use thread_local as Lua can be created in one thread and executed in another (in module mode); - Make per state storage without luaL_ref; Alex Orlenko 2020-04-23 21:29:12 +01:00
  • 0f32e9cb43 0.3.1 release v0.3.1 Alex Orlenko 2020-04-20 01:55:57 +01:00
  • 0efa0fcb6a Update documentation Alex Orlenko 2020-04-20 01:52:01 +01:00
  • 4e19ae6ccf Update tests (async and table) Alex Orlenko 2020-04-20 01:14:34 +01:00
  • c826798a6d Minor refactor Alex Orlenko 2020-04-19 16:51:35 +01:00
  • ee08050c1f Add TableExt trait with call_method/function methods Alex Orlenko 2020-04-19 16:04:26 +01:00
  • d8897d867b Update examples Alex Orlenko 2020-04-19 01:23:42 +01:00
  • 222f4df668 Add family of call_async function Update documentation Move async tests to a separate file Alex Orlenko 2020-04-18 21:26:12 +01:00
  • afaa0eb639 0.3.0 release v0.3.0 Alex Orlenko 2020-04-17 23:52:12 +01:00
  • db5ad6bc60 Include async build/test to github workflow Alex Orlenko 2020-04-17 23:31:52 +01:00
  • ef06c5eec9 Update Cargo.toml Alex Orlenko 2020-04-17 23:27:41 +01:00
  • f7dc9da107 Update README Cargo fmt and minor changes Alex Orlenko 2020-04-17 22:43:50 +01:00
  • 47e8a80c1c v0.3.0-alpha.1 with async support Alex Orlenko 2020-04-17 22:38:01 +01:00
  • 1a788c48f1 Cherry-pick changes from rlua: - Make Value::type_name() public - Update CallbackError and ExternalError Display impl Alex Orlenko 2020-04-15 21:16:57 +01:00
  • d8b9c46d28 0.2.2 release v0.2.2 Alex Orlenko 2020-02-09 22:21:34 +00:00
  • 9bd6d6fa92 Fix compile fail tests Alex Orlenko 2020-02-09 22:09:42 +00:00
  • ea6e6e00b2 Update README.md Alex Orlenko 2020-02-09 21:48:50 +00:00
  • 03ed7f6f99 Fix compile test Alex Orlenko 2020-01-27 21:56:13 +00:00