Skip to content

Commit 122c5f8

Browse files
committed
feat: allow building with the system Lua
1 parent 681612f commit 122c5f8

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

yazi-cli/Cargo.toml

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ description = "Yazi command-line interface"
88
homepage = "https://yazi-rs.github.io"
99
repository = "https://github.com/sxyazi/yazi"
1010

11+
[features]
12+
default = [ "vendored-lua" ]
13+
vendored-lua = [ "yazi-dds/vendored-lua" ]
14+
1115
[dependencies]
1216
yazi-dds = { path = "../yazi-dds", version = "0.2.5" }
1317

yazi-dds/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ homepage = "https://yazi-rs.github.io"
99
repository = "https://github.com/sxyazi/yazi"
1010

1111
[features]
12-
default = [ "vendored-lua" ]
1312
vendored-lua = [ "mlua/vendored" ]
1413

1514
[dependencies]

yazi-fm/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repository = "https://github.com/sxyazi/yazi"
1010

1111
[features]
1212
default = [ "vendored-lua" ]
13-
vendored-lua = [ "mlua/vendored" ]
13+
vendored-lua = [ "mlua/vendored", "yazi-dds/vendored-lua", "yazi-plugin/vendored-lua", "yazi-proxy/vendored-lua" ]
1414

1515
[dependencies]
1616
yazi-adaptor = { path = "../yazi-adaptor", version = "0.2.5" }

yazi-plugin/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ homepage = "https://yazi-rs.github.io"
99
repository = "https://github.com/sxyazi/yazi"
1010

1111
[features]
12-
default = [ "vendored-lua" ]
1312
vendored-lua = [ "mlua/vendored" ]
1413

1514
[dependencies]

yazi-proxy/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ homepage = "https://yazi-rs.github.io"
99
repository = "https://github.com/sxyazi/yazi"
1010

1111
[features]
12-
default = [ "vendored-lua" ]
1312
vendored-lua = [ "mlua/vendored" ]
1413

1514
[dependencies]

0 commit comments

Comments
 (0)