add luau-jit

cargo add mlua --features luau-jit
This commit is contained in:
unittensor 2024-01-19 14:37:45 -05:00
parent 53545ab5a2
commit 6e703075e9
2 changed files with 47 additions and 0 deletions

46
Cargo.lock generated
View File

@ -231,6 +231,16 @@ dependencies = [
"objc2", "objc2",
] ]
[[package]]
name = "bstr"
version = "1.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c48f0051a4b4c5e0b6d365cd04af53aeaa209e3cc15ec2cdb69e73cc87fbd0dc"
dependencies = [
"memchr",
"serde",
]
[[package]] [[package]]
name = "bumpalo" name = "bumpalo"
version = "3.14.0" version = "3.14.0"
@ -923,6 +933,15 @@ version = "0.4.20"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f"
[[package]]
name = "luau0-src"
version = "0.7.11+luau606"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "07ffc4945ee953a33cb2b331e00b19e11275fc105c8ac8a977c810597d790f08"
dependencies = [
"cc",
]
[[package]] [[package]]
name = "lz4" name = "lz4"
version = "1.24.0" version = "1.24.0"
@ -1010,6 +1029,32 @@ dependencies = [
"paste", "paste",
] ]
[[package]]
name = "mlua"
version = "0.9.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "069264935e816c85884b99e88c8b408d6d92e40ae8760f726c983526a53546b5"
dependencies = [
"bstr",
"libloading 0.8.1",
"mlua-sys",
"num-traits",
"once_cell",
"rustc-hash",
]
[[package]]
name = "mlua-sys"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4655631a02e3739d014951291ecfa08db49c4da3f7f8c6f3931ed236af5dd78e"
dependencies = [
"cc",
"cfg-if",
"luau0-src",
"pkg-config",
]
[[package]] [[package]]
name = "naga" name = "naga"
version = "0.19.0" version = "0.19.0"
@ -1662,6 +1707,7 @@ dependencies = [
"ddsfile", "ddsfile",
"glam", "glam",
"lazy-regex", "lazy-regex",
"mlua",
"obj", "obj",
"parking_lot", "parking_lot",
"pollster", "pollster",

View File

@ -11,6 +11,7 @@ configparser = "3.0.2"
ddsfile = "0.5.1" ddsfile = "0.5.1"
glam = "0.24.1" glam = "0.24.1"
lazy-regex = "3.0.2" lazy-regex = "3.0.2"
mlua = { version = "0.9.4", features = ["luau-jit"] }
obj = "0.10.2" obj = "0.10.2"
parking_lot = "0.12.1" parking_lot = "0.12.1"
pollster = "0.3.0" pollster = "0.3.0"