diff --git a/Cargo.lock b/Cargo.lock index e27f6f60..257acce1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3700,9 +3700,7 @@ dependencies = [ "better-panic", "crossterm 0.29.0", "fdlimit", - "foldhash", "futures", - "indexmap", "libc", "mlua", "paste", @@ -3833,8 +3831,6 @@ name = "yazi-proxy" version = "25.6.11" dependencies = [ "anyhow", - "mlua", - "serde", "tokio", "yazi-config", "yazi-macro", @@ -3872,7 +3868,6 @@ name = "yazi-shared" version = "25.6.11" dependencies = [ "anyhow", - "bitflags 2.9.1", "crossterm 0.29.0", "foldhash", "futures", diff --git a/yazi-actor/Cargo.toml b/yazi-actor/Cargo.toml index ddefa63c..e4c1a1fc 100644 --- a/yazi-actor/Cargo.toml +++ b/yazi-actor/Cargo.toml @@ -8,6 +8,10 @@ description = "Yazi actor model" homepage = "https://yazi-rs.github.io" repository = "https://github.com/sxyazi/yazi" +[features] +default = [ "vendored-lua" ] +vendored-lua = [ "mlua/vendored" ] + [dependencies] yazi-binding = { path = "../yazi-binding", version = "25.6.11" } yazi-boot = { path = "../yazi-boot", version = "25.6.11" } diff --git a/yazi-binding/Cargo.toml b/yazi-binding/Cargo.toml index 5adbbd99..1fb7e0c2 100644 --- a/yazi-binding/Cargo.toml +++ b/yazi-binding/Cargo.toml @@ -8,6 +8,10 @@ description = "Yazi Lua bindings" homepage = "https://yazi-rs.github.io" repository = "https://github.com/sxyazi/yazi" +[features] +default = [ "vendored-lua" ] +vendored-lua = [ "mlua/vendored" ] + [dependencies] yazi-adapter = { path = "../yazi-adapter", version = "25.6.11" } yazi-config = { path = "../yazi-config", version = "25.6.11" } diff --git a/yazi-fm/Cargo.toml b/yazi-fm/Cargo.toml index 7ee042af..e8d23203 100644 --- a/yazi-fm/Cargo.toml +++ b/yazi-fm/Cargo.toml @@ -44,9 +44,7 @@ anyhow = { workspace = true } better-panic = "0.3.0" crossterm = { workspace = true } fdlimit = "0.3.0" -foldhash = { workspace = true } futures = { workspace = true } -indexmap = { workspace = true } mlua = { workspace = true } paste = { workspace = true } ratatui = { workspace = true } diff --git a/yazi-parser/Cargo.toml b/yazi-parser/Cargo.toml index cb246dc5..0e88a45e 100644 --- a/yazi-parser/Cargo.toml +++ b/yazi-parser/Cargo.toml @@ -8,6 +8,10 @@ description = "Yazi command parser" homepage = "https://yazi-rs.github.io" repository = "https://github.com/sxyazi/yazi" +[features] +default = [ "vendored-lua" ] +vendored-lua = [ "mlua/vendored" ] + [dependencies] yazi-binding = { path = "../yazi-binding", version = "25.6.11" } yazi-boot = { path = "../yazi-boot", version = "25.6.11" } diff --git a/yazi-proxy/Cargo.toml b/yazi-proxy/Cargo.toml index 8137b3a5..85193e4c 100644 --- a/yazi-proxy/Cargo.toml +++ b/yazi-proxy/Cargo.toml @@ -8,10 +8,6 @@ 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 = "25.6.11" } yazi-macro = { path = "../yazi-macro", version = "25.6.11" } @@ -20,6 +16,4 @@ yazi-shared = { path = "../yazi-shared", version = "25.6.11" } # External dependencies anyhow = { workspace = true } -mlua = { workspace = true } -serde = { workspace = true } tokio = { workspace = true } diff --git a/yazi-shared/Cargo.toml b/yazi-shared/Cargo.toml index b09a73a6..1ea6c36e 100644 --- a/yazi-shared/Cargo.toml +++ b/yazi-shared/Cargo.toml @@ -14,7 +14,6 @@ yazi-macro = { path = "../yazi-macro", version = "25.6.11" } # External dependencies anyhow = { workspace = true } -bitflags = { workspace = true } crossterm = { workspace = true } foldhash = { workspace = true } futures = { workspace = true }