From a4625f74f193f5fce4219c9a4eddaab939eb16b4 Mon Sep 17 00:00:00 2001 From: Alex Orlenko Date: Wed, 22 Nov 2023 10:03:46 +0000 Subject: [PATCH] Try upcoming mlua v0.9.2 --- Cargo.lock | 24 ++++++++++++++++-------- casper-server/Cargo.toml | 3 ++- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cc4361d..133a545 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1055,6 +1055,16 @@ version = "0.2.150" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "89d92a4743f9a61002fae18374ed11e7973f530cb3a3255fb354818118b2203c" +[[package]] +name = "libloading" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c571b676ddfc9a8c12f1f3d3085a7b163966a8fd8098a90640953ce5f6170161" +dependencies = [ + "cfg-if", + "windows-sys", +] + [[package]] name = "linked-hash-map" version = "0.5.6" @@ -1174,13 +1184,13 @@ dependencies = [ [[package]] name = "mlua" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c3a7a7ff4481ec91b951a733390211a8ace1caba57266ccb5f4d4966704e560" +version = "0.9.2" +source = "git+https://github.com/khvzak/mlua#2022de21564b04a1f13f248d2c77982e1fa1e691" dependencies = [ "bstr", "erased-serde", "futures-util", + "libloading", "mlua-sys", "mlua_derive", "num-traits", @@ -1192,9 +1202,8 @@ dependencies = [ [[package]] name = "mlua-sys" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ec8b54eddb76093069cce9eeffb4c7b3a1a0fe66962d7bd44c4867928149ca3" +version = "0.4.0" +source = "git+https://github.com/khvzak/mlua#2022de21564b04a1f13f248d2c77982e1fa1e691" dependencies = [ "cc", "cfg-if", @@ -1205,8 +1214,7 @@ dependencies = [ [[package]] name = "mlua_derive" version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f359220f24e6452dd82a3f50d7242d4aab822b5594798048e953d7a9e0314c6" +source = "git+https://github.com/khvzak/mlua#2022de21564b04a1f13f248d2c77982e1fa1e691" dependencies = [ "itertools", "once_cell", diff --git a/casper-server/Cargo.toml b/casper-server/Cargo.toml index 768c987..7a899b9 100644 --- a/casper-server/Cargo.toml +++ b/casper-server/Cargo.toml @@ -65,7 +65,8 @@ tokio-stream = { version = "0.1", features = ["time"] } [dependencies.mlua] features = ["luau-jit", "async", "serialize", "macros", "unstable"] -version = "0.9.1" +version = "0.9.2" +git = "https://github.com/khvzak/mlua" [dependencies.fred] features = ["enable-native-tls"]