From c65a14c0e650c92cce52fe507b9f84a873cae44d Mon Sep 17 00:00:00 2001 From: sxyazi Date: Tue, 23 Apr 2024 16:35:17 +0800 Subject: [PATCH] chore: bump version to 0.2.5 --- .github/workflows/release.yml | 4 +- Cargo.lock | 78 +++++++++++++++++------------------ scripts/build.sh | 7 +++- yazi-adaptor/Cargo.toml | 6 +-- yazi-boot/Cargo.toml | 8 ++-- yazi-cli/Cargo.toml | 4 +- yazi-config/Cargo.toml | 4 +- yazi-core/Cargo.toml | 18 ++++---- yazi-dds/Cargo.toml | 6 +-- yazi-fm/Cargo.toml | 18 ++++---- yazi-plugin/Cargo.toml | 14 +++---- yazi-proxy/Cargo.toml | 6 +-- yazi-scheduler/Cargo.toml | 12 +++--- yazi-shared/Cargo.toml | 2 +- 14 files changed, 96 insertions(+), 91 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7df1efcc4..5130261e9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -56,7 +56,9 @@ jobs: - name: Build env: YAZI_GEN_COMPLETIONS: true - run: cargo build --release --locked --target ${{ matrix.target }} + run: | + cargo build -p yazi-cli --release --locked --target ${{ matrix.target }} + cargo build -p yazi-fm --release --locked --target ${{ matrix.target }} - name: Pack artifact if: matrix.os == 'windows-latest' diff --git a/Cargo.lock b/Cargo.lock index 94e6cbbf0..64898c5f4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -269,9 +269,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.94" +version = "1.0.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17f6e324229dc011159fcc089755d1e2e216a90d43a7dea6853ca740b84f35e7" +checksum = "d32a725bc159af97c3e629873bb9f88fb8cf8a4867175f76dc987815ea07c83b" [[package]] name = "cfg-if" @@ -351,7 +351,7 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.59", + "syn 2.0.60", ] [[package]] @@ -527,7 +527,7 @@ dependencies = [ "proc-macro2", "quote", "strsim 0.10.0", - "syn 2.0.59", + "syn 2.0.60", ] [[package]] @@ -538,7 +538,7 @@ checksum = "a668eda54683121533a393014d8692171709ff57a7d61f187b6e782719f8933f" dependencies = [ "darling_core", "quote", - "syn 2.0.59", + "syn 2.0.60", ] [[package]] @@ -781,7 +781,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.59", + "syn 2.0.60", ] [[package]] @@ -1252,7 +1252,7 @@ dependencies = [ "proc-macro2", "quote", "regex", - "syn 2.0.59", + "syn 2.0.60", ] [[package]] @@ -1655,9 +1655,9 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" [[package]] name = "rustix" -version = "0.38.32" +version = "0.38.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65e04861e65f21776e67888bfbea442b3642beaa0138fdb1dd7a84a52dffdb89" +checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" dependencies = [ "bitflags 2.5.0", "errno", @@ -1720,7 +1720,7 @@ checksum = "e88edab869b01783ba905e7d0153f9fc1a6505a96e4ad3018011eedb838566d9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.59", + "syn 2.0.60", ] [[package]] @@ -1787,9 +1787,9 @@ dependencies = [ [[package]] name = "signal-hook-registry" -version = "1.4.1" +version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" +checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" dependencies = [ "libc", ] @@ -1893,7 +1893,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.59", + "syn 2.0.60", ] [[package]] @@ -1909,9 +1909,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.59" +version = "2.0.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a6531ffc7b071655e4ce2e04bd464c4830bb585a61cabb96cf808f05172615a" +checksum = "909518bc7b1c9b779f1bbf07f2929d35af9f0f37e47c6e9ef7f9dddc1e1821f3" dependencies = [ "proc-macro2", "quote", @@ -1941,22 +1941,22 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.58" +version = "1.0.59" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03468839009160513471e86a034bb2c5c0e4baae3b43f79ffc55c4a5427b3297" +checksum = "f0126ad08bff79f29fc3ae6a55cc72352056dfff61e3ff8bb7129476d44b23aa" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.58" +version = "1.0.59" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c61f3ba182994efc43764a46c018c347bc492c79f024e705f46567b418f6d4f7" +checksum = "d1cd413b5d558b4c5bf3680e324a6fa5014e7b7c067a51e69dbdf47eb7148b66" dependencies = [ "proc-macro2", "quote", - "syn 2.0.59", + "syn 2.0.60", ] [[package]] @@ -2075,7 +2075,7 @@ checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.59", + "syn 2.0.60", ] [[package]] @@ -2126,9 +2126,9 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.22.9" +version = "0.22.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e40bb779c5187258fd7aad0eb68cb8706a0a81fa712fbea808ab43c4b8374c4" +checksum = "d3328d4f68a705b2a4498da1d580585d39a6510f98318a2cec3018a7ec61ddef" dependencies = [ "indexmap", "serde", @@ -2168,7 +2168,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.59", + "syn 2.0.60", ] [[package]] @@ -2315,7 +2315,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.59", + "syn 2.0.60", ] [[package]] @@ -2379,7 +2379,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.59", + "syn 2.0.60", "wasm-bindgen-shared", ] @@ -2401,7 +2401,7 @@ checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.59", + "syn 2.0.60", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -2692,7 +2692,7 @@ checksum = "d135d17ab770252ad95e9a872d365cf3090e3be864a34ab46f48555993efc904" [[package]] name = "yazi-adaptor" -version = "0.2.4" +version = "0.2.5" dependencies = [ "anyhow", "arc-swap", @@ -2712,7 +2712,7 @@ dependencies = [ [[package]] name = "yazi-boot" -version = "0.2.4" +version = "0.2.5" dependencies = [ "clap", "clap_complete", @@ -2727,7 +2727,7 @@ dependencies = [ [[package]] name = "yazi-cli" -version = "0.2.4" +version = "0.2.5" dependencies = [ "anyhow", "clap", @@ -2741,7 +2741,7 @@ dependencies = [ [[package]] name = "yazi-config" -version = "0.2.4" +version = "0.2.5" dependencies = [ "anyhow", "arc-swap", @@ -2758,7 +2758,7 @@ dependencies = [ [[package]] name = "yazi-core" -version = "0.2.4" +version = "0.2.5" dependencies = [ "anyhow", "base64 0.22.0", @@ -2790,7 +2790,7 @@ dependencies = [ [[package]] name = "yazi-dds" -version = "0.2.4" +version = "0.2.5" dependencies = [ "anyhow", "mlua", @@ -2807,7 +2807,7 @@ dependencies = [ [[package]] name = "yazi-fm" -version = "0.2.4" +version = "0.2.5" dependencies = [ "anyhow", "better-panic", @@ -2838,7 +2838,7 @@ dependencies = [ [[package]] name = "yazi-plugin" -version = "0.2.4" +version = "0.2.5" dependencies = [ "ansi-to-tui", "anyhow", @@ -2874,7 +2874,7 @@ checksum = "f4b6c8e12e39ac0f79fa96f36e5b88e0da8d230691abd729eec709b43c74f632" [[package]] name = "yazi-proxy" -version = "0.2.4" +version = "0.2.5" dependencies = [ "anyhow", "mlua", @@ -2885,7 +2885,7 @@ dependencies = [ [[package]] name = "yazi-scheduler" -version = "0.2.4" +version = "0.2.5" dependencies = [ "anyhow", "async-priority-channel", @@ -2905,7 +2905,7 @@ dependencies = [ [[package]] name = "yazi-shared" -version = "0.2.4" +version = "0.2.5" dependencies = [ "anyhow", "bitflags 2.5.0", @@ -2940,7 +2940,7 @@ checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.59", + "syn 2.0.60", ] [[package]] diff --git a/scripts/build.sh b/scripts/build.sh index 68f9b901a..73b92c47e 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -6,8 +6,11 @@ export YAZI_GEN_COMPLETIONS=1 export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=/usr/bin/aarch64-linux-gnu-gcc # Setup Rust toolchain -rustup toolchain install stable --profile minimal -rustup target add "$1" +if [[ "$1" == *-musl ]]; then + rustup target add "$1" +else + rustup toolchain install stable --profile minimal --target "$1" +fi # Build for the target cargo build -p yazi-cli --release --locked --target "$1" diff --git a/yazi-adaptor/Cargo.toml b/yazi-adaptor/Cargo.toml index b2380e137..39e06d07f 100644 --- a/yazi-adaptor/Cargo.toml +++ b/yazi-adaptor/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yazi-adaptor" -version = "0.2.4" +version = "0.2.5" edition = "2021" license = "MIT" authors = [ "sxyazi " ] @@ -9,8 +9,8 @@ homepage = "https://yazi-rs.github.io" repository = "https://github.com/sxyazi/yazi" [dependencies] -yazi-config = { path = "../yazi-config", version = "0.2.4" } -yazi-shared = { path = "../yazi-shared", version = "0.2.4" } +yazi-config = { path = "../yazi-config", version = "0.2.5" } +yazi-shared = { path = "../yazi-shared", version = "0.2.5" } # External dependencies anyhow = "1.0.82" diff --git a/yazi-boot/Cargo.toml b/yazi-boot/Cargo.toml index 83ec2d108..0a60541a3 100644 --- a/yazi-boot/Cargo.toml +++ b/yazi-boot/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yazi-boot" -version = "0.2.4" +version = "0.2.5" edition = "2021" license = "MIT" authors = [ "sxyazi " ] @@ -9,9 +9,9 @@ homepage = "https://yazi-rs.github.io" repository = "https://github.com/sxyazi/yazi" [dependencies] -yazi-adaptor = { path = "../yazi-adaptor", version = "0.2.4" } -yazi-config = { path = "../yazi-config", version = "0.2.4" } -yazi-shared = { path = "../yazi-shared", version = "0.2.4" } +yazi-adaptor = { path = "../yazi-adaptor", version = "0.2.5" } +yazi-config = { path = "../yazi-config", version = "0.2.5" } +yazi-shared = { path = "../yazi-shared", version = "0.2.5" } # External dependencies clap = { version = "4.5.4", features = [ "derive" ] } diff --git a/yazi-cli/Cargo.toml b/yazi-cli/Cargo.toml index 9e02786ac..6464852fd 100644 --- a/yazi-cli/Cargo.toml +++ b/yazi-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yazi-cli" -version = "0.2.4" +version = "0.2.5" edition = "2021" license = "MIT" authors = [ "sxyazi " ] @@ -9,7 +9,7 @@ homepage = "https://yazi-rs.github.io" repository = "https://github.com/sxyazi/yazi" [dependencies] -yazi-dds = { path = "../yazi-dds", version = "0.2.4" } +yazi-dds = { path = "../yazi-dds", version = "0.2.5" } # External dependencies anyhow = "1.0.82" diff --git a/yazi-config/Cargo.toml b/yazi-config/Cargo.toml index 023303783..2ca80cff6 100644 --- a/yazi-config/Cargo.toml +++ b/yazi-config/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yazi-config" -version = "0.2.4" +version = "0.2.5" edition = "2021" license = "MIT" authors = [ "sxyazi " ] @@ -9,7 +9,7 @@ homepage = "https://yazi-rs.github.io" repository = "https://github.com/sxyazi/yazi" [dependencies] -yazi-shared = { path = "../yazi-shared", version = "0.2.4" } +yazi-shared = { path = "../yazi-shared", version = "0.2.5" } # External dependencies anyhow = "1.0.82" diff --git a/yazi-core/Cargo.toml b/yazi-core/Cargo.toml index 21b504e8b..d7dc8b00e 100644 --- a/yazi-core/Cargo.toml +++ b/yazi-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yazi-core" -version = "0.2.4" +version = "0.2.5" edition = "2021" license = "MIT" authors = [ "sxyazi " ] @@ -9,14 +9,14 @@ homepage = "https://yazi-rs.github.io" repository = "https://github.com/sxyazi/yazi" [dependencies] -yazi-adaptor = { path = "../yazi-adaptor", version = "0.2.4" } -yazi-boot = { path = "../yazi-boot", version = "0.2.4" } -yazi-config = { path = "../yazi-config", version = "0.2.4" } -yazi-dds = { path = "../yazi-dds", version = "0.2.4" } -yazi-plugin = { path = "../yazi-plugin", version = "0.2.4" } -yazi-proxy = { path = "../yazi-proxy", version = "0.2.4" } -yazi-scheduler = { path = "../yazi-scheduler", version = "0.2.4" } -yazi-shared = { path = "../yazi-shared", version = "0.2.4" } +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-scheduler = { path = "../yazi-scheduler", version = "0.2.5" } +yazi-shared = { path = "../yazi-shared", version = "0.2.5" } # External dependencies anyhow = "1.0.82" diff --git a/yazi-dds/Cargo.toml b/yazi-dds/Cargo.toml index d045c67bf..e502eccdf 100644 --- a/yazi-dds/Cargo.toml +++ b/yazi-dds/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yazi-dds" -version = "0.2.4" +version = "0.2.5" edition = "2021" license = "MIT" authors = [ "sxyazi " ] @@ -9,8 +9,8 @@ homepage = "https://yazi-rs.github.io" repository = "https://github.com/sxyazi/yazi" [dependencies] -yazi-boot = { path = "../yazi-boot", version = "0.2.4" } -yazi-shared = { path = "../yazi-shared", version = "0.2.4" } +yazi-boot = { path = "../yazi-boot", version = "0.2.5" } +yazi-shared = { path = "../yazi-shared", version = "0.2.5" } # External dependencies anyhow = "1.0.82" diff --git a/yazi-fm/Cargo.toml b/yazi-fm/Cargo.toml index 938159fda..07f3af992 100644 --- a/yazi-fm/Cargo.toml +++ b/yazi-fm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yazi-fm" -version = "0.2.4" +version = "0.2.5" edition = "2021" license = "MIT" authors = [ "sxyazi " ] @@ -9,14 +9,14 @@ homepage = "https://yazi-rs.github.io" repository = "https://github.com/sxyazi/yazi" [dependencies] -yazi-adaptor = { path = "../yazi-adaptor", version = "0.2.4" } -yazi-boot = { path = "../yazi-boot", version = "0.2.4" } -yazi-config = { path = "../yazi-config", version = "0.2.4" } -yazi-core = { path = "../yazi-core", version = "0.2.4" } -yazi-dds = { path = "../yazi-dds", version = "0.2.4" } -yazi-plugin = { path = "../yazi-plugin", version = "0.2.4" } -yazi-proxy = { path = "../yazi-proxy", version = "0.2.4" } -yazi-shared = { path = "../yazi-shared", version = "0.2.4" } +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-shared = { path = "../yazi-shared", version = "0.2.5" } # External dependencies anyhow = "1.0.82" diff --git a/yazi-plugin/Cargo.toml b/yazi-plugin/Cargo.toml index 620626f0d..2e0a2991d 100644 --- a/yazi-plugin/Cargo.toml +++ b/yazi-plugin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yazi-plugin" -version = "0.2.4" +version = "0.2.5" edition = "2021" license = "MIT" authors = [ "sxyazi " ] @@ -9,12 +9,12 @@ homepage = "https://yazi-rs.github.io" repository = "https://github.com/sxyazi/yazi" [dependencies] -yazi-adaptor = { path = "../yazi-adaptor", version = "0.2.4" } -yazi-boot = { path = "../yazi-boot", version = "0.2.4" } -yazi-config = { path = "../yazi-config", version = "0.2.4" } -yazi-dds = { path = "../yazi-dds", version = "0.2.4" } -yazi-proxy = { path = "../yazi-proxy", version = "0.2.4" } -yazi-shared = { path = "../yazi-shared", version = "0.2.4" } +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-shared = { path = "../yazi-shared", version = "0.2.5" } # External dependencies ansi-to-tui = "3.1.0" diff --git a/yazi-proxy/Cargo.toml b/yazi-proxy/Cargo.toml index a9a6d8187..c65553a0e 100644 --- a/yazi-proxy/Cargo.toml +++ b/yazi-proxy/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yazi-proxy" -version = "0.2.4" +version = "0.2.5" edition = "2021" license = "MIT" authors = [ "sxyazi " ] @@ -9,8 +9,8 @@ homepage = "https://yazi-rs.github.io" repository = "https://github.com/sxyazi/yazi" [dependencies] -yazi-config = { path = "../yazi-config", version = "0.2.4" } -yazi-shared = { path = "../yazi-shared", version = "0.2.4" } +yazi-config = { path = "../yazi-config", version = "0.2.5" } +yazi-shared = { path = "../yazi-shared", version = "0.2.5" } # External dependencies anyhow = "1.0.82" diff --git a/yazi-scheduler/Cargo.toml b/yazi-scheduler/Cargo.toml index 6be343f7f..d35b11e1d 100644 --- a/yazi-scheduler/Cargo.toml +++ b/yazi-scheduler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yazi-scheduler" -version = "0.2.4" +version = "0.2.5" edition = "2021" license = "MIT" authors = [ "sxyazi " ] @@ -9,11 +9,11 @@ homepage = "https://yazi-rs.github.io" repository = "https://github.com/sxyazi/yazi" [dependencies] -yazi-config = { path = "../yazi-config", version = "0.2.4" } -yazi-dds = { path = "../yazi-dds", version = "0.2.4" } -yazi-plugin = { path = "../yazi-plugin", version = "0.2.4" } -yazi-proxy = { path = "../yazi-proxy", version = "0.2.4" } -yazi-shared = { path = "../yazi-shared", version = "0.2.4" } +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-shared = { path = "../yazi-shared", version = "0.2.5" } # External dependencies anyhow = "1.0.82" diff --git a/yazi-shared/Cargo.toml b/yazi-shared/Cargo.toml index f1fdf534d..5a121d3e8 100644 --- a/yazi-shared/Cargo.toml +++ b/yazi-shared/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yazi-shared" -version = "0.2.4" +version = "0.2.5" edition = "2021" license = "MIT" authors = [ "sxyazi " ]