feat: allow building with the system Lua (#943)

This commit is contained in:
Matthias Ahouansou 2024-04-24 10:49:46 +00:00 committed by GitHub
parent 8fc8770c28
commit 8456d3a7dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 20 additions and 4 deletions

View File

@ -8,13 +8,17 @@ description = "Yazi data distribution service"
homepage = "https://yazi-rs.github.io"
repository = "https://github.com/sxyazi/yazi"
[features]
default = [ "vendored-lua" ]
vendored-lua = [ "mlua/vendored" ]
[dependencies]
yazi-boot = { path = "../yazi-boot", version = "0.2.5" }
yazi-shared = { path = "../yazi-shared", version = "0.2.5" }
# External dependencies
anyhow = "1.0.82"
mlua = { version = "0.9.7", features = [ "lua54", "vendored" ] }
mlua = { version = "0.9.7", features = [ "lua54" ] }
parking_lot = "0.12.1"
serde = { version = "1.0.198", features = [ "derive" ] }
serde_json = "1.0.116"

View File

@ -8,6 +8,10 @@ description = "Yazi File Manager"
homepage = "https://yazi-rs.github.io"
repository = "https://github.com/sxyazi/yazi"
[features]
default = [ "vendored-lua" ]
vendored-lua = [ "mlua/vendored" ]
[dependencies]
yazi-adaptor = { path = "../yazi-adaptor", version = "0.2.5" }
yazi-boot = { path = "../yazi-boot", version = "0.2.5" }
@ -24,7 +28,7 @@ better-panic = "0.3.0"
crossterm = { version = "0.27.0", features = [ "event-stream" ] }
fdlimit = "0.3.0"
futures = "0.3.30"
mlua = { version = "0.9.7", features = [ "lua54", "vendored" ] }
mlua = { version = "0.9.7", features = [ "lua54" ] }
ratatui = "=0.26.1"
scopeguard = "1.2.0"
syntect = { version = "5.2.0", default-features = false, features = [ "parsing", "plist-load", "regex-onig" ] }

View File

@ -8,6 +8,10 @@ description = "Yazi plugin system"
homepage = "https://yazi-rs.github.io"
repository = "https://github.com/sxyazi/yazi"
[features]
default = [ "vendored-lua" ]
vendored-lua = [ "mlua/vendored" ]
[dependencies]
yazi-adaptor = { path = "../yazi-adaptor", version = "0.2.5" }
yazi-boot = { path = "../yazi-boot", version = "0.2.5" }
@ -21,7 +25,7 @@ ansi-to-tui = "3.1.0"
anyhow = "1.0.82"
futures = "0.3.30"
md-5 = "0.10.6"
mlua = { version = "0.9.7", features = [ "lua54", "vendored", "serialize", "macros", "async" ] }
mlua = { version = "0.9.7", features = [ "lua54", "serialize", "macros", "async" ] }
parking_lot = "0.12.1"
ratatui = "=0.26.1"
serde = "1.0.198"

View File

@ -8,11 +8,15 @@ description = "Yazi event proxy"
homepage = "https://yazi-rs.github.io"
repository = "https://github.com/sxyazi/yazi"
[features]
default = [ "vendored-lua" ]
vendored-lua = [ "mlua/vendored" ]
[dependencies]
yazi-config = { path = "../yazi-config", version = "0.2.5" }
yazi-shared = { path = "../yazi-shared", version = "0.2.5" }
# External dependencies
anyhow = "1.0.82"
mlua = { version = "0.9.7", features = [ "lua54", "vendored" ] }
mlua = { version = "0.9.7", features = [ "lua54" ] }
tokio = { version = "1.37.0", features = [ "full" ] }