build: allow using system lua

This commit is contained in:
Matthias Ahouansou 2024-04-23 23:29:48 +01:00
parent c65a14c0e6
commit c386b60073
No known key found for this signature in database
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" ] }