1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-26 23:04:49 +03:00

Upgrade mlua to 0.4, lua to 5.4

This commit is contained in:
Wez Furlong 2020-10-06 18:34:29 -07:00
parent 2d521e8f25
commit 4acf1e3935
4 changed files with 11 additions and 7 deletions

12
Cargo.lock generated
View File

@ -1793,9 +1793,9 @@ dependencies = [
[[package]]
name = "lua-src"
version = "535.0.4+540rc4"
version = "540.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e459bf5b67b0473e319e5ba54c4bb4d72c3cf40095bdd8e1efa9e356cfa7d617"
checksum = "e3abacd03794cff973408c83f918215649d4b4612eb25049a305c2fd74e0f69f"
dependencies = [
"cc",
]
@ -1997,12 +1997,16 @@ dependencies = [
[[package]]
name = "mlua"
version = "0.2.2"
version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "869c35a04c6b414eee44268afb7c75a4904ffeb31cf3b27a5c7bc10d1fe62cca"
checksum = "f778acf55b288d9e0b81e7189988766499f4ec7f774b0965e30140295221e01d"
dependencies = [
"bstr 0.2.13",
"cc",
"futures-core",
"futures-task",
"futures-util",
"lazy_static",
"lua-src",
"luajit-src",
"num-traits 0.2.12",

View File

@ -27,7 +27,7 @@ serde = {version="1.0", features = ["rc", "derive"]}
termwiz = { path = "../termwiz" }
toml = "0.5"
wezterm-term = { path = "../term", features=["use_serde"] }
mlua = {version="0.2", features=["vendored"]}
mlua = {version="0.4", features=["vendored", "lua54", "async", "send"]}
[target."cfg(windows)".dependencies]
winapi = { version = "0.3", features = ["winuser"]}

View File

@ -9,7 +9,7 @@ edition = "2018"
[dependencies]
bstr = "0.2"
log = "0.4"
mlua = {version="0.2", features=["vendored"]}
mlua = "0.4"
serde = {version="1.0", features = ["rc", "derive"]}
serde_json = "1.0"
strsim = "0.10"

View File

@ -45,7 +45,7 @@ mux = { path = "../mux" }
open = "1.4"
pulldown-cmark = "0.8"
metrics = { version="0.12", features=["std"]}
mlua = {version="0.2", features=["vendored"]}
mlua = "0.4"
hdrhistogram = "7.1"
openssl = "0.10"
palette = "0.5"