diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f5a10ce..a38321e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/): - New `--in` for `search` action to set search directory ([#3696]) - Hover cursor over the new file after copying/cutting/linking/hardlinking/extracting ([#3846], [#3854]) - Multi-file spotter ([#3733]) +- New `app:theme` action that hot-reload user themes/flavors ([#3906]) - Dynamic open/opener Lua API ([#3901]) - Dynamic previewer Lua API ([#3891]) - Vim-like `lua` action that runs an inline Lua snippet ([#3813]) @@ -1705,3 +1706,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/): [#3891]: https://github.com/sxyazi/yazi/pull/3891 [#3894]: https://github.com/sxyazi/yazi/pull/3894 [#3901]: https://github.com/sxyazi/yazi/pull/3901 +[#3906]: https://github.com/sxyazi/yazi/pull/3906 diff --git a/Cargo.lock b/Cargo.lock index 63791d6f..19c476e4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2866,9 +2866,9 @@ dependencies = [ [[package]] name = "p256" -version = "0.14.0-rc.8" +version = "0.14.0-rc.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44f0a10fe314869359cb2901342b045f4e5a962ef9febc006f03d2a8c848fe4c" +checksum = "8b97e3bf0465157ae90975ff52dbeb1362ba618924878c9f74c25baa27a65f9a" dependencies = [ "ecdsa", "elliptic-curve", @@ -2879,9 +2879,9 @@ dependencies = [ [[package]] name = "p384" -version = "0.14.0-rc.8" +version = "0.14.0-rc.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b079e66810c55ab3d6ba424e056dc4aefcdb8046c8c3f3816142edbdd7af7721" +checksum = "437f30ebcb1e16ff48acead5f08bd69fbcdbc82421687bb48af5c315a0bfab03" dependencies = [ "ecdsa", "elliptic-curve", @@ -2893,9 +2893,9 @@ dependencies = [ [[package]] name = "p521" -version = "0.14.0-rc.8" +version = "0.14.0-rc.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9eecc34c4c6e6596d5271fecf90ac4f16593fa198e77282214d0c22736aa9266" +checksum = "4e9fd792bab86ecf6249561752fb5a413511f999887107dd054bbda5143743d7" dependencies = [ "base16ct", "ecdsa", @@ -3795,9 +3795,9 @@ dependencies = [ [[package]] name = "russh" -version = "0.60.0" +version = "0.60.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b530252dc3ff163b73a7e48c97b925450d2ca53edcb466a46ad0a231e45f998" +checksum = "d937f3f4a79bffd67fc12fd437785effdfc8b94edc89ab90392f9ac9e11cc9fc" dependencies = [ "aes 0.8.4", "bitflags 2.11.1", @@ -4898,9 +4898,9 @@ checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c" [[package]] name = "typenum" -version = "1.19.0" +version = "1.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb" +checksum = "40ce102ab67701b8526c123c1bab5cbe42d7040ccfd0f64af1a385808d2f43de" [[package]] name = "ucd-trie" diff --git a/Cargo.toml b/Cargo.toml index b9c090eb..b46089e6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -63,7 +63,7 @@ percent-encoding = "2.3.2" rand = { version = "0.10.1", default-features = false, features = [ "std", "sys_rng" ] } ratatui = { version = "0.30.0", features = [ "serde", "unstable-rendered-line-info", "unstable-widget-ref" ] } regex = "1.12.3" -russh = { version = "0.60.0", default-features = false, features = [ "ring", "rsa" ] } +russh = { version = "0.60.1", default-features = false, features = [ "ring", "rsa" ] } scopeguard = "1.2.0" serde = { version = "1.0.228", features = [ "derive" ] } serde_json = "1.0.149" diff --git a/flake.lock b/flake.lock index 144f9b1a..d485f39e 100644 --- a/flake.lock +++ b/flake.lock @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1772419343, - "narHash": "sha256-QU3Cd5DJH7dHyMnGEFfPcZDaCAsJQ6tUD+JuUsYqnKU=", + "lastModified": 1776329215, + "narHash": "sha256-a8BYi3mzoJ/AcJP8UldOx8emoPRLeWqALZWu4ZvjPXw=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "93178f6a00c22fcdee1c6f5f9ab92f2072072ea9", + "rev": "b86751bc4085f48661017fa226dee99fab6c651b", "type": "github" }, "original": { @@ -48,11 +48,11 @@ ] }, "locked": { - "lastModified": 1772420823, - "narHash": "sha256-q3oVwz1Rx41D1D+F6vg41kpOkk3Zi3KwnkHEZp7DCGs=", + "lastModified": 1776741231, + "narHash": "sha256-k9G98qzn+7npROUaks8VqCFm7cFtEG8ulQLBBo5lItg=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "458eea8d905c609e9d889423e6b8a1c7bc2f792c", + "rev": "02061303f7c4c964f7b4584dabd9e985b4cd442b", "type": "github" }, "original": { diff --git a/yazi-core/Cargo.toml b/yazi-core/Cargo.toml index c7fd644f..1a9c427d 100644 --- a/yazi-core/Cargo.toml +++ b/yazi-core/Cargo.toml @@ -12,6 +12,10 @@ rust-version.workspace = true [lints] workspace = true +[features] +default = [ "vendored-lua" ] +vendored-lua = [ "mlua/vendored" ] + [dependencies] yazi-adapter = { path = "../yazi-adapter", version = "26.2.2" } yazi-binding = { path = "../yazi-binding", version = "26.2.2" } diff --git a/yazi-runner/Cargo.toml b/yazi-runner/Cargo.toml index e360dde7..a23186d9 100644 --- a/yazi-runner/Cargo.toml +++ b/yazi-runner/Cargo.toml @@ -12,6 +12,10 @@ rust-version.workspace = true [lints] workspace = true +[features] +default = [ "vendored-lua" ] +vendored-lua = [ "mlua/vendored" ] + [dependencies] yazi-binding = { path = "../yazi-binding", version = "26.2.2" } yazi-boot = { path = "../yazi-boot", version = "26.2.2" } diff --git a/yazi-scheduler/Cargo.toml b/yazi-scheduler/Cargo.toml index 7075ca4d..0e188b25 100644 --- a/yazi-scheduler/Cargo.toml +++ b/yazi-scheduler/Cargo.toml @@ -12,6 +12,10 @@ rust-version.workspace = true [lints] workspace = true +[features] +default = [ "vendored-lua" ] +vendored-lua = [ "mlua/vendored" ] + [dependencies] yazi-binding = { path = "../yazi-binding", version = "26.2.2" } yazi-config = { path = "../yazi-config", version = "26.2.2" } diff --git a/yazi-shim/Cargo.toml b/yazi-shim/Cargo.toml index b4f684c9..91b8894a 100644 --- a/yazi-shim/Cargo.toml +++ b/yazi-shim/Cargo.toml @@ -12,6 +12,10 @@ rust-version.workspace = true [lints] workspace = true +[features] +default = [ "vendored-lua" ] +vendored-lua = [ "mlua/vendored" ] + [dependencies] yazi-macro = { path = "../yazi-macro", version = "26.2.2" } diff --git a/yazi-term/Cargo.toml b/yazi-term/Cargo.toml index 68ae8a8f..497afbde 100644 --- a/yazi-term/Cargo.toml +++ b/yazi-term/Cargo.toml @@ -16,7 +16,6 @@ workspace = true yazi-config = { path = "../yazi-config", version = "26.2.2" } yazi-emulator = { path = "../yazi-emulator", version = "26.2.2" } yazi-macro = { path = "../yazi-macro", version = "26.2.2" } -yazi-shared = { path = "../yazi-shared", version = "26.2.2" } yazi-shim = { path = "../yazi-shim", version = "26.2.2" } yazi-tty = { path = "../yazi-tty", version = "26.2.2" } diff --git a/yazi-widgets/Cargo.toml b/yazi-widgets/Cargo.toml index 6636ea44..3b83341c 100644 --- a/yazi-widgets/Cargo.toml +++ b/yazi-widgets/Cargo.toml @@ -12,6 +12,10 @@ rust-version.workspace = true [lints] workspace = true +[features] +default = [ "vendored-lua" ] +vendored-lua = [ "mlua/vendored" ] + [dependencies] yazi-adapter = { path = "../yazi-adapter", version = "26.2.2" } yazi-config = { path = "../yazi-config", version = "26.2.2" }