Skip to content

Commit

Permalink
feat: allow building with the system Lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Kladki committed Apr 28, 2024
1 parent 681612f commit 5b58e92
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 13 deletions.
6 changes: 5 additions & 1 deletion yazi-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ description = "Yazi command-line interface"
homepage = "https://yazi-rs.github.io"
repository = "https://github.com/sxyazi/yazi"

[features]
default = [ "vendored-lua" ]
vendored-lua = [ "yazi-dds/vendored-lua" ]

[dependencies]
yazi-dds = { path = "../yazi-dds", version = "0.2.5" }
yazi-dds = { path = "../yazi-dds", version = "0.2.5" , default-features = false }

# External dependencies
anyhow = "1.0.82"
Expand Down
6 changes: 3 additions & 3 deletions yazi-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ repository = "https://github.com/sxyazi/yazi"
yazi-adaptor = { path = "../yazi-adaptor", version = "0.2.5" }
yazi-boot = { path = "../yazi-boot", version = "0.2.5" }
yazi-config = { path = "../yazi-config", version = "0.2.5" }
yazi-dds = { path = "../yazi-dds", version = "0.2.5" }
yazi-plugin = { path = "../yazi-plugin", version = "0.2.5" }
yazi-proxy = { path = "../yazi-proxy", version = "0.2.5" }
yazi-dds = { path = "../yazi-dds", version = "0.2.5", default-features = false }
yazi-plugin = { path = "../yazi-plugin", version = "0.2.5", default-features = false }
yazi-proxy = { path = "../yazi-proxy", version = "0.2.5", default-features = false }
yazi-scheduler = { path = "../yazi-scheduler", version = "0.2.5" }
yazi-shared = { path = "../yazi-shared", version = "0.2.5" }

Expand Down
8 changes: 4 additions & 4 deletions yazi-fm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ repository = "https://github.com/sxyazi/yazi"

[features]
default = [ "vendored-lua" ]
vendored-lua = [ "mlua/vendored" ]
vendored-lua = [ "mlua/vendored", "yazi-dds/vendored-lua", "yazi-plugin/vendored-lua", "yazi-proxy/vendored-lua" ]

[dependencies]
yazi-adaptor = { path = "../yazi-adaptor", version = "0.2.5" }
yazi-boot = { path = "../yazi-boot", version = "0.2.5" }
yazi-config = { path = "../yazi-config", version = "0.2.5" }
yazi-core = { path = "../yazi-core", version = "0.2.5" }
yazi-dds = { path = "../yazi-dds", version = "0.2.5" }
yazi-plugin = { path = "../yazi-plugin", version = "0.2.5" }
yazi-proxy = { path = "../yazi-proxy", version = "0.2.5" }
yazi-dds = { path = "../yazi-dds", version = "0.2.5" , default-features = false }
yazi-plugin = { path = "../yazi-plugin", version = "0.2.5" , default-features = false }
yazi-proxy = { path = "../yazi-proxy", version = "0.2.5" , default-features = false }
yazi-shared = { path = "../yazi-shared", version = "0.2.5" }

# External dependencies
Expand Down
4 changes: 2 additions & 2 deletions yazi-plugin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ vendored-lua = [ "mlua/vendored" ]
yazi-adaptor = { path = "../yazi-adaptor", version = "0.2.5" }
yazi-boot = { path = "../yazi-boot", version = "0.2.5" }
yazi-config = { path = "../yazi-config", version = "0.2.5" }
yazi-dds = { path = "../yazi-dds", version = "0.2.5" }
yazi-proxy = { path = "../yazi-proxy", version = "0.2.5" }
yazi-dds = { path = "../yazi-dds", version = "0.2.5", default-features = false }
yazi-proxy = { path = "../yazi-proxy", version = "0.2.5", default-features = false }
yazi-shared = { path = "../yazi-shared", version = "0.2.5" }

# External dependencies
Expand Down
6 changes: 3 additions & 3 deletions yazi-scheduler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ repository = "https://github.com/sxyazi/yazi"

[dependencies]
yazi-config = { path = "../yazi-config", version = "0.2.5" }
yazi-dds = { path = "../yazi-dds", version = "0.2.5" }
yazi-plugin = { path = "../yazi-plugin", version = "0.2.5" }
yazi-proxy = { path = "../yazi-proxy", version = "0.2.5" }
yazi-dds = { path = "../yazi-dds", version = "0.2.5", default-features = false }
yazi-plugin = { path = "../yazi-plugin", version = "0.2.5", default-features = false }
yazi-proxy = { path = "../yazi-proxy", version = "0.2.5", default-features = false }
yazi-shared = { path = "../yazi-shared", version = "0.2.5" }

# External dependencies
Expand Down

0 comments on commit 5b58e92

Please sign in to comment.