diff --git a/CHANGELOG.md b/CHANGELOG.md index d139b4b..9f05174 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,61 @@ # Changelog +## [0.108.0] - 2025-10-19 (FINAL UPDATE) + +### 🎯 Help System & Build Process Fixes (2025-10-19) + +#### Help System Improvements +- **Added Version Update Module to Help System**: + - Version-update module now discoverable via `just help modules` + - Added to `just help` main output with key commands + - Included in `just help-all` workflow + - Full integration into help system navigation + +#### New Help Commands +- **`just commands`**: New recipe showing all commands organized by group (alias for `just --list`) + - Shows [version-update] group with all 30+ update recipes + - Replaces need to manually run `just --list` + +#### Build Process Fixes +- **Fixed Plugin Archive Creation Bug**: + - Phase 3 "No plugins found" warning fixed + - Root cause: `each` command returns null, breaking count logic + - Solution: Separated plugin listing from copying with proper filtering + - Filters out `.d` dependency files with `where type == "file"` + - Now correctly reports "Collected 26 plugins" + +- **Fixed Tar Archive Path Issues**: + - Replaced unreliable `cd` + relative paths with `tar -C` + absolute paths + - Uses `pwd` with `path join` for robust path construction + - Improved error diagnostics showing tar exit codes and stderr + - Now properly creates bin archives (plugins-only-0.108.0-darwin-arm64.tar.gz) + +- **Fixed Size Calculation Error**: + - Changed `(ls $archive_path).size` to `(ls $archive_path | get 0.size)` + - `ls` returns list of records, not single record + - Properly calculates archive file size in MB + +#### Plugin Dependency Update Optimization +- **Fixed Unnecessary Plugin Rebuilds**: + - Root cause: `update_all_plugins.nu` always touched all Cargo.toml files + - Solution: Only save if content actually changed + - Compares original vs updated TOML before writing + - Preserves file timestamps for unchanged dependencies + - Result: Only plugins with real changes trigger rebuilds (hashes, highlight) + +#### Files Modified +- `justfiles/help.just` - Added version-update module to help system +- `scripts/create_full_distribution.nu` - Fixed plugin collection, path handling, and size calculation +- `scripts/update_all_plugins.nu` - Optimized to avoid unnecessary file touches + +#### Impact +- βœ… Version-update commands now fully discoverable +- βœ… Phase 3 bin archive creation works correctly +- βœ… Efficient plugin rebuild (no false positives) +- βœ… Better error diagnostics in build process + +--- + ## [0.108.0] - 2025-10-18 ### 🎯 Nushell Core Update: 0.107.1 β†’ 0.108.0 diff --git a/complete-update.sh b/complete-update.sh deleted file mode 100755 index bf4609d..0000000 --- a/complete-update.sh +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/bash - -# Nushell 0.108.0 Complete Update Script -# Direct runner - bypasses justfile sandbox limitations -# Usage: ./complete-update.sh 0.108.0 - -set -e - -if [ -z "$1" ]; then - echo "❌ Error: VERSION parameter required" - echo "Usage: ./complete-update.sh 0.108.0" - exit 1 -fi - -VERSION="$1" -SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/scripts" -NU_BIN="$(which nu)" - -echo "πŸš€ Complete Nushell Update (ALL-IN-ONE)" -echo "Version: $VERSION" -echo "" - -echo "Step 1/7: Downloading Nushell source..." -"$NU_BIN" "$SCRIPT_DIR/download_nushell.nu" "$VERSION" - -echo "" -echo "Step 2/7: Analyzing features..." -"$NU_BIN" "$SCRIPT_DIR/analyze_nushell_features.nu" --validate - -echo "" -echo "Step 3/7: Building Nushell..." -cd nushell -cargo build --release --workspace --features "mcp,plugin,sqlite,trash-support,system-clipboard,rustls-tls" -cd .. - -echo "" -echo "Step 4/7: Updating plugins..." -"$NU_BIN" "$SCRIPT_DIR/update_all_plugins.nu" "$VERSION" - -echo "" -echo "Step 5/7: Building plugins..." -for plugin in nu_plugin_*; do - if [ -d "$plugin" ]; then - echo " Building $plugin..." - (cd "$plugin" && cargo build --release) - fi -done - -echo "" -echo "Step 6/7: Creating distributions..." -"$NU_BIN" "$SCRIPT_DIR/create_full_distribution.nu" - -echo "" -echo "Step 7/7: Validating..." -"$NU_BIN" "$SCRIPT_DIR/update_all_plugins.nu" check - -echo "" -echo "βœ… Complete Nushell Update Finished!" -echo "" -echo "Next steps:" -echo " 1. Review the builds in nushell/target/release/" -echo " 2. Check distribution packages in distribution/packages/" -echo " 3. Commit changes: git add -A && git commit -m 'chore: update to Nushell $VERSION'" diff --git a/best_nushell_code.md b/guides/best_nushell_code.md similarity index 95% rename from best_nushell_code.md rename to guides/best_nushell_code.md index 4d8cd13..f1be6e5 100644 --- a/best_nushell_code.md +++ b/guides/best_nushell_code.md @@ -635,6 +635,44 @@ print $"Server $hostname on port $port" - Function call? Use `($fn arg)` - **NEVER** use square brackets for interpolation! +### Rule 18: Escape Literal Parentheses in Interpolated Strings ⚠️ + +**CRITICAL**: In `$"..."` strings, parentheses that are NOT variable interpolation MUST be escaped. + +❌ **WRONG**: +```nushell +let msg = $"Update? (yes/no): " # ERROR: (yes/no) treated as command +let text = $"Use format (JSON/YAML)" # ERROR: tries to execute command +``` + +βœ… **CORRECT**: +```nushell +let msg = $"Update? \(yes/no\): " # Escaped literal parentheses +let text = $"Use format \(JSON/YAML\)" # Escaped literal parentheses +let msg = $"Value: ($var)" # Unescaped for variable interpolation +``` + +**Simple rule**: +- If `()` contains a variable name β†’ keep as is: `($variable)` +- If `()` is literal text β†’ escape with backslash: `\(text\)` + +**Common mistake patterns:** +```nushell +# BAD - will try to execute 'yes/no' command +input $"Continue? (yes/no): " + +# GOOD - escaped literal parentheses +input $"Continue? \(yes/no\): " + +# BAD - will try to execute 'example' command +log_info $"Format (example): data" + +# GOOD - escaped +log_info $"Format \(example\): data" +``` + +--- + ## Quick Reference Card for AI Agents ```nushell diff --git a/justfiles/help.just b/justfiles/help.just index 3f7faf8..2201fbb 100644 --- a/justfiles/help.just +++ b/justfiles/help.just @@ -42,6 +42,11 @@ help AREA="": echo " just upstream-check - Check for upstream changes" echo " just pack-full - Create complete distribution" echo " just release-full-cross - Full cross-platform release" + echo "" + echo "πŸ“¦ Version Update Commands (v0.108.0+):" + echo " just complete-update VERSION - All-in-one Nushell update" + echo " just update-help - Show all update commands" + echo " just commands - Show all commands by group" ;; "modules") echo "πŸ“‹ AVAILABLE MODULES" @@ -77,6 +82,11 @@ help AREA="": echo " Help: just tools-help" echo " Purpose: Development tools and utilities" echo "" + echo "πŸ”„ VERSION UPDATE MODULE" + echo " Commands: complete-update, update-plugins, analyze-features, detect-breaking, etc." + echo " Help: just update-help" + echo " Purpose: Nushell version management and updates" + echo "" echo "πŸ’‘ TIP: Use 'just -help' for detailed commands in each module" ;; "status" | "info") @@ -217,6 +227,11 @@ modules: @echo " Commands: validate-*, make-plugin, interactive" @echo " Help: just tools-help" @echo "" + @echo "πŸ”„ VERSION UPDATE MODULE (justfiles/version_update.just)" + @echo " Nushell version management and updates" + @echo " Commands: complete-update, update-plugins, analyze-features, detect-breaking" + @echo " Help: just update-help" + @echo "" @echo "🎯 ALIAS MODULE (justfiles/alias.just)" @echo " Quick access shortcuts" @echo " Aliases: h (help), b (build), s (status)" @@ -242,6 +257,8 @@ help-all: @just qa-help @echo "" @just tools-help + @echo "" + @just update-help # List all available commands across all modules [no-cd] @@ -261,3 +278,9 @@ list-all: @echo " just upstream-help - Upstream module commands" @echo " just qa-help - QA module commands" @echo " just tools-help - Tools module commands" + @echo " just update-help - Version update module commands" + +# Show all available commands by group (alias for --list) +[no-cd] +commands: + @just --list diff --git a/justfiles/version_update.just b/justfiles/version_update.just index d7b8da5..65125a8 100644 --- a/justfiles/version_update.just +++ b/justfiles/version_update.just @@ -24,10 +24,12 @@ complete-update VERSION="": NU_BIN="{{justfile_directory()}}/nushell/target/release/nu" echo "Step 1/7: Downloading Nushell {{VERSION}}..." + echo " πŸ“ Command: $NU_BIN $SCRIPT_DIR/download_nushell.nu {{VERSION}}" "$NU_BIN" "$SCRIPT_DIR/download_nushell.nu" "{{VERSION}}" || exit 1 echo "" echo "Step 2/7: Analyzing features..." + echo " πŸ“ Command: $NU_BIN $SCRIPT_DIR/analyze_nushell_features.nu --validate" $NU_BIN "$SCRIPT_DIR/analyze_nushell_features.nu" --validate || exit 1 echo "" @@ -39,32 +41,59 @@ complete-update VERSION="": if [ "$BUILT_VERSION" = "{{VERSION}}" ]; then echo "βœ… Nushell {{VERSION}} already built - skipping build" else - echo " Building with all features..." + echo " πŸ“ Command: cd nushell && cargo build --release --workspace --features \"mcp,plugin,sqlite,trash-support,system-clipboard,rustls-tls\"" (cd nushell && cargo build --release --workspace --features "mcp,plugin,sqlite,trash-support,system-clipboard,rustls-tls") || exit 1 fi else - echo " Building with all features..." + echo " πŸ“ Command: cd nushell && cargo build --release --workspace --features \"mcp,plugin,sqlite,trash-support,system-clipboard,rustls-tls\"" (cd nushell && cargo build --release --workspace --features "mcp,plugin,sqlite,trash-support,system-clipboard,rustls-tls") || exit 1 fi echo "" echo "Step 4/7: Updating plugins..." + echo " πŸ“ Command: $NU_BIN $SCRIPT_DIR/update_all_plugins.nu {{VERSION}} --auto-approve" $NU_BIN "$SCRIPT_DIR/update_all_plugins.nu" "{{VERSION}}" --auto-approve || exit 1 echo "" echo "Step 5/7: Building plugins..." + + # Check if plugins need rebuilding + PLUGINS_NEED_BUILD=false for plugin in nu_plugin_*; do if [ -d "$plugin" ]; then - (cd "$plugin" && cargo build --release) || exit 1 + # Check if binary exists + BINARY="$plugin/target/release/$plugin" + if [ ! -f "$BINARY" ]; then + PLUGINS_NEED_BUILD=true + break + fi + # Check if Cargo.toml is newer than binary + if [ "$plugin/Cargo.toml" -nt "$BINARY" ]; then + PLUGINS_NEED_BUILD=true + break + fi fi done + if [ "$PLUGINS_NEED_BUILD" = false ]; then + echo "βœ… All plugins already built - skipping rebuild" + else + echo " πŸ“ Command: for each plugin dir: cd && cargo build --release" + for plugin in nu_plugin_*; do + if [ -d "$plugin" ]; then + (cd "$plugin" && cargo build --release) || exit 1 + fi + done + fi + echo "" echo "Step 6/7: Creating distributions..." + echo " πŸ“ Command: $NU_BIN $SCRIPT_DIR/create_full_distribution.nu" $NU_BIN "$SCRIPT_DIR/create_full_distribution.nu" || exit 1 echo "" echo "Step 7/7: Validating..." + echo " πŸ“ Command: $NU_BIN $SCRIPT_DIR/update_all_plugins.nu check" $NU_BIN "$SCRIPT_DIR/update_all_plugins.nu" check || exit 1 echo "" @@ -113,18 +142,44 @@ complete-update-interactive VERSION="": echo "" echo "Step 5/7: Building plugins..." + + # Check if plugins need rebuilding + PLUGINS_NEED_BUILD=false for plugin in nu_plugin_*; do if [ -d "$plugin" ]; then - (cd "$plugin" && cargo build --release) || exit 1 + # Check if binary exists + BINARY="$plugin/target/release/$plugin" + if [ ! -f "$BINARY" ]; then + PLUGINS_NEED_BUILD=true + break + fi + # Check if Cargo.toml is newer than binary + if [ "$plugin/Cargo.toml" -nt "$BINARY" ]; then + PLUGINS_NEED_BUILD=true + break + fi fi done + if [ "$PLUGINS_NEED_BUILD" = false ]; then + echo "βœ… All plugins already built - skipping rebuild" + else + echo " πŸ“ Command: for each plugin dir: cd && cargo build --release" + for plugin in nu_plugin_*; do + if [ -d "$plugin" ]; then + (cd "$plugin" && cargo build --release) || exit 1 + fi + done + fi + echo "" echo "Step 6/7: Creating distributions..." + echo " πŸ“ Command: $NU_BIN $SCRIPT_DIR/create_full_distribution.nu" $NU_BIN "$SCRIPT_DIR/create_full_distribution.nu" || exit 1 echo "" echo "Step 7/7: Validating..." + echo " πŸ“ Command: $NU_BIN $SCRIPT_DIR/update_all_plugins.nu check" $NU_BIN "$SCRIPT_DIR/update_all_plugins.nu" check || exit 1 echo "" diff --git a/nu_plugin_auth/Cargo.toml b/nu_plugin_auth/Cargo.toml index c9f7c2d..7063e46 100644 --- a/nu_plugin_auth/Cargo.toml +++ b/nu_plugin_auth/Cargo.toml @@ -8,27 +8,36 @@ repository = "https://github.com/provisioning/nu_plugin_auth" license = "MIT" [dependencies] -# Path dependencies to ensure version consistency with nushell submodule -nu-plugin = { version = "0.107.1", path = "../nushell/crates/nu-plugin" } -nu-protocol = { version = "0.107.1", path = "../nushell/crates/nu-protocol", features = ["plugin"] } - -# Authentication and HTTP -jsonwebtoken = "9.3" -reqwest = { version = "0.12", features = ["json", "rustls-tls", "blocking"], default-features = false } -serde = { version = "1.0", features = ["derive"] } +nu-plugin = "0.108.0" +nu-protocol = "0.108.0" +jsonwebtoken = "=9.3" serde_json = "1.0" - -# Secure storage and password handling -keyring = "3.2" +keyring = "3.6" rpassword = "7.4" base64 = "0.22" - -# Async runtime -tokio = { version = "1.40", features = ["full"] } - -# MFA support -totp-rs = { version = "5.7", features = ["qr"] } qrcode = "0.14" -[dev-dependencies] -nu-plugin-test-support = { version = "0.107.1", path = "../nushell/crates/nu-plugin-test-support" } +[dependencies.reqwest] +version = "0.12" +features = [ + "json", + "rustls-tls", + "blocking", +] +default-features = false + +[dependencies.serde] +version = "1.0" +features = ["derive"] + +[dependencies.tokio] +version = "1.48" +features = ["full"] + +[dependencies.totp-rs] +version = "5.7" +features = ["qr"] + +[dev-dependencies.nu-plugin-test-support] +version = "0.108.0" +path = "../nushell/crates/nu-plugin-test-support" diff --git a/nu_plugin_clipboard/Cargo.lock b/nu_plugin_clipboard/Cargo.lock index b0ecb66..cc1c7ec 100644 --- a/nu_plugin_clipboard/Cargo.lock +++ b/nu_plugin_clipboard/Cargo.lock @@ -229,7 +229,7 @@ dependencies = [ "num-traits", "pure-rust-locales", "serde", - "windows-link", + "windows-link 0.1.3", ] [[package]] @@ -303,23 +303,23 @@ dependencies = [ [[package]] name = "dirs" -version = "5.0.1" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" +checksum = "c3e8aa94d75141228480295a7d0e7feb620b1a5ad9f12bc40be62411e38cce4e" dependencies = [ "dirs-sys", ] [[package]] name = "dirs-sys" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" +checksum = "e01a3366d27ee9890022452ee61b2b63a67e6f13f58900b651ff5665f0bb1fab" dependencies = [ "libc", "option-ext", "redox_users", - "windows-sys 0.48.0", + "windows-sys 0.60.2", ] [[package]] @@ -802,7 +802,9 @@ dependencies = [ [[package]] name = "nu-derive-value" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39f6844d832ae0b97396c6cd7d2a18b7ab9effdde83fbe18a17255b16d2d95e6" dependencies = [ "heck", "proc-macro-error2", @@ -813,7 +815,9 @@ dependencies = [ [[package]] name = "nu-engine" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6eb4562ca8e184393362cf9de2c4e500354e4b16b6ac31dc938f672d615a57a4" dependencies = [ "fancy-regex", "log", @@ -826,7 +830,9 @@ dependencies = [ [[package]] name = "nu-experimental" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0eb92aab3b0221658e1163aee36efef6e7018d101d7092a7747f426ecaa73a3" dependencies = [ "itertools 0.14.0", "thiserror 2.0.12", @@ -834,11 +840,15 @@ dependencies = [ [[package]] name = "nu-glob" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f4dff716f0e89268bddca91c984b3d67c8abda45039e38f5e3605c37d74b460" [[package]] name = "nu-json" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50953f931d0e6d19850ecc04814f6af2d9825cec84dd62b2c6c9539d91aec2e4" dependencies = [ "linked-hash-map", "nu-utils", @@ -849,7 +859,9 @@ dependencies = [ [[package]] name = "nu-path" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b04577311397f1dd847c37a241b4bcb6a59719c03cb23672c486f57a37dba09" dependencies = [ "dirs", "omnipath", @@ -859,7 +871,9 @@ dependencies = [ [[package]] name = "nu-plugin" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00f04d0af0c79ed0801ae9edce531cf0a3cbc9987f2ef8b18e7e758410b3495f" dependencies = [ "log", "nix", @@ -873,7 +887,9 @@ dependencies = [ [[package]] name = "nu-plugin-core" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf1f65bf58874f811ae8b61e9ff809347344b2628b0b69a09ae6d663242f25f2" dependencies = [ "interprocess", "log", @@ -882,12 +898,14 @@ dependencies = [ "rmp-serde", "serde", "serde_json", - "windows 0.56.0", + "windows 0.62.2", ] [[package]] name = "nu-plugin-protocol" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9eb646cdb01361724e2b142f3129016ed6230ec857832ba6aec56fed9377c935" dependencies = [ "nu-protocol", "nu-utils", @@ -899,7 +917,9 @@ dependencies = [ [[package]] name = "nu-protocol" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d887a2fb4c325fdb78c3eef426ab0bccab85b1f644b8ec267e586fa02933060" dependencies = [ "brotli", "bytes", @@ -931,13 +951,15 @@ dependencies = [ "thiserror 2.0.12", "typetag", "web-time", - "windows 0.56.0", - "windows-sys 0.48.0", + "windows 0.62.2", + "windows-sys 0.61.2", ] [[package]] name = "nu-system" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2499aaa5e03f648250ecad2cef2fd97723eb6a899a60871ae64479b90e9a1451" dependencies = [ "chrono", "itertools 0.14.0", @@ -950,12 +972,14 @@ dependencies = [ "procfs", "sysinfo", "web-time", - "windows 0.56.0", + "windows 0.62.2", ] [[package]] name = "nu-utils" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d43442cb69c1c9703afe66003b206b916015dd4f67d2b157bcf15ec81cba2360" dependencies = [ "byteyarn", "crossterm", @@ -1284,13 +1308,13 @@ dependencies = [ [[package]] name = "redox_users" -version = "0.4.6" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" +checksum = "a4e608c6638b9c18977b00b475ac1f28d14e84b27d8d42f70e0bf1e3dec127ac" dependencies = [ "getrandom 0.2.16", "libredox", - "thiserror 1.0.69", + "thiserror 2.0.12", ] [[package]] @@ -1912,27 +1936,29 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" -[[package]] -name = "windows" -version = "0.56.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1de69df01bdf1ead2f4ac895dc77c9351aefff65b2f3db429a343f9cbf05e132" -dependencies = [ - "windows-core 0.56.0", - "windows-targets 0.52.6", -] - [[package]] name = "windows" version = "0.61.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9babd3a767a4c1aef6900409f85f5d53ce2544ccdfaa86dad48c91782c6d6893" dependencies = [ - "windows-collections", + "windows-collections 0.2.0", "windows-core 0.61.2", - "windows-future", - "windows-link", - "windows-numerics", + "windows-future 0.2.1", + "windows-link 0.1.3", + "windows-numerics 0.2.0", +] + +[[package]] +name = "windows" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580" +dependencies = [ + "windows-collections 0.3.2", + "windows-core 0.62.2", + "windows-future 0.3.2", + "windows-numerics 0.3.1", ] [[package]] @@ -1945,15 +1971,12 @@ dependencies = [ ] [[package]] -name = "windows-core" -version = "0.56.0" +name = "windows-collections" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4698e52ed2d08f8658ab0c39512a7c00ee5fe2688c65f8c0a4f06750d729f2a6" +checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610" dependencies = [ - "windows-implement 0.56.0", - "windows-interface 0.56.0", - "windows-result 0.1.2", - "windows-targets 0.52.6", + "windows-core 0.62.2", ] [[package]] @@ -1962,11 +1985,24 @@ version = "0.61.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3" dependencies = [ - "windows-implement 0.60.0", - "windows-interface 0.59.1", - "windows-link", + "windows-implement", + "windows-interface", + "windows-link 0.1.3", "windows-result 0.3.4", - "windows-strings", + "windows-strings 0.4.2", +] + +[[package]] +name = "windows-core" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-link 0.2.1", + "windows-result 0.4.1", + "windows-strings 0.5.1", ] [[package]] @@ -1976,26 +2012,26 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc6a41e98427b19fe4b73c550f060b59fa592d7d686537eebf9385621bfbad8e" dependencies = [ "windows-core 0.61.2", - "windows-link", - "windows-threading", + "windows-link 0.1.3", + "windows-threading 0.1.0", ] [[package]] -name = "windows-implement" -version = "0.56.0" +name = "windows-future" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6fc35f58ecd95a9b71c4f2329b911016e6bec66b3f2e6a4aad86bd2e99e2f9b" +checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb" dependencies = [ - "proc-macro2", - "quote", - "syn", + "windows-core 0.62.2", + "windows-link 0.2.1", + "windows-threading 0.2.1", ] [[package]] name = "windows-implement" -version = "0.60.0" +version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" dependencies = [ "proc-macro2", "quote", @@ -2004,20 +2040,9 @@ dependencies = [ [[package]] name = "windows-interface" -version = "0.56.0" +version = "0.59.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08990546bf4edef8f431fa6326e032865f27138718c587dc21bc0265bbcb57cc" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "windows-interface" -version = "0.59.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" dependencies = [ "proc-macro2", "quote", @@ -2030,6 +2055,12 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + [[package]] name = "windows-numerics" version = "0.2.0" @@ -2037,16 +2068,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9150af68066c4c5c07ddc0ce30421554771e528bde427614c61038bc2c92c2b1" dependencies = [ "windows-core 0.61.2", - "windows-link", + "windows-link 0.1.3", ] [[package]] -name = "windows-result" -version = "0.1.2" +name = "windows-numerics" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e383302e8ec8515204254685643de10811af0ed97ea37210dc26fb0032647f8" +checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26" dependencies = [ - "windows-targets 0.52.6", + "windows-core 0.62.2", + "windows-link 0.2.1", ] [[package]] @@ -2055,7 +2087,16 @@ version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6" dependencies = [ - "windows-link", + "windows-link 0.1.3", +] + +[[package]] +name = "windows-result" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" +dependencies = [ + "windows-link 0.2.1", ] [[package]] @@ -2064,16 +2105,16 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57" dependencies = [ - "windows-link", + "windows-link 0.1.3", ] [[package]] -name = "windows-sys" -version = "0.48.0" +name = "windows-strings" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" dependencies = [ - "windows-targets 0.48.5", + "windows-link 0.2.1", ] [[package]] @@ -2103,6 +2144,15 @@ dependencies = [ "windows-targets 0.53.2", ] +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link 0.2.1", +] + [[package]] name = "windows-targets" version = "0.48.5" @@ -2156,7 +2206,16 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b66463ad2e0ea3bbf808b7f1d371311c80e115c0b71d60efc142cafbcfb057a6" dependencies = [ - "windows-link", + "windows-link 0.1.3", +] + +[[package]] +name = "windows-threading" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37" +dependencies = [ + "windows-link 0.2.1", ] [[package]] diff --git a/nu_plugin_clipboard/Cargo.toml b/nu_plugin_clipboard/Cargo.toml index 0709544..d8b40ea 100644 --- a/nu_plugin_clipboard/Cargo.toml +++ b/nu_plugin_clipboard/Cargo.toml @@ -1,13 +1,11 @@ [package] name = "nu_plugin_clipboard" license = "MIT" -authors = [ - "Motalleb Fallahnezhad ", -] +authors = ["Motalleb Fallahnezhad "] keywords = [ - "nushell", - "clipboard", - "plugin", + "nushell", + "clipboard", + "plugin", ] homepage = "https://github.com/FMotalleb/nu_plugin_clipboard" repository = "https://github.com/FMotalleb/nu_plugin_clipboard" @@ -17,16 +15,15 @@ edition = "2024" readme = "README.md" [dependencies] -nu-plugin = { version = "0.107.1", path = "../nushell/crates/nu-plugin" } -nu-protocol = { version = "0.107.1", features = ["plugin"] , path = "../nushell/crates/nu-protocol" } -arboard = { version = "3.6.1", default-features = false } -nu-json = { version = "0.107.1", path = "../nushell/crates/nu-json" } +nu-plugin = "0.108.0" +nu-protocol = "0.108.0" +nu-json = "0.108.0" + +[dependencies.arboard] +version = "3.6.1" +default-features = false [features] -default = [ -] -use-wayland = [ - "arboard/wayland-data-control", -] -debug = [ -] +default = [] +use-wayland = ["arboard/wayland-data-control"] +debug = [] diff --git a/nu_plugin_desktop_notifications/Cargo.lock b/nu_plugin_desktop_notifications/Cargo.lock index 4227827..eaaaa83 100644 --- a/nu_plugin_desktop_notifications/Cargo.lock +++ b/nu_plugin_desktop_notifications/Cargo.lock @@ -468,9 +468,9 @@ dependencies = [ [[package]] name = "dirs" -version = "5.0.1" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" +checksum = "c3e8aa94d75141228480295a7d0e7feb620b1a5ad9f12bc40be62411e38cce4e" dependencies = [ "dirs-sys", ] @@ -487,14 +487,14 @@ dependencies = [ [[package]] name = "dirs-sys" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" +checksum = "e01a3366d27ee9890022452ee61b2b63a67e6f13f58900b651ff5665f0bb1fab" dependencies = [ "libc", "option-ext", - "redox_users", - "windows-sys 0.48.0", + "redox_users 0.5.2", + "windows-sys 0.59.0", ] [[package]] @@ -504,7 +504,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" dependencies = [ "libc", - "redox_users", + "redox_users 0.4.6", "winapi", ] @@ -1065,7 +1065,9 @@ dependencies = [ [[package]] name = "nu-derive-value" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39f6844d832ae0b97396c6cd7d2a18b7ab9effdde83fbe18a17255b16d2d95e6" dependencies = [ "heck", "proc-macro-error2", @@ -1076,7 +1078,9 @@ dependencies = [ [[package]] name = "nu-engine" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6eb4562ca8e184393362cf9de2c4e500354e4b16b6ac31dc938f672d615a57a4" dependencies = [ "fancy-regex", "log", @@ -1089,7 +1093,9 @@ dependencies = [ [[package]] name = "nu-experimental" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0eb92aab3b0221658e1163aee36efef6e7018d101d7092a7747f426ecaa73a3" dependencies = [ "itertools 0.14.0", "thiserror 2.0.12", @@ -1097,11 +1103,15 @@ dependencies = [ [[package]] name = "nu-glob" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f4dff716f0e89268bddca91c984b3d67c8abda45039e38f5e3605c37d74b460" [[package]] name = "nu-path" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b04577311397f1dd847c37a241b4bcb6a59719c03cb23672c486f57a37dba09" dependencies = [ "dirs", "omnipath", @@ -1111,7 +1121,9 @@ dependencies = [ [[package]] name = "nu-plugin" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00f04d0af0c79ed0801ae9edce531cf0a3cbc9987f2ef8b18e7e758410b3495f" dependencies = [ "log", "nix 0.30.1", @@ -1125,7 +1137,9 @@ dependencies = [ [[package]] name = "nu-plugin-core" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf1f65bf58874f811ae8b61e9ff809347344b2628b0b69a09ae6d663242f25f2" dependencies = [ "interprocess", "log", @@ -1134,12 +1148,14 @@ dependencies = [ "rmp-serde", "serde", "serde_json", - "windows 0.56.0", + "windows 0.62.2", ] [[package]] name = "nu-plugin-protocol" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9eb646cdb01361724e2b142f3129016ed6230ec857832ba6aec56fed9377c935" dependencies = [ "nu-protocol", "nu-utils", @@ -1151,7 +1167,9 @@ dependencies = [ [[package]] name = "nu-protocol" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d887a2fb4c325fdb78c3eef426ab0bccab85b1f644b8ec267e586fa02933060" dependencies = [ "brotli", "bytes", @@ -1183,13 +1201,15 @@ dependencies = [ "thiserror 2.0.12", "typetag", "web-time", - "windows 0.56.0", - "windows-sys 0.48.0", + "windows 0.62.2", + "windows-sys 0.61.2", ] [[package]] name = "nu-system" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2499aaa5e03f648250ecad2cef2fd97723eb6a899a60871ae64479b90e9a1451" dependencies = [ "chrono", "itertools 0.14.0", @@ -1202,12 +1222,14 @@ dependencies = [ "procfs", "sysinfo", "web-time", - "windows 0.56.0", + "windows 0.62.2", ] [[package]] name = "nu-utils" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d43442cb69c1c9703afe66003b206b916015dd4f67d2b157bcf15ec81cba2360" dependencies = [ "byteyarn", "crossterm", @@ -1550,6 +1572,17 @@ dependencies = [ "thiserror 1.0.69", ] +[[package]] +name = "redox_users" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4e608c6638b9c18977b00b475ac1f28d14e84b27d8d42f70e0bf1e3dec127ac" +dependencies = [ + "getrandom 0.2.15", + "libredox", + "thiserror 2.0.12", +] + [[package]] name = "ref-cast" version = "1.0.23" @@ -2184,27 +2217,29 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" -[[package]] -name = "windows" -version = "0.56.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1de69df01bdf1ead2f4ac895dc77c9351aefff65b2f3db429a343f9cbf05e132" -dependencies = [ - "windows-core 0.56.0", - "windows-targets 0.52.6", -] - [[package]] name = "windows" version = "0.61.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c5ee8f3d025738cb02bad7868bbb5f8a6327501e870bf51f1b455b0a2454a419" dependencies = [ - "windows-collections", + "windows-collections 0.2.0", "windows-core 0.61.0", - "windows-future", - "windows-link", - "windows-numerics", + "windows-future 0.2.0", + "windows-link 0.1.1", + "windows-numerics 0.2.0", +] + +[[package]] +name = "windows" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580" +dependencies = [ + "windows-collections 0.3.2", + "windows-core 0.62.2", + "windows-future 0.3.2", + "windows-numerics 0.3.1", ] [[package]] @@ -2216,6 +2251,15 @@ dependencies = [ "windows-core 0.61.0", ] +[[package]] +name = "windows-collections" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610" +dependencies = [ + "windows-core 0.62.2", +] + [[package]] name = "windows-core" version = "0.52.0" @@ -2225,29 +2269,30 @@ dependencies = [ "windows-targets 0.52.6", ] -[[package]] -name = "windows-core" -version = "0.56.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4698e52ed2d08f8658ab0c39512a7c00ee5fe2688c65f8c0a4f06750d729f2a6" -dependencies = [ - "windows-implement 0.56.0", - "windows-interface 0.56.0", - "windows-result 0.1.2", - "windows-targets 0.52.6", -] - [[package]] name = "windows-core" version = "0.61.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4763c1de310c86d75a878046489e2e5ba02c649d185f21c67d4cf8a56d098980" dependencies = [ - "windows-implement 0.60.0", - "windows-interface 0.59.1", - "windows-link", + "windows-implement", + "windows-interface", + "windows-link 0.1.1", "windows-result 0.3.2", - "windows-strings", + "windows-strings 0.4.0", +] + +[[package]] +name = "windows-core" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-link 0.2.1", + "windows-result 0.4.1", + "windows-strings 0.5.1", ] [[package]] @@ -2257,25 +2302,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a1d6bbefcb7b60acd19828e1bc965da6fcf18a7e39490c5f8be71e54a19ba32" dependencies = [ "windows-core 0.61.0", - "windows-link", + "windows-link 0.1.1", ] [[package]] -name = "windows-implement" -version = "0.56.0" +name = "windows-future" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6fc35f58ecd95a9b71c4f2329b911016e6bec66b3f2e6a4aad86bd2e99e2f9b" +checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb" dependencies = [ - "proc-macro2", - "quote", - "syn", + "windows-core 0.62.2", + "windows-link 0.2.1", + "windows-threading", ] [[package]] name = "windows-implement" -version = "0.60.0" +version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" dependencies = [ "proc-macro2", "quote", @@ -2284,20 +2329,9 @@ dependencies = [ [[package]] name = "windows-interface" -version = "0.56.0" +version = "0.59.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08990546bf4edef8f431fa6326e032865f27138718c587dc21bc0265bbcb57cc" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "windows-interface" -version = "0.59.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" dependencies = [ "proc-macro2", "quote", @@ -2310,6 +2344,12 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "76840935b766e1b0a05c0066835fb9ec80071d4c09a16f6bd5f7e655e3c14c38" +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + [[package]] name = "windows-numerics" version = "0.2.0" @@ -2317,16 +2357,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9150af68066c4c5c07ddc0ce30421554771e528bde427614c61038bc2c92c2b1" dependencies = [ "windows-core 0.61.0", - "windows-link", + "windows-link 0.1.1", ] [[package]] -name = "windows-result" -version = "0.1.2" +name = "windows-numerics" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e383302e8ec8515204254685643de10811af0ed97ea37210dc26fb0032647f8" +checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26" dependencies = [ - "windows-targets 0.52.6", + "windows-core 0.62.2", + "windows-link 0.2.1", ] [[package]] @@ -2335,7 +2376,16 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c64fd11a4fd95df68efcfee5f44a294fe71b8bc6a91993e2791938abcc712252" dependencies = [ - "windows-link", + "windows-link 0.1.1", +] + +[[package]] +name = "windows-result" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" +dependencies = [ + "windows-link 0.2.1", ] [[package]] @@ -2344,16 +2394,16 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a2ba9642430ee452d5a7aa78d72907ebe8cfda358e8cb7918a2050581322f97" dependencies = [ - "windows-link", + "windows-link 0.1.1", ] [[package]] -name = "windows-sys" -version = "0.48.0" +name = "windows-strings" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" dependencies = [ - "windows-targets 0.48.5", + "windows-link 0.2.1", ] [[package]] @@ -2375,18 +2425,12 @@ dependencies = [ ] [[package]] -name = "windows-targets" -version = "0.48.5" +name = "windows-sys" +version = "0.61.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" dependencies = [ - "windows_aarch64_gnullvm 0.48.5", - "windows_aarch64_msvc 0.48.5", - "windows_i686_gnu 0.48.5", - "windows_i686_msvc 0.48.5", - "windows_x86_64_gnu 0.48.5", - "windows_x86_64_gnullvm 0.48.5", - "windows_x86_64_msvc 0.48.5", + "windows-link 0.2.1", ] [[package]] @@ -2421,6 +2465,15 @@ dependencies = [ "windows_x86_64_msvc 0.53.0", ] +[[package]] +name = "windows-threading" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37" +dependencies = [ + "windows-link 0.2.1", +] + [[package]] name = "windows-version" version = "0.1.2" @@ -2430,12 +2483,6 @@ dependencies = [ "windows-targets 0.53.0", ] -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" - [[package]] name = "windows_aarch64_gnullvm" version = "0.52.6" @@ -2448,12 +2495,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764" -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" - [[package]] name = "windows_aarch64_msvc" version = "0.52.6" @@ -2466,12 +2507,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c" -[[package]] -name = "windows_i686_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" - [[package]] name = "windows_i686_gnu" version = "0.52.6" @@ -2496,12 +2531,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11" -[[package]] -name = "windows_i686_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" - [[package]] name = "windows_i686_msvc" version = "0.52.6" @@ -2514,12 +2543,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d" -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" - [[package]] name = "windows_x86_64_gnu" version = "0.52.6" @@ -2532,12 +2555,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba" -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" - [[package]] name = "windows_x86_64_gnullvm" version = "0.52.6" @@ -2550,12 +2567,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57" -[[package]] -name = "windows_x86_64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" - [[package]] name = "windows_x86_64_msvc" version = "0.52.6" diff --git a/nu_plugin_desktop_notifications/Cargo.toml b/nu_plugin_desktop_notifications/Cargo.toml index baf6294..580f481 100644 --- a/nu_plugin_desktop_notifications/Cargo.toml +++ b/nu_plugin_desktop_notifications/Cargo.toml @@ -1,22 +1,23 @@ [dependencies] -nu-plugin = { version = "0.107.1", path = "../nushell/crates/nu-plugin" } +nu-plugin = "0.108.0" +nu-protocol = "0.108.0" [dependencies.notify-rust] version = "4.11.7" -[dependencies.nu-protocol] -features = ["plugin"] -version = "0.107.0" -path = "../nushell/crates/nu-protocol" - [package] authors = ["Motalleb Fallahnezhad "] description = "A nushell plugin to send desktop notifications" edition = "2024" homepage = "https://github.com/FMotalleb/nu_plugin_desktop_notifications" -keywords = ["nushell", "desktop", "notification", "plugin"] +keywords = [ + "nushell", + "desktop", + "notification", + "plugin", +] license = "MIT" name = "nu_plugin_desktop_notifications" readme = "README.md" repository = "https://github.com/FMotalleb/nu_plugin_desktop_notifications" -version = "1.2.12" \ No newline at end of file +version = "1.2.12" diff --git a/nu_plugin_fluent/Cargo.lock b/nu_plugin_fluent/Cargo.lock index 6bc3878..99d7adc 100644 --- a/nu_plugin_fluent/Cargo.lock +++ b/nu_plugin_fluent/Cargo.lock @@ -205,7 +205,7 @@ dependencies = [ "num-traits", "pure-rust-locales", "serde", - "windows-link 0.2.0", + "windows-link 0.2.1", ] [[package]] @@ -270,23 +270,23 @@ dependencies = [ [[package]] name = "dirs" -version = "5.0.1" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" +checksum = "c3e8aa94d75141228480295a7d0e7feb620b1a5ad9f12bc40be62411e38cce4e" dependencies = [ "dirs-sys", ] [[package]] name = "dirs-sys" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" +checksum = "e01a3366d27ee9890022452ee61b2b63a67e6f13f58900b651ff5665f0bb1fab" dependencies = [ "libc", "option-ext", "redox_users", - "windows-sys 0.48.0", + "windows-sys 0.61.0", ] [[package]] @@ -493,7 +493,7 @@ dependencies = [ "js-sys", "log", "wasm-bindgen", - "windows-core 0.62.0", + "windows-core 0.62.2", ] [[package]] @@ -507,9 +507,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.11.4" +version = "2.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b0f83760fb341a774ed326568e19f5a863af4a952def8c39f9ab92fd95b88e5" +checksum = "6717a8d2a5a929a1a2eb43a12812498ed141a0bcfb7e8f7844fbdbe4303bba9f" dependencies = [ "equivalent", "hashbrown 0.16.0", @@ -804,7 +804,9 @@ dependencies = [ [[package]] name = "nu-derive-value" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39f6844d832ae0b97396c6cd7d2a18b7ab9effdde83fbe18a17255b16d2d95e6" dependencies = [ "heck", "proc-macro-error2", @@ -815,7 +817,9 @@ dependencies = [ [[package]] name = "nu-engine" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6eb4562ca8e184393362cf9de2c4e500354e4b16b6ac31dc938f672d615a57a4" dependencies = [ "fancy-regex", "log", @@ -828,7 +832,9 @@ dependencies = [ [[package]] name = "nu-experimental" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0eb92aab3b0221658e1163aee36efef6e7018d101d7092a7747f426ecaa73a3" dependencies = [ "itertools 0.14.0", "thiserror 2.0.16", @@ -836,11 +842,15 @@ dependencies = [ [[package]] name = "nu-glob" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f4dff716f0e89268bddca91c984b3d67c8abda45039e38f5e3605c37d74b460" [[package]] name = "nu-path" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b04577311397f1dd847c37a241b4bcb6a59719c03cb23672c486f57a37dba09" dependencies = [ "dirs", "omnipath", @@ -850,7 +860,9 @@ dependencies = [ [[package]] name = "nu-plugin" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00f04d0af0c79ed0801ae9edce531cf0a3cbc9987f2ef8b18e7e758410b3495f" dependencies = [ "log", "nix", @@ -864,7 +876,9 @@ dependencies = [ [[package]] name = "nu-plugin-core" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf1f65bf58874f811ae8b61e9ff809347344b2628b0b69a09ae6d663242f25f2" dependencies = [ "interprocess", "log", @@ -873,12 +887,14 @@ dependencies = [ "rmp-serde", "serde", "serde_json", - "windows 0.56.0", + "windows 0.62.2", ] [[package]] name = "nu-plugin-protocol" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9eb646cdb01361724e2b142f3129016ed6230ec857832ba6aec56fed9377c935" dependencies = [ "nu-protocol", "nu-utils", @@ -890,7 +906,9 @@ dependencies = [ [[package]] name = "nu-protocol" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d887a2fb4c325fdb78c3eef426ab0bccab85b1f644b8ec267e586fa02933060" dependencies = [ "brotli", "bytes", @@ -922,13 +940,15 @@ dependencies = [ "thiserror 2.0.16", "typetag", "web-time", - "windows 0.56.0", - "windows-sys 0.48.0", + "windows 0.62.2", + "windows-sys 0.61.0", ] [[package]] name = "nu-system" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2499aaa5e03f648250ecad2cef2fd97723eb6a899a60871ae64479b90e9a1451" dependencies = [ "chrono", "itertools 0.14.0", @@ -941,12 +961,14 @@ dependencies = [ "procfs", "sysinfo", "web-time", - "windows 0.56.0", + "windows 0.62.2", ] [[package]] name = "nu-utils" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d43442cb69c1c9703afe66003b206b916015dd4f67d2b157bcf15ec81cba2360" dependencies = [ "byteyarn", "crossterm", @@ -1187,13 +1209,13 @@ dependencies = [ [[package]] name = "redox_users" -version = "0.4.6" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" +checksum = "a4e608c6638b9c18977b00b475ac1f28d14e84b27d8d42f70e0bf1e3dec127ac" dependencies = [ "getrandom 0.2.16", "libredox", - "thiserror 1.0.69", + "thiserror 2.0.16", ] [[package]] @@ -1504,9 +1526,9 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.22.0" +version = "3.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84fa4d11fadde498443cca10fd3ac23c951f0dc59e080e9f4b93d4df4e4eea53" +checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16" dependencies = [ "fastrand", "getrandom 0.3.3", @@ -1802,27 +1824,29 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" -[[package]] -name = "windows" -version = "0.56.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1de69df01bdf1ead2f4ac895dc77c9351aefff65b2f3db429a343f9cbf05e132" -dependencies = [ - "windows-core 0.56.0", - "windows-targets 0.52.6", -] - [[package]] name = "windows" version = "0.61.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9babd3a767a4c1aef6900409f85f5d53ce2544ccdfaa86dad48c91782c6d6893" dependencies = [ - "windows-collections", + "windows-collections 0.2.0", "windows-core 0.61.2", - "windows-future", + "windows-future 0.2.1", "windows-link 0.1.3", - "windows-numerics", + "windows-numerics 0.2.0", +] + +[[package]] +name = "windows" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580" +dependencies = [ + "windows-collections 0.3.2", + "windows-core 0.62.2", + "windows-future 0.3.2", + "windows-numerics 0.3.1", ] [[package]] @@ -1835,15 +1859,12 @@ dependencies = [ ] [[package]] -name = "windows-core" -version = "0.56.0" +name = "windows-collections" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4698e52ed2d08f8658ab0c39512a7c00ee5fe2688c65f8c0a4f06750d729f2a6" +checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610" dependencies = [ - "windows-implement 0.56.0", - "windows-interface 0.56.0", - "windows-result 0.1.2", - "windows-targets 0.52.6", + "windows-core 0.62.2", ] [[package]] @@ -1852,8 +1873,8 @@ version = "0.61.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3" dependencies = [ - "windows-implement 0.60.0", - "windows-interface 0.59.1", + "windows-implement", + "windows-interface", "windows-link 0.1.3", "windows-result 0.3.4", "windows-strings 0.4.2", @@ -1861,15 +1882,15 @@ dependencies = [ [[package]] name = "windows-core" -version = "0.62.0" +version = "0.62.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57fe7168f7de578d2d8a05b07fd61870d2e73b4020e9f49aa00da8471723497c" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" dependencies = [ - "windows-implement 0.60.0", - "windows-interface 0.59.1", - "windows-link 0.2.0", - "windows-result 0.4.0", - "windows-strings 0.5.0", + "windows-implement", + "windows-interface", + "windows-link 0.2.1", + "windows-result 0.4.1", + "windows-strings 0.5.1", ] [[package]] @@ -1880,25 +1901,25 @@ checksum = "fc6a41e98427b19fe4b73c550f060b59fa592d7d686537eebf9385621bfbad8e" dependencies = [ "windows-core 0.61.2", "windows-link 0.1.3", - "windows-threading", + "windows-threading 0.1.0", ] [[package]] -name = "windows-implement" -version = "0.56.0" +name = "windows-future" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6fc35f58ecd95a9b71c4f2329b911016e6bec66b3f2e6a4aad86bd2e99e2f9b" +checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb" dependencies = [ - "proc-macro2", - "quote", - "syn", + "windows-core 0.62.2", + "windows-link 0.2.1", + "windows-threading 0.2.1", ] [[package]] name = "windows-implement" -version = "0.60.0" +version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" dependencies = [ "proc-macro2", "quote", @@ -1907,20 +1928,9 @@ dependencies = [ [[package]] name = "windows-interface" -version = "0.56.0" +version = "0.59.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08990546bf4edef8f431fa6326e032865f27138718c587dc21bc0265bbcb57cc" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "windows-interface" -version = "0.59.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" dependencies = [ "proc-macro2", "quote", @@ -1935,9 +1945,9 @@ checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" [[package]] name = "windows-link" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45e46c0661abb7180e7b9c281db115305d49ca1709ab8242adf09666d2173c65" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" [[package]] name = "windows-numerics" @@ -1950,12 +1960,13 @@ dependencies = [ ] [[package]] -name = "windows-result" -version = "0.1.2" +name = "windows-numerics" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e383302e8ec8515204254685643de10811af0ed97ea37210dc26fb0032647f8" +checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26" dependencies = [ - "windows-targets 0.52.6", + "windows-core 0.62.2", + "windows-link 0.2.1", ] [[package]] @@ -1969,11 +1980,11 @@ dependencies = [ [[package]] name = "windows-result" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7084dcc306f89883455a206237404d3eaf961e5bd7e0f312f7c91f57eb44167f" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" dependencies = [ - "windows-link 0.2.0", + "windows-link 0.2.1", ] [[package]] @@ -1987,20 +1998,11 @@ dependencies = [ [[package]] name = "windows-strings" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7218c655a553b0bed4426cf54b20d7ba363ef543b52d515b3e48d7fd55318dda" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" dependencies = [ - "windows-link 0.2.0", -] - -[[package]] -name = "windows-sys" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" -dependencies = [ - "windows-targets 0.48.5", + "windows-link 0.2.1", ] [[package]] @@ -2036,22 +2038,7 @@ version = "0.61.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e201184e40b2ede64bc2ea34968b28e33622acdbbf37104f0e4a33f7abe657aa" dependencies = [ - "windows-link 0.2.0", -] - -[[package]] -name = "windows-targets" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" -dependencies = [ - "windows_aarch64_gnullvm 0.48.5", - "windows_aarch64_msvc 0.48.5", - "windows_i686_gnu 0.48.5", - "windows_i686_msvc 0.48.5", - "windows_x86_64_gnu 0.48.5", - "windows_x86_64_gnullvm 0.48.5", - "windows_x86_64_msvc 0.48.5", + "windows-link 0.2.1", ] [[package]] @@ -2097,10 +2084,13 @@ dependencies = [ ] [[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.5" +name = "windows-threading" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" +checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37" +dependencies = [ + "windows-link 0.2.1", +] [[package]] name = "windows_aarch64_gnullvm" @@ -2114,12 +2104,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764" -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" - [[package]] name = "windows_aarch64_msvc" version = "0.52.6" @@ -2132,12 +2116,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c" -[[package]] -name = "windows_i686_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" - [[package]] name = "windows_i686_gnu" version = "0.52.6" @@ -2162,12 +2140,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11" -[[package]] -name = "windows_i686_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" - [[package]] name = "windows_i686_msvc" version = "0.52.6" @@ -2180,12 +2152,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d" -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" - [[package]] name = "windows_x86_64_gnu" version = "0.52.6" @@ -2198,12 +2164,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba" -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" - [[package]] name = "windows_x86_64_gnullvm" version = "0.52.6" @@ -2216,12 +2176,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57" -[[package]] -name = "windows_x86_64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" - [[package]] name = "windows_x86_64_msvc" version = "0.52.6" diff --git a/nu_plugin_fluent/Cargo.toml b/nu_plugin_fluent/Cargo.toml index 18231b5..2beb671 100644 --- a/nu_plugin_fluent/Cargo.toml +++ b/nu_plugin_fluent/Cargo.toml @@ -5,22 +5,33 @@ edition = "2021" description = "Nushell plugin for Fluent i18n integration" authors = ["JesΓΊs PΓ©rex "] license = "MIT OR Apache-2.0" -keywords = ["nushell", "plugin", "i18n", "fluent", "localization"] +keywords = [ + "nushell", + "plugin", + "i18n", + "fluent", + "localization", +] repository = "https://github.com/JesusPerez/nu_plugin_fluent" -categories = ["localization", "command-line-utilities"] +categories = [ + "localization", + "command-line-utilities", +] [dependencies] -# for local development, you can use a path dependency -nu-plugin = { version = "0.107.1", path = "../nushell/crates/nu-plugin" } -nu-protocol = { version = "0.107.1", path = "../nushell/crates/nu-protocol", features = ["plugin"] } -serde = { version = "1.0", features = ["derive"] } +nu-plugin = "0.108.0" +nu-protocol = "0.108.0" serde_json = "1.0" fluent = "0.17" fluent-bundle = "0.16" fluent-syntax = "0.12" unic-langid = "0.9" thiserror = "2.0" -indexmap = "2.11" +indexmap = "2.12" + +[dependencies.serde] +version = "1.0" +features = ["derive"] [dev-dependencies] -tempfile = "3.22" +tempfile = "3.23" diff --git a/nu_plugin_hashes/Cargo.lock b/nu_plugin_hashes/Cargo.lock index 6acfff0..c4ee4fa 100644 --- a/nu_plugin_hashes/Cargo.lock +++ b/nu_plugin_hashes/Cargo.lock @@ -287,7 +287,7 @@ dependencies = [ "num-traits", "pure-rust-locales", "serde", - "windows-link", + "windows-link 0.1.3", ] [[package]] @@ -417,23 +417,23 @@ dependencies = [ [[package]] name = "dirs" -version = "5.0.1" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" +checksum = "c3e8aa94d75141228480295a7d0e7feb620b1a5ad9f12bc40be62411e38cce4e" dependencies = [ "dirs-sys", ] [[package]] name = "dirs-sys" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" +checksum = "e01a3366d27ee9890022452ee61b2b63a67e6f13f58900b651ff5665f0bb1fab" dependencies = [ "libc", "option-ext", "redox_users", - "windows-sys 0.48.0", + "windows-sys 0.60.2", ] [[package]] @@ -924,42 +924,69 @@ dependencies = [ [[package]] name = "nu-ansi-term" -version = "0.50.1" +version = "0.50.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4a28e057d01f97e61255210fcff094d74ed0466038633e95017f5beb68e4399" +checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.60.2", ] [[package]] name = "nu-cmd-base" -version = "0.107.1" +version = "0.108.0" dependencies = [ "indexmap", "miette", - "nu-engine", - "nu-parser", - "nu-path", - "nu-protocol", + "nu-engine 0.108.0", + "nu-parser 0.108.0", + "nu-path 0.108.0", + "nu-protocol 0.108.0", +] + +[[package]] +name = "nu-cmd-base" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f11a075d67bb23a71ca54079b182174563c56dc0eb9418cbfe16e3a2015f871" +dependencies = [ + "indexmap", + "miette", + "nu-engine 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-parser 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-path 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-protocol 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "nu-cmd-lang" -version = "0.107.1" +version = "0.108.0" dependencies = [ "itertools 0.14.0", - "nu-cmd-base", - "nu-engine", - "nu-experimental", - "nu-parser", - "nu-protocol", - "nu-utils", + "nu-cmd-base 0.108.0", + "nu-engine 0.108.0", + "nu-experimental 0.108.0", + "nu-parser 0.108.0", + "nu-protocol 0.108.0", + "nu-utils 0.108.0", "shadow-rs", ] [[package]] name = "nu-derive-value" -version = "0.107.1" +version = "0.108.0" +dependencies = [ + "heck", + "proc-macro-error2", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "nu-derive-value" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39f6844d832ae0b97396c6cd7d2a18b7ab9effdde83fbe18a17255b16d2d95e6" dependencies = [ "heck", "proc-macro-error2", @@ -970,20 +997,45 @@ dependencies = [ [[package]] name = "nu-engine" -version = "0.107.1" +version = "0.108.0" dependencies = [ "fancy-regex", "log", - "nu-experimental", - "nu-glob", - "nu-path", - "nu-protocol", - "nu-utils", + "nu-experimental 0.108.0", + "nu-glob 0.108.0", + "nu-path 0.108.0", + "nu-protocol 0.108.0", + "nu-utils 0.108.0", +] + +[[package]] +name = "nu-engine" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6eb4562ca8e184393362cf9de2c4e500354e4b16b6ac31dc938f672d615a57a4" +dependencies = [ + "fancy-regex", + "log", + "nu-experimental 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-glob 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-path 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-protocol 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-utils 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "nu-experimental" -version = "0.107.1" +version = "0.108.0" +dependencies = [ + "itertools 0.14.0", + "thiserror 2.0.12", +] + +[[package]] +name = "nu-experimental" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0eb92aab3b0221658e1163aee36efef6e7018d101d7092a7747f426ecaa73a3" dependencies = [ "itertools 0.14.0", "thiserror 2.0.12", @@ -991,27 +1043,62 @@ dependencies = [ [[package]] name = "nu-glob" -version = "0.107.1" +version = "0.108.0" + +[[package]] +name = "nu-glob" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f4dff716f0e89268bddca91c984b3d67c8abda45039e38f5e3605c37d74b460" [[package]] name = "nu-parser" -version = "0.107.1" +version = "0.108.0" dependencies = [ "bytesize", "chrono", "itertools 0.14.0", "log", - "nu-engine", - "nu-path", + "nu-engine 0.108.0", + "nu-path 0.108.0", "nu-plugin-engine", - "nu-protocol", - "nu-utils", + "nu-protocol 0.108.0", + "nu-utils 0.108.0", + "serde_json", +] + +[[package]] +name = "nu-parser" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8070ad76e9909b43546e16239e951e5e32819e319789fb4d4615333c7f2a7f7" +dependencies = [ + "bytesize", + "chrono", + "itertools 0.14.0", + "log", + "nu-engine 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-path 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-protocol 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-utils 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json", ] [[package]] name = "nu-path" -version = "0.107.1" +version = "0.108.0" +dependencies = [ + "dirs", + "omnipath", + "pwd", + "ref-cast", +] + +[[package]] +name = "nu-path" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b04577311397f1dd847c37a241b4bcb6a59719c03cb23672c486f57a37dba09" dependencies = [ "dirs", "omnipath", @@ -1021,53 +1108,99 @@ dependencies = [ [[package]] name = "nu-plugin" -version = "0.107.1" +version = "0.108.0" dependencies = [ "log", "nix", - "nu-engine", - "nu-plugin-core", - "nu-plugin-protocol", - "nu-protocol", - "nu-utils", + "nu-engine 0.108.0", + "nu-plugin-core 0.108.0", + "nu-plugin-protocol 0.108.0", + "nu-protocol 0.108.0", + "nu-utils 0.108.0", + "thiserror 2.0.12", +] + +[[package]] +name = "nu-plugin" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00f04d0af0c79ed0801ae9edce531cf0a3cbc9987f2ef8b18e7e758410b3495f" +dependencies = [ + "log", + "nix", + "nu-engine 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-plugin-core 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-plugin-protocol 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-protocol 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-utils 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", "thiserror 2.0.12", ] [[package]] name = "nu-plugin-core" -version = "0.107.1" +version = "0.108.0" dependencies = [ "interprocess", "log", - "nu-plugin-protocol", - "nu-protocol", + "nu-plugin-protocol 0.108.0", + "nu-protocol 0.108.0", "rmp-serde", "serde", "serde_json", - "windows 0.56.0", + "windows 0.62.2", +] + +[[package]] +name = "nu-plugin-core" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf1f65bf58874f811ae8b61e9ff809347344b2628b0b69a09ae6d663242f25f2" +dependencies = [ + "interprocess", + "log", + "nu-plugin-protocol 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-protocol 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rmp-serde", + "serde", + "serde_json", + "windows 0.62.2", ] [[package]] name = "nu-plugin-engine" -version = "0.107.1" +version = "0.108.0" dependencies = [ "log", - "nu-engine", - "nu-plugin-core", - "nu-plugin-protocol", - "nu-protocol", - "nu-system", - "nu-utils", + "nu-engine 0.108.0", + "nu-plugin-core 0.108.0", + "nu-plugin-protocol 0.108.0", + "nu-protocol 0.108.0", + "nu-system 0.108.0", + "nu-utils 0.108.0", "serde", - "windows 0.56.0", + "windows 0.62.2", ] [[package]] name = "nu-plugin-protocol" -version = "0.107.1" +version = "0.108.0" dependencies = [ - "nu-protocol", - "nu-utils", + "nu-protocol 0.108.0", + "nu-utils 0.108.0", + "rmp-serde", + "semver", + "serde", + "typetag", +] + +[[package]] +name = "nu-plugin-protocol" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9eb646cdb01361724e2b142f3129016ed6230ec857832ba6aec56fed9377c935" +dependencies = [ + "nu-protocol 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-utils 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", "rmp-serde", "semver", "serde", @@ -1076,23 +1209,23 @@ dependencies = [ [[package]] name = "nu-plugin-test-support" -version = "0.107.1" +version = "0.108.0" dependencies = [ "nu-ansi-term", "nu-cmd-lang", - "nu-engine", - "nu-parser", - "nu-plugin", - "nu-plugin-core", + "nu-engine 0.108.0", + "nu-parser 0.108.0", + "nu-plugin 0.108.0", + "nu-plugin-core 0.108.0", "nu-plugin-engine", - "nu-plugin-protocol", - "nu-protocol", + "nu-plugin-protocol 0.108.0", + "nu-protocol 0.108.0", "similar", ] [[package]] name = "nu-protocol" -version = "0.107.1" +version = "0.108.0" dependencies = [ "brotli", "bytes", @@ -1108,12 +1241,12 @@ dependencies = [ "memchr", "miette", "nix", - "nu-derive-value", - "nu-experimental", - "nu-glob", - "nu-path", - "nu-system", - "nu-utils", + "nu-derive-value 0.108.0", + "nu-experimental 0.108.0", + "nu-glob 0.108.0", + "nu-path 0.108.0", + "nu-system 0.108.0", + "nu-utils 0.108.0", "num-format", "os_pipe", "rmp-serde", @@ -1124,13 +1257,53 @@ dependencies = [ "thiserror 2.0.12", "typetag", "web-time", - "windows 0.56.0", - "windows-sys 0.48.0", + "windows 0.62.2", + "windows-sys 0.61.2", +] + +[[package]] +name = "nu-protocol" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d887a2fb4c325fdb78c3eef426ab0bccab85b1f644b8ec267e586fa02933060" +dependencies = [ + "brotli", + "bytes", + "chrono", + "chrono-humanize", + "dirs", + "dirs-sys", + "fancy-regex", + "heck", + "indexmap", + "log", + "lru", + "memchr", + "miette", + "nix", + "nu-derive-value 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-experimental 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-glob 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-path 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-system 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-utils 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "num-format", + "os_pipe", + "rmp-serde", + "serde", + "serde_json", + "strum", + "strum_macros", + "thiserror 2.0.12", + "typetag", + "web-time", + "windows 0.62.2", + "windows-sys 0.61.2", ] [[package]] name = "nu-system" -version = "0.107.1" +version = "0.108.0" dependencies = [ "chrono", "itertools 0.14.0", @@ -1143,12 +1316,55 @@ dependencies = [ "procfs", "sysinfo", "web-time", - "windows 0.56.0", + "windows 0.62.2", +] + +[[package]] +name = "nu-system" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2499aaa5e03f648250ecad2cef2fd97723eb6a899a60871ae64479b90e9a1451" +dependencies = [ + "chrono", + "itertools 0.14.0", + "libc", + "libproc", + "log", + "mach2", + "nix", + "ntapi", + "procfs", + "sysinfo", + "web-time", + "windows 0.62.2", ] [[package]] name = "nu-utils" -version = "0.107.1" +version = "0.108.0" +dependencies = [ + "byteyarn", + "crossterm", + "crossterm_winapi", + "fancy-regex", + "lean_string", + "log", + "lscolors", + "memchr", + "nix", + "num-format", + "serde", + "serde_json", + "strip-ansi-escapes", + "sys-locale", + "unicase", +] + +[[package]] +name = "nu-utils" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d43442cb69c1c9703afe66003b206b916015dd4f67d2b157bcf15ec81cba2360" dependencies = [ "byteyarn", "crossterm", @@ -1182,10 +1398,10 @@ dependencies = [ "jh", "md2", "md4", - "nu-cmd-base", - "nu-plugin", + "nu-cmd-base 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-plugin 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", "nu-plugin-test-support", - "nu-protocol", + "nu-protocol 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", "ripemd", "sha1", "sha2", @@ -1427,13 +1643,13 @@ dependencies = [ [[package]] name = "redox_users" -version = "0.4.6" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" +checksum = "a4e608c6638b9c18977b00b475ac1f28d14e84b27d8d42f70e0bf1e3dec127ac" dependencies = [ "getrandom", "libredox", - "thiserror 1.0.69", + "thiserror 2.0.12", ] [[package]] @@ -2153,27 +2369,29 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" -[[package]] -name = "windows" -version = "0.56.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1de69df01bdf1ead2f4ac895dc77c9351aefff65b2f3db429a343f9cbf05e132" -dependencies = [ - "windows-core 0.56.0", - "windows-targets 0.52.6", -] - [[package]] name = "windows" version = "0.61.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9babd3a767a4c1aef6900409f85f5d53ce2544ccdfaa86dad48c91782c6d6893" dependencies = [ - "windows-collections", + "windows-collections 0.2.0", "windows-core 0.61.2", - "windows-future", - "windows-link", - "windows-numerics", + "windows-future 0.2.1", + "windows-link 0.1.3", + "windows-numerics 0.2.0", +] + +[[package]] +name = "windows" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580" +dependencies = [ + "windows-collections 0.3.2", + "windows-core 0.62.2", + "windows-future 0.3.2", + "windows-numerics 0.3.1", ] [[package]] @@ -2186,15 +2404,12 @@ dependencies = [ ] [[package]] -name = "windows-core" -version = "0.56.0" +name = "windows-collections" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4698e52ed2d08f8658ab0c39512a7c00ee5fe2688c65f8c0a4f06750d729f2a6" +checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610" dependencies = [ - "windows-implement 0.56.0", - "windows-interface 0.56.0", - "windows-result 0.1.2", - "windows-targets 0.52.6", + "windows-core 0.62.2", ] [[package]] @@ -2203,11 +2418,24 @@ version = "0.61.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3" dependencies = [ - "windows-implement 0.60.0", - "windows-interface 0.59.1", - "windows-link", + "windows-implement", + "windows-interface", + "windows-link 0.1.3", "windows-result 0.3.4", - "windows-strings", + "windows-strings 0.4.2", +] + +[[package]] +name = "windows-core" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-link 0.2.1", + "windows-result 0.4.1", + "windows-strings 0.5.1", ] [[package]] @@ -2217,26 +2445,26 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc6a41e98427b19fe4b73c550f060b59fa592d7d686537eebf9385621bfbad8e" dependencies = [ "windows-core 0.61.2", - "windows-link", - "windows-threading", + "windows-link 0.1.3", + "windows-threading 0.1.0", ] [[package]] -name = "windows-implement" -version = "0.56.0" +name = "windows-future" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6fc35f58ecd95a9b71c4f2329b911016e6bec66b3f2e6a4aad86bd2e99e2f9b" +checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb" dependencies = [ - "proc-macro2", - "quote", - "syn", + "windows-core 0.62.2", + "windows-link 0.2.1", + "windows-threading 0.2.1", ] [[package]] name = "windows-implement" -version = "0.60.0" +version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" dependencies = [ "proc-macro2", "quote", @@ -2245,20 +2473,9 @@ dependencies = [ [[package]] name = "windows-interface" -version = "0.56.0" +version = "0.59.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08990546bf4edef8f431fa6326e032865f27138718c587dc21bc0265bbcb57cc" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "windows-interface" -version = "0.59.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" dependencies = [ "proc-macro2", "quote", @@ -2271,6 +2488,12 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + [[package]] name = "windows-numerics" version = "0.2.0" @@ -2278,16 +2501,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9150af68066c4c5c07ddc0ce30421554771e528bde427614c61038bc2c92c2b1" dependencies = [ "windows-core 0.61.2", - "windows-link", + "windows-link 0.1.3", ] [[package]] -name = "windows-result" -version = "0.1.2" +name = "windows-numerics" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e383302e8ec8515204254685643de10811af0ed97ea37210dc26fb0032647f8" +checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26" dependencies = [ - "windows-targets 0.52.6", + "windows-core 0.62.2", + "windows-link 0.2.1", ] [[package]] @@ -2296,7 +2520,16 @@ version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6" dependencies = [ - "windows-link", + "windows-link 0.1.3", +] + +[[package]] +name = "windows-result" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" +dependencies = [ + "windows-link 0.2.1", ] [[package]] @@ -2305,16 +2538,16 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57" dependencies = [ - "windows-link", + "windows-link 0.1.3", ] [[package]] -name = "windows-sys" -version = "0.48.0" +name = "windows-strings" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" dependencies = [ - "windows-targets 0.48.5", + "windows-link 0.2.1", ] [[package]] @@ -2345,18 +2578,12 @@ dependencies = [ ] [[package]] -name = "windows-targets" -version = "0.48.5" +name = "windows-sys" +version = "0.61.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" dependencies = [ - "windows_aarch64_gnullvm 0.48.5", - "windows_aarch64_msvc 0.48.5", - "windows_i686_gnu 0.48.5", - "windows_i686_msvc 0.48.5", - "windows_x86_64_gnu 0.48.5", - "windows_x86_64_gnullvm 0.48.5", - "windows_x86_64_msvc 0.48.5", + "windows-link 0.2.1", ] [[package]] @@ -2397,14 +2624,17 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b66463ad2e0ea3bbf808b7f1d371311c80e115c0b71d60efc142cafbcfb057a6" dependencies = [ - "windows-link", + "windows-link 0.1.3", ] [[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.5" +name = "windows-threading" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" +checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37" +dependencies = [ + "windows-link 0.2.1", +] [[package]] name = "windows_aarch64_gnullvm" @@ -2418,12 +2648,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764" -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" - [[package]] name = "windows_aarch64_msvc" version = "0.52.6" @@ -2436,12 +2660,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c" -[[package]] -name = "windows_i686_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" - [[package]] name = "windows_i686_gnu" version = "0.52.6" @@ -2466,12 +2684,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11" -[[package]] -name = "windows_i686_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" - [[package]] name = "windows_i686_msvc" version = "0.52.6" @@ -2484,12 +2696,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d" -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" - [[package]] name = "windows_x86_64_gnu" version = "0.52.6" @@ -2502,12 +2708,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba" -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" - [[package]] name = "windows_x86_64_gnullvm" version = "0.52.6" @@ -2520,12 +2720,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57" -[[package]] -name = "windows_x86_64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" - [[package]] name = "windows_x86_64_msvc" version = "0.52.6" diff --git a/nu_plugin_hashes/Cargo.toml b/nu_plugin_hashes/Cargo.toml index 5947450..e4dc5e2 100644 --- a/nu_plugin_hashes/Cargo.toml +++ b/nu_plugin_hashes/Cargo.toml @@ -1,7 +1,11 @@ [package] name = "nu_plugin_hashes" description = "A Nushell plugin that adds 63 cryptographic hash functions from Hashes project" -keywords = ["nu", "plugin", "hash"] +keywords = [ + "nu", + "plugin", + "hash", +] categories = ["algorithms"] repository = "https://github.com/ArmoredPony/nu_plugin_hashes" license = "MIT" @@ -33,64 +37,189 @@ default = [ ] [dependencies] -nu-cmd-base = { version = "0.107.1", path = "../nushell/crates/nu-cmd-base" } -nu-plugin = { version = "0.107.1", path = "../nushell/crates/nu-plugin" } -nu-protocol = { version = "0.107.1", path = "../nushell/crates/nu-protocol" } +nu-cmd-base = "0.108.0" +nu-plugin = "0.108.0" +nu-protocol = "0.108.0" digest = "0.10.7" -ascon-hash = { version = "0.3.1", optional = true } -belt-hash = { version = "0.1.1", optional = true } -blake2 = { version = "0.10.6", optional = true } -blake3 = { version = "1.8.2", optional = true, default-features = false, features = [ + +[dependencies.ascon-hash] +version = "0.3.1" +optional = true + +[dependencies.belt-hash] +version = "0.1.1" +optional = true + +[dependencies.blake2] +version = "0.10.6" +optional = true + +[dependencies.blake3] +version = "1.8.2" +optional = true +default-features = false +features = [ "std", "traits-preview", -] } -fsb = { version = "0.1.3", optional = true } -gost94 = { version = "0.10.4", optional = true } -groestl = { version = "0.10.1", optional = true } -jh = { version = "0.1.0", optional = true } -md2 = { version = "0.10.2", optional = true } -md4 = { version = "0.10.2", optional = true } -ripemd = { version = "0.1.3", optional = true } -sha1 = { version = "0.10.6", optional = true } -sha2 = { version = "0.10.9", optional = true } -sha3 = { version = "0.10.8", optional = true } -shabal = { version = "0.4.1", optional = true } -skein = { version = "0.1.1", optional = true } -sm3 = { version = "0.4.2", optional = true } -streebog = { version = "0.10.2", optional = true } -tiger = { version = "0.2.1", optional = true } -whirlpool = { version = "0.10.4", optional = true } +] + +[dependencies.fsb] +version = "0.1.3" +optional = true + +[dependencies.gost94] +version = "0.10.4" +optional = true + +[dependencies.groestl] +version = "0.10.1" +optional = true + +[dependencies.jh] +version = "0.1.0" +optional = true + +[dependencies.md2] +version = "0.10.2" +optional = true + +[dependencies.md4] +version = "0.10.2" +optional = true + +[dependencies.ripemd] +version = "0.1.3" +optional = true + +[dependencies.sha1] +version = "0.10.6" +optional = true + +[dependencies.sha2] +version = "0.10.9" +optional = true + +[dependencies.sha3] +version = "0.10.8" +optional = true + +[dependencies.shabal] +version = "0.4.1" +optional = true + +[dependencies.skein] +version = "0.1.1" +optional = true + +[dependencies.sm3] +version = "0.4.2" +optional = true + +[dependencies.streebog] +version = "0.10.2" +optional = true + +[dependencies.tiger] +version = "0.2.1" +optional = true + +[dependencies.whirlpool] +version = "0.10.4" +optional = true [build-dependencies] digest = "0.10.7" -ascon-hash = { version = "0.3.1", optional = true } -belt-hash = { version = "0.1.1", optional = true } -blake2 = { version = "0.10.6", optional = true } -blake3 = { version = "1.8.2", optional = true, default-features = false, features = [ + +[build-dependencies.ascon-hash] +version = "0.3.1" +optional = true + +[build-dependencies.belt-hash] +version = "0.1.1" +optional = true + +[build-dependencies.blake2] +version = "0.10.6" +optional = true + +[build-dependencies.blake3] +version = "1.8.2" +optional = true +default-features = false +features = [ "std", "traits-preview", -] } -fsb = { version = "0.1.3", optional = true } -gost94 = { version = "0.10.4", optional = true } -groestl = { version = "0.10.1", optional = true } -jh = { version = "0.1.0", optional = true } -md2 = { version = "0.10.2", optional = true } -md4 = { version = "0.10.2", optional = true } -ripemd = { version = "0.1.3", optional = true } -sha1 = { version = "0.10.6", optional = true } -sha2 = { version = "0.10.9", optional = true } -sha3 = { version = "0.10.8", optional = true } -shabal = { version = "0.4.1", optional = true } -skein = { version = "0.1.1", optional = true } -sm3 = { version = "0.4.2", optional = true } -streebog = { version = "0.10.2", optional = true } -tiger = { version = "0.2.1", optional = true } -whirlpool = { version = "0.10.4", optional = true } +] -[dev-dependencies] -nu-plugin-test-support = { version = "0.107.1", path = "../nushell/crates/nu-plugin-test-support" } +[build-dependencies.fsb] +version = "0.1.3" +optional = true + +[build-dependencies.gost94] +version = "0.10.4" +optional = true + +[build-dependencies.groestl] +version = "0.10.1" +optional = true + +[build-dependencies.jh] +version = "0.1.0" +optional = true + +[build-dependencies.md2] +version = "0.10.2" +optional = true + +[build-dependencies.md4] +version = "0.10.2" +optional = true + +[build-dependencies.ripemd] +version = "0.1.3" +optional = true + +[build-dependencies.sha1] +version = "0.10.6" +optional = true + +[build-dependencies.sha2] +version = "0.10.9" +optional = true + +[build-dependencies.sha3] +version = "0.10.8" +optional = true + +[build-dependencies.shabal] +version = "0.4.1" +optional = true + +[build-dependencies.skein] +version = "0.1.1" +optional = true + +[build-dependencies.sm3] +version = "0.4.2" +optional = true + +[build-dependencies.streebog] +version = "0.10.2" +optional = true + +[build-dependencies.tiger] +version = "0.2.1" +optional = true + +[build-dependencies.whirlpool] +version = "0.10.4" +optional = true + +[dev-dependencies.nu-plugin-test-support] +version = "0.108.0" +path = "../nushell/crates/nu-plugin-test-support" [profile.release] strip = true lto = true -codegen-units = 1 \ No newline at end of file +codegen-units = 1 diff --git a/nu_plugin_highlight/Cargo.lock b/nu_plugin_highlight/Cargo.lock index 14591f3..b3de8bd 100644 --- a/nu_plugin_highlight/Cargo.lock +++ b/nu_plugin_highlight/Cargo.lock @@ -314,7 +314,7 @@ dependencies = [ "pure-rust-locales", "serde", "wasm-bindgen", - "windows-link", + "windows-link 0.1.3", ] [[package]] @@ -455,23 +455,23 @@ dependencies = [ [[package]] name = "dirs" -version = "5.0.1" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" +checksum = "c3e8aa94d75141228480295a7d0e7feb620b1a5ad9f12bc40be62411e38cce4e" dependencies = [ "dirs-sys", ] [[package]] name = "dirs-sys" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" +checksum = "e01a3366d27ee9890022452ee61b2b63a67e6f13f58900b651ff5665f0bb1fab" dependencies = [ "libc", "option-ext", "redox_users", - "windows-sys 0.48.0", + "windows-sys 0.60.2", ] [[package]] @@ -967,7 +967,9 @@ dependencies = [ [[package]] name = "nu-derive-value" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39f6844d832ae0b97396c6cd7d2a18b7ab9effdde83fbe18a17255b16d2d95e6" dependencies = [ "heck", "proc-macro-error2", @@ -978,7 +980,9 @@ dependencies = [ [[package]] name = "nu-engine" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6eb4562ca8e184393362cf9de2c4e500354e4b16b6ac31dc938f672d615a57a4" dependencies = [ "fancy-regex", "log", @@ -991,7 +995,9 @@ dependencies = [ [[package]] name = "nu-experimental" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0eb92aab3b0221658e1163aee36efef6e7018d101d7092a7747f426ecaa73a3" dependencies = [ "itertools 0.14.0", "thiserror 2.0.12", @@ -999,11 +1005,15 @@ dependencies = [ [[package]] name = "nu-glob" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f4dff716f0e89268bddca91c984b3d67c8abda45039e38f5e3605c37d74b460" [[package]] name = "nu-path" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b04577311397f1dd847c37a241b4bcb6a59719c03cb23672c486f57a37dba09" dependencies = [ "dirs", "omnipath", @@ -1013,7 +1023,9 @@ dependencies = [ [[package]] name = "nu-plugin" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00f04d0af0c79ed0801ae9edce531cf0a3cbc9987f2ef8b18e7e758410b3495f" dependencies = [ "log", "nix", @@ -1027,7 +1039,9 @@ dependencies = [ [[package]] name = "nu-plugin-core" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf1f65bf58874f811ae8b61e9ff809347344b2628b0b69a09ae6d663242f25f2" dependencies = [ "interprocess", "log", @@ -1036,12 +1050,14 @@ dependencies = [ "rmp-serde", "serde", "serde_json", - "windows 0.56.0", + "windows 0.62.2", ] [[package]] name = "nu-plugin-protocol" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9eb646cdb01361724e2b142f3129016ed6230ec857832ba6aec56fed9377c935" dependencies = [ "nu-protocol", "nu-utils", @@ -1053,7 +1069,9 @@ dependencies = [ [[package]] name = "nu-protocol" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d887a2fb4c325fdb78c3eef426ab0bccab85b1f644b8ec267e586fa02933060" dependencies = [ "brotli", "bytes", @@ -1085,13 +1103,15 @@ dependencies = [ "thiserror 2.0.12", "typetag", "web-time", - "windows 0.56.0", - "windows-sys 0.48.0", + "windows 0.62.2", + "windows-sys 0.61.2", ] [[package]] name = "nu-system" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2499aaa5e03f648250ecad2cef2fd97723eb6a899a60871ae64479b90e9a1451" dependencies = [ "chrono", "itertools 0.14.0", @@ -1104,12 +1124,14 @@ dependencies = [ "procfs", "sysinfo", "web-time", - "windows 0.56.0", + "windows 0.62.2", ] [[package]] name = "nu-utils" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d43442cb69c1c9703afe66003b206b916015dd4f67d2b157bcf15ec81cba2360" dependencies = [ "byteyarn", "crossterm", @@ -1424,13 +1446,13 @@ dependencies = [ [[package]] name = "redox_users" -version = "0.4.6" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" +checksum = "a4e608c6638b9c18977b00b475ac1f28d14e84b27d8d42f70e0bf1e3dec127ac" dependencies = [ "getrandom", "libredox", - "thiserror 1.0.69", + "thiserror 2.0.12", ] [[package]] @@ -2194,11 +2216,23 @@ version = "0.61.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9babd3a767a4c1aef6900409f85f5d53ce2544ccdfaa86dad48c91782c6d6893" dependencies = [ - "windows-collections", + "windows-collections 0.2.0", "windows-core 0.61.2", - "windows-future", - "windows-link", - "windows-numerics", + "windows-future 0.2.1", + "windows-link 0.1.3", + "windows-numerics 0.2.0", +] + +[[package]] +name = "windows" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580" +dependencies = [ + "windows-collections 0.3.2", + "windows-core 0.62.2", + "windows-future 0.3.2", + "windows-numerics 0.3.1", ] [[package]] @@ -2210,6 +2244,15 @@ dependencies = [ "windows-core 0.61.2", ] +[[package]] +name = "windows-collections" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610" +dependencies = [ + "windows-core 0.62.2", +] + [[package]] name = "windows-core" version = "0.56.0" @@ -2228,11 +2271,24 @@ version = "0.61.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3" dependencies = [ - "windows-implement 0.60.0", - "windows-interface 0.59.1", - "windows-link", + "windows-implement 0.60.2", + "windows-interface 0.59.3", + "windows-link 0.1.3", "windows-result 0.3.4", - "windows-strings", + "windows-strings 0.4.2", +] + +[[package]] +name = "windows-core" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" +dependencies = [ + "windows-implement 0.60.2", + "windows-interface 0.59.3", + "windows-link 0.2.1", + "windows-result 0.4.1", + "windows-strings 0.5.1", ] [[package]] @@ -2242,8 +2298,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc6a41e98427b19fe4b73c550f060b59fa592d7d686537eebf9385621bfbad8e" dependencies = [ "windows-core 0.61.2", - "windows-link", - "windows-threading", + "windows-link 0.1.3", + "windows-threading 0.1.0", +] + +[[package]] +name = "windows-future" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb" +dependencies = [ + "windows-core 0.62.2", + "windows-link 0.2.1", + "windows-threading 0.2.1", ] [[package]] @@ -2259,9 +2326,9 @@ dependencies = [ [[package]] name = "windows-implement" -version = "0.60.0" +version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" dependencies = [ "proc-macro2", "quote", @@ -2281,9 +2348,9 @@ dependencies = [ [[package]] name = "windows-interface" -version = "0.59.1" +version = "0.59.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" dependencies = [ "proc-macro2", "quote", @@ -2296,6 +2363,12 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + [[package]] name = "windows-numerics" version = "0.2.0" @@ -2303,7 +2376,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9150af68066c4c5c07ddc0ce30421554771e528bde427614c61038bc2c92c2b1" dependencies = [ "windows-core 0.61.2", - "windows-link", + "windows-link 0.1.3", +] + +[[package]] +name = "windows-numerics" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26" +dependencies = [ + "windows-core 0.62.2", + "windows-link 0.2.1", ] [[package]] @@ -2321,7 +2404,16 @@ version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6" dependencies = [ - "windows-link", + "windows-link 0.1.3", +] + +[[package]] +name = "windows-result" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" +dependencies = [ + "windows-link 0.2.1", ] [[package]] @@ -2330,16 +2422,16 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57" dependencies = [ - "windows-link", + "windows-link 0.1.3", ] [[package]] -name = "windows-sys" -version = "0.48.0" +name = "windows-strings" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" dependencies = [ - "windows-targets 0.48.5", + "windows-link 0.2.1", ] [[package]] @@ -2370,18 +2462,12 @@ dependencies = [ ] [[package]] -name = "windows-targets" -version = "0.48.5" +name = "windows-sys" +version = "0.61.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" dependencies = [ - "windows_aarch64_gnullvm 0.48.5", - "windows_aarch64_msvc 0.48.5", - "windows_i686_gnu 0.48.5", - "windows_i686_msvc 0.48.5", - "windows_x86_64_gnu 0.48.5", - "windows_x86_64_gnullvm 0.48.5", - "windows_x86_64_msvc 0.48.5", + "windows-link 0.2.1", ] [[package]] @@ -2422,14 +2508,17 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b66463ad2e0ea3bbf808b7f1d371311c80e115c0b71d60efc142cafbcfb057a6" dependencies = [ - "windows-link", + "windows-link 0.1.3", ] [[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.5" +name = "windows-threading" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" +checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37" +dependencies = [ + "windows-link 0.2.1", +] [[package]] name = "windows_aarch64_gnullvm" @@ -2443,12 +2532,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764" -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" - [[package]] name = "windows_aarch64_msvc" version = "0.52.6" @@ -2461,12 +2544,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c" -[[package]] -name = "windows_i686_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" - [[package]] name = "windows_i686_gnu" version = "0.52.6" @@ -2491,12 +2568,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11" -[[package]] -name = "windows_i686_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" - [[package]] name = "windows_i686_msvc" version = "0.52.6" @@ -2509,12 +2580,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d" -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" - [[package]] name = "windows_x86_64_gnu" version = "0.52.6" @@ -2527,12 +2592,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba" -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" - [[package]] name = "windows_x86_64_gnullvm" version = "0.52.6" @@ -2545,12 +2604,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57" -[[package]] -name = "windows_x86_64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" - [[package]] name = "windows_x86_64_msvc" version = "0.52.6" diff --git a/nu_plugin_highlight/Cargo.toml b/nu_plugin_highlight/Cargo.toml index bf8fe26..2b32cc3 100644 --- a/nu_plugin_highlight/Cargo.toml +++ b/nu_plugin_highlight/Cargo.toml @@ -6,30 +6,44 @@ edition = "2024" repository = "https://github.com/cptpiepmatz/nu-plugin-highlight" description = "A nushell plugin for syntax highlighting" license = "MIT" -keywords = ["nu", "plugin", "syntax", "highlighting"] -categories = ["command-line-utilities", "development-tools", "value-formatting"] +keywords = [ + "nu", + "plugin", + "syntax", + "highlighting", +] +categories = [ + "command-line-utilities", + "development-tools", + "value-formatting", +] [workspace.dependencies] -# share dependencies with build dependencies syntect = "5" -bat = { version = "0.25", default-features = false } + +[workspace.dependencies.bat] +version = "0.25" +default-features = false [dependencies] -# nu -nu-plugin = { version = "0.107.1", path = "../nushell/crates/nu-plugin" } -nu-protocol = { version = "0.107.1", path = "../nushell/crates/nu-protocol" } -nu-path = { version = "0.107.1", path = "../nushell/crates/nu-path" } - -# highlighting -syntect = { workspace = true } +nu-plugin = "0.108.0" +nu-protocol = "0.108.0" +nu-path = "0.108.0" nu-ansi-term = "0.50" ansi_colours = "1" -bat = { workspace = true } - -# guess the type mime_guess = "2" +[dependencies.syntect] +workspace = true + +[dependencies.bat] +workspace = true + [build-dependencies] patch-apply = "0.8.3" -syntect = { workspace = true } -bat = { workspace = true } + +[build-dependencies.syntect] +workspace = true + +[build-dependencies.bat] +workspace = true diff --git a/nu_plugin_image/Cargo.lock b/nu_plugin_image/Cargo.lock index dab0d15..c746427 100644 --- a/nu_plugin_image/Cargo.lock +++ b/nu_plugin_image/Cargo.lock @@ -4,9 +4,9 @@ version = 4 [[package]] name = "ab_glyph" -version = "0.2.31" +version = "0.2.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e074464580a518d16a7126262fffaaa47af89d4099d4cb403f8ed938ba12ee7d" +checksum = "01c0457472c38ea5bd1c3b5ada5e368271cb550be7a4ca4a0b4634e9913f6cc2" dependencies = [ "ab_glyph_rasterizer", "owned_ttf_parser", @@ -412,7 +412,7 @@ dependencies = [ "pure-rust-locales", "serde", "wasm-bindgen", - "windows-link", + "windows-link 0.1.3", ] [[package]] @@ -437,9 +437,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.48" +version = "4.5.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2134bb3ea021b78629caa971416385309e0131b351b25e01dc16fb54e1b5fae" +checksum = "f4512b90fa68d3a9932cea5184017c5d200f5921df706d45e853537dea51508f" dependencies = [ "clap_builder", "clap_derive", @@ -447,9 +447,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.48" +version = "4.5.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2ba64afa3c0a6df7fa517765e31314e983f51dda798ffba27b988194fb65dc9" +checksum = "0025e98baa12e766c67ba13ff4695a887a1eba19569aad00a472546795bd6730" dependencies = [ "anstream", "anstyle", @@ -459,9 +459,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.47" +version = "4.5.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbfd7eae0b0f1a6e63d4b13c9c478de77c2eb546fba158ad50b4203dc24b9f9c" +checksum = "2a0b5487afeab2deb2ff4e03a807ad1a03ac532ff5a2cee5d86884440c7f7671" dependencies = [ "heck", "proc-macro2", @@ -641,23 +641,23 @@ dependencies = [ [[package]] name = "dirs" -version = "5.0.1" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" +checksum = "c3e8aa94d75141228480295a7d0e7feb620b1a5ad9f12bc40be62411e38cce4e" dependencies = [ "dirs-sys", ] [[package]] name = "dirs-sys" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" +checksum = "e01a3366d27ee9890022452ee61b2b63a67e6f13f58900b651ff5665f0bb1fab" dependencies = [ "libc", "option-ext", "redox_users", - "windows-sys 0.48.0", + "windows-sys 0.61.2", ] [[package]] @@ -707,6 +707,15 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" +[[package]] +name = "erased-serde" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c138974f9d5e7fe373eb04df7cae98833802ae4b11c24ac7039a21d5af4b26c" +dependencies = [ + "serde", +] + [[package]] name = "erased-serde" version = "0.4.6" @@ -1459,7 +1468,9 @@ dependencies = [ [[package]] name = "nu-derive-value" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39f6844d832ae0b97396c6cd7d2a18b7ab9effdde83fbe18a17255b16d2d95e6" dependencies = [ "heck", "proc-macro-error2", @@ -1470,7 +1481,9 @@ dependencies = [ [[package]] name = "nu-engine" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6eb4562ca8e184393362cf9de2c4e500354e4b16b6ac31dc938f672d615a57a4" dependencies = [ "fancy-regex", "log", @@ -1483,7 +1496,9 @@ dependencies = [ [[package]] name = "nu-experimental" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0eb92aab3b0221658e1163aee36efef6e7018d101d7092a7747f426ecaa73a3" dependencies = [ "itertools 0.14.0", "thiserror 2.0.12", @@ -1491,11 +1506,15 @@ dependencies = [ [[package]] name = "nu-glob" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f4dff716f0e89268bddca91c984b3d67c8abda45039e38f5e3605c37d74b460" [[package]] name = "nu-path" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b04577311397f1dd847c37a241b4bcb6a59719c03cb23672c486f57a37dba09" dependencies = [ "dirs", "omnipath", @@ -1505,7 +1524,9 @@ dependencies = [ [[package]] name = "nu-plugin" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00f04d0af0c79ed0801ae9edce531cf0a3cbc9987f2ef8b18e7e758410b3495f" dependencies = [ "log", "nix", @@ -1519,7 +1540,9 @@ dependencies = [ [[package]] name = "nu-plugin-core" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf1f65bf58874f811ae8b61e9ff809347344b2628b0b69a09ae6d663242f25f2" dependencies = [ "interprocess", "log", @@ -1528,12 +1551,14 @@ dependencies = [ "rmp-serde", "serde", "serde_json", - "windows 0.56.0", + "windows 0.62.2", ] [[package]] name = "nu-plugin-protocol" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9eb646cdb01361724e2b142f3129016ed6230ec857832ba6aec56fed9377c935" dependencies = [ "nu-protocol", "nu-utils", @@ -1545,7 +1570,9 @@ dependencies = [ [[package]] name = "nu-protocol" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d887a2fb4c325fdb78c3eef426ab0bccab85b1f644b8ec267e586fa02933060" dependencies = [ "brotli", "bytes", @@ -1577,13 +1604,15 @@ dependencies = [ "thiserror 2.0.12", "typetag", "web-time", - "windows 0.56.0", - "windows-sys 0.48.0", + "windows 0.62.2", + "windows-sys 0.61.2", ] [[package]] name = "nu-system" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2499aaa5e03f648250ecad2cef2fd97723eb6a899a60871ae64479b90e9a1451" dependencies = [ "chrono", "itertools 0.14.0", @@ -1596,12 +1625,14 @@ dependencies = [ "procfs", "sysinfo", "web-time", - "windows 0.56.0", + "windows 0.62.2", ] [[package]] name = "nu-utils" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d43442cb69c1c9703afe66003b206b916015dd4f67d2b157bcf15ec81cba2360" dependencies = [ "byteyarn", "crossterm 0.28.1", @@ -2160,13 +2191,13 @@ dependencies = [ [[package]] name = "redox_users" -version = "0.4.6" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" +checksum = "a4e608c6638b9c18977b00b475ac1f28d14e84b27d8d42f70e0bf1e3dec127ac" dependencies = [ "getrandom 0.2.16", "libredox", - "thiserror 1.0.69", + "thiserror 2.0.12", ] [[package]] @@ -2322,18 +2353,28 @@ checksum = "56e6fa9c48d24d85fb3de5ad847117517440f6beceb7798af16b4a87d616b8d0" [[package]] name = "serde" -version = "1.0.219" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" +checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_core" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.219" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" +checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" dependencies = [ "proc-macro2", "quote", @@ -2427,9 +2468,15 @@ dependencies = [ [[package]] name = "slog" -version = "2.7.0" +version = "2.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8347046d4ebd943127157b94d63abb990fcf729dc4e9978927fdf4ac3c998d06" +checksum = "9b3b8565691b22d2bdfc066426ed48f837fc0c5f2c8cad8d9718f7f99d6995c1" +dependencies = [ + "anyhow", + "erased-serde 0.3.31", + "rustversion", + "serde_core", +] [[package]] name = "slog-async" @@ -2592,7 +2639,7 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2111ef44dae28680ae9752bb89409e7310ca33a8c621ebe7b106cf5c928b3ac0" dependencies = [ - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] @@ -2776,7 +2823,7 @@ version = "0.2.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "73f22b40dd7bfe8c14230cf9702081366421890435b2d625fa92b4acc4c3de6f" dependencies = [ - "erased-serde", + "erased-serde 0.4.6", "inventory", "once_cell", "serde", @@ -3014,27 +3061,29 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" -[[package]] -name = "windows" -version = "0.56.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1de69df01bdf1ead2f4ac895dc77c9351aefff65b2f3db429a343f9cbf05e132" -dependencies = [ - "windows-core 0.56.0", - "windows-targets 0.52.6", -] - [[package]] name = "windows" version = "0.61.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9babd3a767a4c1aef6900409f85f5d53ce2544ccdfaa86dad48c91782c6d6893" dependencies = [ - "windows-collections", + "windows-collections 0.2.0", "windows-core 0.61.2", - "windows-future", - "windows-link", - "windows-numerics", + "windows-future 0.2.1", + "windows-link 0.1.3", + "windows-numerics 0.2.0", +] + +[[package]] +name = "windows" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580" +dependencies = [ + "windows-collections 0.3.2", + "windows-core 0.62.2", + "windows-future 0.3.2", + "windows-numerics 0.3.1", ] [[package]] @@ -3047,15 +3096,12 @@ dependencies = [ ] [[package]] -name = "windows-core" -version = "0.56.0" +name = "windows-collections" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4698e52ed2d08f8658ab0c39512a7c00ee5fe2688c65f8c0a4f06750d729f2a6" +checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610" dependencies = [ - "windows-implement 0.56.0", - "windows-interface 0.56.0", - "windows-result 0.1.2", - "windows-targets 0.52.6", + "windows-core 0.62.2", ] [[package]] @@ -3064,11 +3110,24 @@ version = "0.61.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3" dependencies = [ - "windows-implement 0.60.0", - "windows-interface 0.59.1", - "windows-link", + "windows-implement", + "windows-interface", + "windows-link 0.1.3", "windows-result 0.3.4", - "windows-strings", + "windows-strings 0.4.2", +] + +[[package]] +name = "windows-core" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-link 0.2.1", + "windows-result 0.4.1", + "windows-strings 0.5.1", ] [[package]] @@ -3078,26 +3137,26 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc6a41e98427b19fe4b73c550f060b59fa592d7d686537eebf9385621bfbad8e" dependencies = [ "windows-core 0.61.2", - "windows-link", - "windows-threading", + "windows-link 0.1.3", + "windows-threading 0.1.0", ] [[package]] -name = "windows-implement" -version = "0.56.0" +name = "windows-future" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6fc35f58ecd95a9b71c4f2329b911016e6bec66b3f2e6a4aad86bd2e99e2f9b" +checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.104", + "windows-core 0.62.2", + "windows-link 0.2.1", + "windows-threading 0.2.1", ] [[package]] name = "windows-implement" -version = "0.60.0" +version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" dependencies = [ "proc-macro2", "quote", @@ -3106,20 +3165,9 @@ dependencies = [ [[package]] name = "windows-interface" -version = "0.56.0" +version = "0.59.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08990546bf4edef8f431fa6326e032865f27138718c587dc21bc0265bbcb57cc" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.104", -] - -[[package]] -name = "windows-interface" -version = "0.59.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" dependencies = [ "proc-macro2", "quote", @@ -3132,6 +3180,12 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + [[package]] name = "windows-numerics" version = "0.2.0" @@ -3139,16 +3193,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9150af68066c4c5c07ddc0ce30421554771e528bde427614c61038bc2c92c2b1" dependencies = [ "windows-core 0.61.2", - "windows-link", + "windows-link 0.1.3", ] [[package]] -name = "windows-result" -version = "0.1.2" +name = "windows-numerics" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e383302e8ec8515204254685643de10811af0ed97ea37210dc26fb0032647f8" +checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26" dependencies = [ - "windows-targets 0.52.6", + "windows-core 0.62.2", + "windows-link 0.2.1", ] [[package]] @@ -3157,7 +3212,16 @@ version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6" dependencies = [ - "windows-link", + "windows-link 0.1.3", +] + +[[package]] +name = "windows-result" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" +dependencies = [ + "windows-link 0.2.1", ] [[package]] @@ -3166,16 +3230,16 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57" dependencies = [ - "windows-link", + "windows-link 0.1.3", ] [[package]] -name = "windows-sys" -version = "0.48.0" +name = "windows-strings" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" dependencies = [ - "windows-targets 0.48.5", + "windows-link 0.2.1", ] [[package]] @@ -3206,18 +3270,12 @@ dependencies = [ ] [[package]] -name = "windows-targets" -version = "0.48.5" +name = "windows-sys" +version = "0.61.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" dependencies = [ - "windows_aarch64_gnullvm 0.48.5", - "windows_aarch64_msvc 0.48.5", - "windows_i686_gnu 0.48.5", - "windows_i686_msvc 0.48.5", - "windows_x86_64_gnu 0.48.5", - "windows_x86_64_gnullvm 0.48.5", - "windows_x86_64_msvc 0.48.5", + "windows-link 0.2.1", ] [[package]] @@ -3258,14 +3316,17 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b66463ad2e0ea3bbf808b7f1d371311c80e115c0b71d60efc142cafbcfb057a6" dependencies = [ - "windows-link", + "windows-link 0.1.3", ] [[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.5" +name = "windows-threading" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" +checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37" +dependencies = [ + "windows-link 0.2.1", +] [[package]] name = "windows_aarch64_gnullvm" @@ -3279,12 +3340,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764" -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" - [[package]] name = "windows_aarch64_msvc" version = "0.52.6" @@ -3297,12 +3352,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c" -[[package]] -name = "windows_i686_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" - [[package]] name = "windows_i686_gnu" version = "0.52.6" @@ -3327,12 +3376,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11" -[[package]] -name = "windows_i686_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" - [[package]] name = "windows_i686_msvc" version = "0.52.6" @@ -3345,12 +3388,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d" -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" - [[package]] name = "windows_x86_64_gnu" version = "0.52.6" @@ -3363,12 +3400,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba" -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" - [[package]] name = "windows_x86_64_gnullvm" version = "0.52.6" @@ -3381,12 +3412,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57" -[[package]] -name = "windows_x86_64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" - [[package]] name = "windows_x86_64_msvc" version = "0.52.6" diff --git a/nu_plugin_image/Cargo.toml b/nu_plugin_image/Cargo.toml index a628d57..7161ccf 100644 --- a/nu_plugin_image/Cargo.toml +++ b/nu_plugin_image/Cargo.toml @@ -1,46 +1,53 @@ [dependencies] -slog = "2.7.0" +slog = "2.8.2" termcolor = "1.4.1" ansi_colours = "1.2.3" crossterm = "0.29.0" image = "0.25.8" imageproc = "0.25.0" include-flate = "0.3.1" -ab_glyph = "0.2.31" +ab_glyph = "0.2.32" vte = "0.15.0" lazy_static = "1.5.0" slog-term = "2.9.2" slog-async = "2.8.0" +nu-plugin = "0.108.0" +nu-protocol = "0.108.0" [dependencies.clap] features = ["derive"] -version = "4.5.48" - -[dependencies.nu-plugin] -version = "0.107.0" -path = "../nushell/crates/nu-plugin" - -[dependencies.nu-protocol] -features = ["plugin"] -version = "0.107.0" -path = "../nushell/crates/nu-protocol" +version = "4.5.49" [features] -all-fonts = ["font-iosevka_term", "font-anonymous_pro", "font-ubuntu"] +all-fonts = [ + "font-iosevka_term", + "font-anonymous_pro", + "font-ubuntu", +] default = [] font-anonymous_pro = [] font-iosevka_term = [] font-ubuntu = [] - -with-debug = ["slog/max_level_debug", "slog/release_max_level_debug"] -with-trace = ["slog/max_level_trace", "slog/release_max_level_trace"] +with-debug = [ + "slog/max_level_debug", + "slog/release_max_level_debug", +] +with-trace = [ + "slog/max_level_trace", + "slog/release_max_level_trace", +] [package] authors = ["Motalleb Fallahnezhad "] description = "A nushell plugin to open png images in the shell and save ansi string as images (like tables or ...)" edition = "2024" homepage = "https://github.com/FMotalleb/nu_plugin_image" -keywords = ["nushell", "image", "render", "plugin"] +keywords = [ + "nushell", + "image", + "render", + "plugin", +] license = "MIT" name = "nu_plugin_image" readme = "README.md" diff --git a/nu_plugin_kms/Cargo.lock b/nu_plugin_kms/Cargo.lock index 92d9d08..800a6d4 100644 --- a/nu_plugin_kms/Cargo.lock +++ b/nu_plugin_kms/Cargo.lock @@ -1346,9 +1346,9 @@ dependencies = [ [[package]] name = "dirs" -version = "5.0.1" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" +checksum = "c3e8aa94d75141228480295a7d0e7feb620b1a5ad9f12bc40be62411e38cce4e" dependencies = [ "dirs-sys", ] @@ -1365,14 +1365,14 @@ dependencies = [ [[package]] name = "dirs-sys" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" +checksum = "e01a3366d27ee9890022452ee61b2b63a67e6f13f58900b651ff5665f0bb1fab" dependencies = [ "libc", "option-ext", - "redox_users", - "windows-sys 0.48.0", + "redox_users 0.5.2", + "windows-sys 0.61.2", ] [[package]] @@ -1382,7 +1382,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" dependencies = [ "libc", - "redox_users", + "redox_users 0.4.6", "winapi", ] @@ -2783,42 +2783,55 @@ dependencies = [ [[package]] name = "nu-ansi-term" -version = "0.50.1" +version = "0.50.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4a28e057d01f97e61255210fcff094d74ed0466038633e95017f5beb68e4399" +checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] name = "nu-cmd-base" -version = "0.107.1" +version = "0.108.0" dependencies = [ "indexmap", "miette", - "nu-engine", + "nu-engine 0.108.0", "nu-parser", - "nu-path", - "nu-protocol", + "nu-path 0.108.0", + "nu-protocol 0.108.0", ] [[package]] name = "nu-cmd-lang" -version = "0.107.1" +version = "0.108.0" dependencies = [ "itertools 0.14.0", "nu-cmd-base", - "nu-engine", - "nu-experimental", + "nu-engine 0.108.0", + "nu-experimental 0.108.0", "nu-parser", - "nu-protocol", - "nu-utils", + "nu-protocol 0.108.0", + "nu-utils 0.108.0", "shadow-rs", ] [[package]] name = "nu-derive-value" -version = "0.107.1" +version = "0.108.0" +dependencies = [ + "heck 0.5.0", + "proc-macro-error2", + "proc-macro2", + "quote", + "syn 2.0.106", +] + +[[package]] +name = "nu-derive-value" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39f6844d832ae0b97396c6cd7d2a18b7ab9effdde83fbe18a17255b16d2d95e6" dependencies = [ "heck 0.5.0", "proc-macro-error2", @@ -2829,20 +2842,45 @@ dependencies = [ [[package]] name = "nu-engine" -version = "0.107.1" +version = "0.108.0" dependencies = [ "fancy-regex", "log", - "nu-experimental", - "nu-glob", - "nu-path", - "nu-protocol", - "nu-utils", + "nu-experimental 0.108.0", + "nu-glob 0.108.0", + "nu-path 0.108.0", + "nu-protocol 0.108.0", + "nu-utils 0.108.0", +] + +[[package]] +name = "nu-engine" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6eb4562ca8e184393362cf9de2c4e500354e4b16b6ac31dc938f672d615a57a4" +dependencies = [ + "fancy-regex", + "log", + "nu-experimental 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-glob 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-path 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-protocol 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-utils 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "nu-experimental" -version = "0.107.1" +version = "0.108.0" +dependencies = [ + "itertools 0.14.0", + "thiserror 2.0.17", +] + +[[package]] +name = "nu-experimental" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0eb92aab3b0221658e1163aee36efef6e7018d101d7092a7747f426ecaa73a3" dependencies = [ "itertools 0.14.0", "thiserror 2.0.17", @@ -2850,27 +2888,45 @@ dependencies = [ [[package]] name = "nu-glob" -version = "0.107.1" +version = "0.108.0" + +[[package]] +name = "nu-glob" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f4dff716f0e89268bddca91c984b3d67c8abda45039e38f5e3605c37d74b460" [[package]] name = "nu-parser" -version = "0.107.1" +version = "0.108.0" dependencies = [ "bytesize", "chrono", "itertools 0.14.0", "log", - "nu-engine", - "nu-path", + "nu-engine 0.108.0", + "nu-path 0.108.0", "nu-plugin-engine", - "nu-protocol", - "nu-utils", + "nu-protocol 0.108.0", + "nu-utils 0.108.0", "serde_json", ] [[package]] name = "nu-path" -version = "0.107.1" +version = "0.108.0" +dependencies = [ + "dirs", + "omnipath", + "pwd", + "ref-cast", +] + +[[package]] +name = "nu-path" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b04577311397f1dd847c37a241b4bcb6a59719c03cb23672c486f57a37dba09" dependencies = [ "dirs", "omnipath", @@ -2880,53 +2936,99 @@ dependencies = [ [[package]] name = "nu-plugin" -version = "0.107.1" +version = "0.108.0" dependencies = [ "log", "nix", - "nu-engine", - "nu-plugin-core", - "nu-plugin-protocol", - "nu-protocol", - "nu-utils", + "nu-engine 0.108.0", + "nu-plugin-core 0.108.0", + "nu-plugin-protocol 0.108.0", + "nu-protocol 0.108.0", + "nu-utils 0.108.0", + "thiserror 2.0.17", +] + +[[package]] +name = "nu-plugin" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00f04d0af0c79ed0801ae9edce531cf0a3cbc9987f2ef8b18e7e758410b3495f" +dependencies = [ + "log", + "nix", + "nu-engine 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-plugin-core 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-plugin-protocol 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-protocol 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-utils 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", "thiserror 2.0.17", ] [[package]] name = "nu-plugin-core" -version = "0.107.1" +version = "0.108.0" dependencies = [ "interprocess", "log", - "nu-plugin-protocol", - "nu-protocol", + "nu-plugin-protocol 0.108.0", + "nu-protocol 0.108.0", "rmp-serde", "serde", "serde_json", - "windows 0.56.0", + "windows 0.62.2", +] + +[[package]] +name = "nu-plugin-core" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf1f65bf58874f811ae8b61e9ff809347344b2628b0b69a09ae6d663242f25f2" +dependencies = [ + "interprocess", + "log", + "nu-plugin-protocol 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-protocol 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rmp-serde", + "serde", + "serde_json", + "windows 0.62.2", ] [[package]] name = "nu-plugin-engine" -version = "0.107.1" +version = "0.108.0" dependencies = [ "log", - "nu-engine", - "nu-plugin-core", - "nu-plugin-protocol", - "nu-protocol", - "nu-system", - "nu-utils", + "nu-engine 0.108.0", + "nu-plugin-core 0.108.0", + "nu-plugin-protocol 0.108.0", + "nu-protocol 0.108.0", + "nu-system 0.108.0", + "nu-utils 0.108.0", "serde", - "windows 0.56.0", + "windows 0.62.2", ] [[package]] name = "nu-plugin-protocol" -version = "0.107.1" +version = "0.108.0" dependencies = [ - "nu-protocol", - "nu-utils", + "nu-protocol 0.108.0", + "nu-utils 0.108.0", + "rmp-serde", + "semver 1.0.27", + "serde", + "typetag", +] + +[[package]] +name = "nu-plugin-protocol" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9eb646cdb01361724e2b142f3129016ed6230ec857832ba6aec56fed9377c935" +dependencies = [ + "nu-protocol 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-utils 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", "rmp-serde", "semver 1.0.27", "serde", @@ -2935,23 +3037,23 @@ dependencies = [ [[package]] name = "nu-plugin-test-support" -version = "0.107.1" +version = "0.108.0" dependencies = [ "nu-ansi-term", "nu-cmd-lang", - "nu-engine", + "nu-engine 0.108.0", "nu-parser", - "nu-plugin", - "nu-plugin-core", + "nu-plugin 0.108.0", + "nu-plugin-core 0.108.0", "nu-plugin-engine", - "nu-plugin-protocol", - "nu-protocol", + "nu-plugin-protocol 0.108.0", + "nu-protocol 0.108.0", "similar", ] [[package]] name = "nu-protocol" -version = "0.107.1" +version = "0.108.0" dependencies = [ "brotli", "bytes", @@ -2967,12 +3069,12 @@ dependencies = [ "memchr", "miette", "nix", - "nu-derive-value", - "nu-experimental", - "nu-glob", - "nu-path", - "nu-system", - "nu-utils", + "nu-derive-value 0.108.0", + "nu-experimental 0.108.0", + "nu-glob 0.108.0", + "nu-path 0.108.0", + "nu-system 0.108.0", + "nu-utils 0.108.0", "num-format", "os_pipe", "rmp-serde", @@ -2983,13 +3085,53 @@ dependencies = [ "thiserror 2.0.17", "typetag", "web-time", - "windows 0.56.0", - "windows-sys 0.48.0", + "windows 0.62.2", + "windows-sys 0.61.2", +] + +[[package]] +name = "nu-protocol" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d887a2fb4c325fdb78c3eef426ab0bccab85b1f644b8ec267e586fa02933060" +dependencies = [ + "brotli", + "bytes", + "chrono", + "chrono-humanize", + "dirs", + "dirs-sys", + "fancy-regex", + "heck 0.5.0", + "indexmap", + "log", + "lru", + "memchr", + "miette", + "nix", + "nu-derive-value 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-experimental 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-glob 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-path 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-system 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-utils 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "num-format", + "os_pipe", + "rmp-serde", + "serde", + "serde_json", + "strum 0.26.3", + "strum_macros 0.27.2", + "thiserror 2.0.17", + "typetag", + "web-time", + "windows 0.62.2", + "windows-sys 0.61.2", ] [[package]] name = "nu-system" -version = "0.107.1" +version = "0.108.0" dependencies = [ "chrono", "itertools 0.14.0", @@ -3002,12 +3144,55 @@ dependencies = [ "procfs", "sysinfo 0.36.1", "web-time", - "windows 0.56.0", + "windows 0.62.2", +] + +[[package]] +name = "nu-system" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2499aaa5e03f648250ecad2cef2fd97723eb6a899a60871ae64479b90e9a1451" +dependencies = [ + "chrono", + "itertools 0.14.0", + "libc", + "libproc", + "log", + "mach2", + "nix", + "ntapi", + "procfs", + "sysinfo 0.36.1", + "web-time", + "windows 0.62.2", ] [[package]] name = "nu-utils" -version = "0.107.1" +version = "0.108.0" +dependencies = [ + "byteyarn", + "crossterm", + "crossterm_winapi", + "fancy-regex", + "lean_string", + "log", + "lscolors", + "memchr", + "nix", + "num-format", + "serde", + "serde_json", + "strip-ansi-escapes", + "sys-locale", + "unicase", +] + +[[package]] +name = "nu-utils" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d43442cb69c1c9703afe66003b206b916015dd4f67d2b157bcf15ec81cba2360" dependencies = [ "byteyarn", "crossterm", @@ -3032,9 +3217,9 @@ version = "0.1.0" dependencies = [ "age", "base64 0.22.1", - "nu-plugin", + "nu-plugin 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", "nu-plugin-test-support", - "nu-protocol", + "nu-protocol 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", "reqwest", "rusty_vault", "serde", @@ -3692,6 +3877,17 @@ dependencies = [ "thiserror 1.0.69", ] +[[package]] +name = "redox_users" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4e608c6638b9c18977b00b475ac1f28d14e84b27d8d42f70e0bf1e3dec127ac" +dependencies = [ + "getrandom 0.2.16", + "libredox", + "thiserror 2.0.17", +] + [[package]] name = "ref-cast" version = "1.0.25" @@ -5341,16 +5537,6 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" -[[package]] -name = "windows" -version = "0.56.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1de69df01bdf1ead2f4ac895dc77c9351aefff65b2f3db429a343f9cbf05e132" -dependencies = [ - "windows-core 0.56.0", - "windows-targets 0.52.6", -] - [[package]] name = "windows" version = "0.57.0" @@ -5367,11 +5553,23 @@ version = "0.61.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9babd3a767a4c1aef6900409f85f5d53ce2544ccdfaa86dad48c91782c6d6893" dependencies = [ - "windows-collections", + "windows-collections 0.2.0", "windows-core 0.61.2", - "windows-future", + "windows-future 0.2.1", "windows-link 0.1.3", - "windows-numerics", + "windows-numerics 0.2.0", +] + +[[package]] +name = "windows" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580" +dependencies = [ + "windows-collections 0.3.2", + "windows-core 0.62.2", + "windows-future 0.3.2", + "windows-numerics 0.3.1", ] [[package]] @@ -5384,15 +5582,12 @@ dependencies = [ ] [[package]] -name = "windows-core" -version = "0.56.0" +name = "windows-collections" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4698e52ed2d08f8658ab0c39512a7c00ee5fe2688c65f8c0a4f06750d729f2a6" +checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610" dependencies = [ - "windows-implement 0.56.0", - "windows-interface 0.56.0", - "windows-result 0.1.2", - "windows-targets 0.52.6", + "windows-core 0.62.2", ] [[package]] @@ -5441,18 +5636,18 @@ checksum = "fc6a41e98427b19fe4b73c550f060b59fa592d7d686537eebf9385621bfbad8e" dependencies = [ "windows-core 0.61.2", "windows-link 0.1.3", - "windows-threading", + "windows-threading 0.1.0", ] [[package]] -name = "windows-implement" -version = "0.56.0" +name = "windows-future" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6fc35f58ecd95a9b71c4f2329b911016e6bec66b3f2e6a4aad86bd2e99e2f9b" +checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.106", + "windows-core 0.62.2", + "windows-link 0.2.1", + "windows-threading 0.2.1", ] [[package]] @@ -5477,17 +5672,6 @@ dependencies = [ "syn 2.0.106", ] -[[package]] -name = "windows-interface" -version = "0.56.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08990546bf4edef8f431fa6326e032865f27138718c587dc21bc0265bbcb57cc" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.106", -] - [[package]] name = "windows-interface" version = "0.57.0" @@ -5532,6 +5716,16 @@ dependencies = [ "windows-link 0.1.3", ] +[[package]] +name = "windows-numerics" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26" +dependencies = [ + "windows-core 0.62.2", + "windows-link 0.2.1", +] + [[package]] name = "windows-result" version = "0.1.2" @@ -5679,6 +5873,15 @@ dependencies = [ "windows-link 0.1.3", ] +[[package]] +name = "windows-threading" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37" +dependencies = [ + "windows-link 0.2.1", +] + [[package]] name = "windows_aarch64_gnullvm" version = "0.48.5" diff --git a/nu_plugin_kms/Cargo.toml b/nu_plugin_kms/Cargo.toml index 3608f2b..e266942 100644 --- a/nu_plugin_kms/Cargo.toml +++ b/nu_plugin_kms/Cargo.toml @@ -8,16 +8,30 @@ repository = "https://github.com/provisioning/nu_plugin_kms" license = "MIT" [dependencies] -nu-plugin = { version = "0.107.1", path = "../nushell/crates/nu-plugin" } -nu-protocol = { version = "0.107.1", path = "../nushell/crates/nu-protocol", features = ["plugin"] } +nu-plugin = "0.108.0" +nu-protocol = "0.108.0" rusty_vault = "0.2.1" age = "0.10" base64 = "0.22" -serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-features = false } -tokio = { version = "1.40", features = ["full"] } tempfile = "3.10" -[dev-dependencies] -nu-plugin-test-support = { version = "0.107.1", path = "../nushell/crates/nu-plugin-test-support" } +[dependencies.serde] +version = "1.0" +features = ["derive"] + +[dependencies.reqwest] +version = "0.12" +features = [ + "json", + "rustls-tls", +] +default-features = false + +[dependencies.tokio] +version = "1.40" +features = ["full"] + +[dev-dependencies.nu-plugin-test-support] +version = "0.108.0" +path = "../nushell/crates/nu-plugin-test-support" diff --git a/nu_plugin_orchestrator/Cargo.lock b/nu_plugin_orchestrator/Cargo.lock index 4090c2f..1e99b5c 100644 --- a/nu_plugin_orchestrator/Cargo.lock +++ b/nu_plugin_orchestrator/Cargo.lock @@ -307,23 +307,23 @@ dependencies = [ [[package]] name = "dirs" -version = "5.0.1" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" +checksum = "c3e8aa94d75141228480295a7d0e7feb620b1a5ad9f12bc40be62411e38cce4e" dependencies = [ "dirs-sys", ] [[package]] name = "dirs-sys" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" +checksum = "e01a3366d27ee9890022452ee61b2b63a67e6f13f58900b651ff5665f0bb1fab" dependencies = [ "libc", "option-ext", "redox_users", - "windows-sys 0.48.0", + "windows-sys 0.61.2", ] [[package]] @@ -763,42 +763,55 @@ dependencies = [ [[package]] name = "nu-ansi-term" -version = "0.50.1" +version = "0.50.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4a28e057d01f97e61255210fcff094d74ed0466038633e95017f5beb68e4399" +checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] name = "nu-cmd-base" -version = "0.107.1" +version = "0.108.0" dependencies = [ "indexmap", "miette", - "nu-engine", + "nu-engine 0.108.0", "nu-parser", - "nu-path", - "nu-protocol", + "nu-path 0.108.0", + "nu-protocol 0.108.0", ] [[package]] name = "nu-cmd-lang" -version = "0.107.1" +version = "0.108.0" dependencies = [ "itertools 0.14.0", "nu-cmd-base", - "nu-engine", - "nu-experimental", + "nu-engine 0.108.0", + "nu-experimental 0.108.0", "nu-parser", - "nu-protocol", - "nu-utils", + "nu-protocol 0.108.0", + "nu-utils 0.108.0", "shadow-rs", ] [[package]] name = "nu-derive-value" -version = "0.107.1" +version = "0.108.0" +dependencies = [ + "heck", + "proc-macro-error2", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "nu-derive-value" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39f6844d832ae0b97396c6cd7d2a18b7ab9effdde83fbe18a17255b16d2d95e6" dependencies = [ "heck", "proc-macro-error2", @@ -809,20 +822,45 @@ dependencies = [ [[package]] name = "nu-engine" -version = "0.107.1" +version = "0.108.0" dependencies = [ "fancy-regex", "log", - "nu-experimental", - "nu-glob", - "nu-path", - "nu-protocol", - "nu-utils", + "nu-experimental 0.108.0", + "nu-glob 0.108.0", + "nu-path 0.108.0", + "nu-protocol 0.108.0", + "nu-utils 0.108.0", +] + +[[package]] +name = "nu-engine" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6eb4562ca8e184393362cf9de2c4e500354e4b16b6ac31dc938f672d615a57a4" +dependencies = [ + "fancy-regex", + "log", + "nu-experimental 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-glob 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-path 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-protocol 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-utils 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "nu-experimental" -version = "0.107.1" +version = "0.108.0" +dependencies = [ + "itertools 0.14.0", + "thiserror 2.0.17", +] + +[[package]] +name = "nu-experimental" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0eb92aab3b0221658e1163aee36efef6e7018d101d7092a7747f426ecaa73a3" dependencies = [ "itertools 0.14.0", "thiserror 2.0.17", @@ -830,27 +868,45 @@ dependencies = [ [[package]] name = "nu-glob" -version = "0.107.1" +version = "0.108.0" + +[[package]] +name = "nu-glob" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f4dff716f0e89268bddca91c984b3d67c8abda45039e38f5e3605c37d74b460" [[package]] name = "nu-parser" -version = "0.107.1" +version = "0.108.0" dependencies = [ "bytesize", "chrono", "itertools 0.14.0", "log", - "nu-engine", - "nu-path", + "nu-engine 0.108.0", + "nu-path 0.108.0", "nu-plugin-engine", - "nu-protocol", - "nu-utils", + "nu-protocol 0.108.0", + "nu-utils 0.108.0", "serde_json", ] [[package]] name = "nu-path" -version = "0.107.1" +version = "0.108.0" +dependencies = [ + "dirs", + "omnipath", + "pwd", + "ref-cast", +] + +[[package]] +name = "nu-path" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b04577311397f1dd847c37a241b4bcb6a59719c03cb23672c486f57a37dba09" dependencies = [ "dirs", "omnipath", @@ -860,53 +916,99 @@ dependencies = [ [[package]] name = "nu-plugin" -version = "0.107.1" +version = "0.108.0" dependencies = [ "log", "nix", - "nu-engine", - "nu-plugin-core", - "nu-plugin-protocol", - "nu-protocol", - "nu-utils", + "nu-engine 0.108.0", + "nu-plugin-core 0.108.0", + "nu-plugin-protocol 0.108.0", + "nu-protocol 0.108.0", + "nu-utils 0.108.0", + "thiserror 2.0.17", +] + +[[package]] +name = "nu-plugin" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00f04d0af0c79ed0801ae9edce531cf0a3cbc9987f2ef8b18e7e758410b3495f" +dependencies = [ + "log", + "nix", + "nu-engine 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-plugin-core 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-plugin-protocol 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-protocol 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-utils 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", "thiserror 2.0.17", ] [[package]] name = "nu-plugin-core" -version = "0.107.1" +version = "0.108.0" dependencies = [ "interprocess", "log", - "nu-plugin-protocol", - "nu-protocol", + "nu-plugin-protocol 0.108.0", + "nu-protocol 0.108.0", "rmp-serde", "serde", "serde_json", - "windows 0.56.0", + "windows 0.62.2", +] + +[[package]] +name = "nu-plugin-core" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf1f65bf58874f811ae8b61e9ff809347344b2628b0b69a09ae6d663242f25f2" +dependencies = [ + "interprocess", + "log", + "nu-plugin-protocol 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-protocol 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rmp-serde", + "serde", + "serde_json", + "windows 0.62.2", ] [[package]] name = "nu-plugin-engine" -version = "0.107.1" +version = "0.108.0" dependencies = [ "log", - "nu-engine", - "nu-plugin-core", - "nu-plugin-protocol", - "nu-protocol", - "nu-system", - "nu-utils", + "nu-engine 0.108.0", + "nu-plugin-core 0.108.0", + "nu-plugin-protocol 0.108.0", + "nu-protocol 0.108.0", + "nu-system 0.108.0", + "nu-utils 0.108.0", "serde", - "windows 0.56.0", + "windows 0.62.2", ] [[package]] name = "nu-plugin-protocol" -version = "0.107.1" +version = "0.108.0" dependencies = [ - "nu-protocol", - "nu-utils", + "nu-protocol 0.108.0", + "nu-utils 0.108.0", + "rmp-serde", + "semver", + "serde", + "typetag", +] + +[[package]] +name = "nu-plugin-protocol" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9eb646cdb01361724e2b142f3129016ed6230ec857832ba6aec56fed9377c935" +dependencies = [ + "nu-protocol 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-utils 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", "rmp-serde", "semver", "serde", @@ -915,23 +1017,23 @@ dependencies = [ [[package]] name = "nu-plugin-test-support" -version = "0.107.1" +version = "0.108.0" dependencies = [ "nu-ansi-term", "nu-cmd-lang", - "nu-engine", + "nu-engine 0.108.0", "nu-parser", - "nu-plugin", - "nu-plugin-core", + "nu-plugin 0.108.0", + "nu-plugin-core 0.108.0", "nu-plugin-engine", - "nu-plugin-protocol", - "nu-protocol", + "nu-plugin-protocol 0.108.0", + "nu-protocol 0.108.0", "similar", ] [[package]] name = "nu-protocol" -version = "0.107.1" +version = "0.108.0" dependencies = [ "brotli", "bytes", @@ -947,12 +1049,12 @@ dependencies = [ "memchr", "miette", "nix", - "nu-derive-value", - "nu-experimental", - "nu-glob", - "nu-path", - "nu-system", - "nu-utils", + "nu-derive-value 0.108.0", + "nu-experimental 0.108.0", + "nu-glob 0.108.0", + "nu-path 0.108.0", + "nu-system 0.108.0", + "nu-utils 0.108.0", "num-format", "os_pipe", "rmp-serde", @@ -963,13 +1065,53 @@ dependencies = [ "thiserror 2.0.17", "typetag", "web-time", - "windows 0.56.0", - "windows-sys 0.48.0", + "windows 0.62.2", + "windows-sys 0.61.2", +] + +[[package]] +name = "nu-protocol" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d887a2fb4c325fdb78c3eef426ab0bccab85b1f644b8ec267e586fa02933060" +dependencies = [ + "brotli", + "bytes", + "chrono", + "chrono-humanize", + "dirs", + "dirs-sys", + "fancy-regex", + "heck", + "indexmap", + "log", + "lru", + "memchr", + "miette", + "nix", + "nu-derive-value 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-experimental 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-glob 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-path 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-system 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "nu-utils 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", + "num-format", + "os_pipe", + "rmp-serde", + "serde", + "serde_json", + "strum", + "strum_macros", + "thiserror 2.0.17", + "typetag", + "web-time", + "windows 0.62.2", + "windows-sys 0.61.2", ] [[package]] name = "nu-system" -version = "0.107.1" +version = "0.108.0" dependencies = [ "chrono", "itertools 0.14.0", @@ -982,12 +1124,55 @@ dependencies = [ "procfs", "sysinfo", "web-time", - "windows 0.56.0", + "windows 0.62.2", +] + +[[package]] +name = "nu-system" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2499aaa5e03f648250ecad2cef2fd97723eb6a899a60871ae64479b90e9a1451" +dependencies = [ + "chrono", + "itertools 0.14.0", + "libc", + "libproc", + "log", + "mach2", + "nix", + "ntapi", + "procfs", + "sysinfo", + "web-time", + "windows 0.62.2", ] [[package]] name = "nu-utils" -version = "0.107.1" +version = "0.108.0" +dependencies = [ + "byteyarn", + "crossterm", + "crossterm_winapi", + "fancy-regex", + "lean_string", + "log", + "lscolors", + "memchr", + "nix", + "num-format", + "serde", + "serde_json", + "strip-ansi-escapes", + "sys-locale", + "unicase", +] + +[[package]] +name = "nu-utils" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d43442cb69c1c9703afe66003b206b916015dd4f67d2b157bcf15ec81cba2360" dependencies = [ "byteyarn", "crossterm", @@ -1011,9 +1196,9 @@ name = "nu_plugin_orchestrator" version = "0.1.0" dependencies = [ "chrono", - "nu-plugin", + "nu-plugin 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", "nu-plugin-test-support", - "nu-protocol", + "nu-protocol 0.108.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde", "serde_json", "tempfile", @@ -1247,13 +1432,13 @@ dependencies = [ [[package]] name = "redox_users" -version = "0.4.6" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" +checksum = "a4e608c6638b9c18977b00b475ac1f28d14e84b27d8d42f70e0bf1e3dec127ac" dependencies = [ "getrandom 0.2.16", "libredox", - "thiserror 1.0.69", + "thiserror 2.0.17", ] [[package]] @@ -1978,27 +2163,29 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" -[[package]] -name = "windows" -version = "0.56.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1de69df01bdf1ead2f4ac895dc77c9351aefff65b2f3db429a343f9cbf05e132" -dependencies = [ - "windows-core 0.56.0", - "windows-targets 0.52.6", -] - [[package]] name = "windows" version = "0.61.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9babd3a767a4c1aef6900409f85f5d53ce2544ccdfaa86dad48c91782c6d6893" dependencies = [ - "windows-collections", + "windows-collections 0.2.0", "windows-core 0.61.2", - "windows-future", + "windows-future 0.2.1", "windows-link 0.1.3", - "windows-numerics", + "windows-numerics 0.2.0", +] + +[[package]] +name = "windows" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580" +dependencies = [ + "windows-collections 0.3.2", + "windows-core 0.62.2", + "windows-future 0.3.2", + "windows-numerics 0.3.1", ] [[package]] @@ -2011,15 +2198,12 @@ dependencies = [ ] [[package]] -name = "windows-core" -version = "0.56.0" +name = "windows-collections" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4698e52ed2d08f8658ab0c39512a7c00ee5fe2688c65f8c0a4f06750d729f2a6" +checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610" dependencies = [ - "windows-implement 0.56.0", - "windows-interface 0.56.0", - "windows-result 0.1.2", - "windows-targets 0.52.6", + "windows-core 0.62.2", ] [[package]] @@ -2028,8 +2212,8 @@ version = "0.61.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3" dependencies = [ - "windows-implement 0.60.2", - "windows-interface 0.59.3", + "windows-implement", + "windows-interface", "windows-link 0.1.3", "windows-result 0.3.4", "windows-strings 0.4.2", @@ -2041,8 +2225,8 @@ version = "0.62.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" dependencies = [ - "windows-implement 0.60.2", - "windows-interface 0.59.3", + "windows-implement", + "windows-interface", "windows-link 0.2.1", "windows-result 0.4.1", "windows-strings 0.5.1", @@ -2056,18 +2240,18 @@ checksum = "fc6a41e98427b19fe4b73c550f060b59fa592d7d686537eebf9385621bfbad8e" dependencies = [ "windows-core 0.61.2", "windows-link 0.1.3", - "windows-threading", + "windows-threading 0.1.0", ] [[package]] -name = "windows-implement" -version = "0.56.0" +name = "windows-future" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6fc35f58ecd95a9b71c4f2329b911016e6bec66b3f2e6a4aad86bd2e99e2f9b" +checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb" dependencies = [ - "proc-macro2", - "quote", - "syn", + "windows-core 0.62.2", + "windows-link 0.2.1", + "windows-threading 0.2.1", ] [[package]] @@ -2081,17 +2265,6 @@ dependencies = [ "syn", ] -[[package]] -name = "windows-interface" -version = "0.56.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08990546bf4edef8f431fa6326e032865f27138718c587dc21bc0265bbcb57cc" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "windows-interface" version = "0.59.3" @@ -2126,12 +2299,13 @@ dependencies = [ ] [[package]] -name = "windows-result" -version = "0.1.2" +name = "windows-numerics" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e383302e8ec8515204254685643de10811af0ed97ea37210dc26fb0032647f8" +checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26" dependencies = [ - "windows-targets 0.52.6", + "windows-core 0.62.2", + "windows-link 0.2.1", ] [[package]] @@ -2170,15 +2344,6 @@ dependencies = [ "windows-link 0.2.1", ] -[[package]] -name = "windows-sys" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" -dependencies = [ - "windows-targets 0.48.5", -] - [[package]] name = "windows-sys" version = "0.52.0" @@ -2215,21 +2380,6 @@ dependencies = [ "windows-link 0.2.1", ] -[[package]] -name = "windows-targets" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" -dependencies = [ - "windows_aarch64_gnullvm 0.48.5", - "windows_aarch64_msvc 0.48.5", - "windows_i686_gnu 0.48.5", - "windows_i686_msvc 0.48.5", - "windows_x86_64_gnu 0.48.5", - "windows_x86_64_gnullvm 0.48.5", - "windows_x86_64_msvc 0.48.5", -] - [[package]] name = "windows-targets" version = "0.52.6" @@ -2273,10 +2423,13 @@ dependencies = [ ] [[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.5" +name = "windows-threading" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" +checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37" +dependencies = [ + "windows-link 0.2.1", +] [[package]] name = "windows_aarch64_gnullvm" @@ -2290,12 +2443,6 @@ version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" - [[package]] name = "windows_aarch64_msvc" version = "0.52.6" @@ -2308,12 +2455,6 @@ version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" -[[package]] -name = "windows_i686_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" - [[package]] name = "windows_i686_gnu" version = "0.52.6" @@ -2338,12 +2479,6 @@ version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" -[[package]] -name = "windows_i686_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" - [[package]] name = "windows_i686_msvc" version = "0.52.6" @@ -2356,12 +2491,6 @@ version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" - [[package]] name = "windows_x86_64_gnu" version = "0.52.6" @@ -2374,12 +2503,6 @@ version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" - [[package]] name = "windows_x86_64_gnullvm" version = "0.52.6" @@ -2392,12 +2515,6 @@ version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" -[[package]] -name = "windows_x86_64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" - [[package]] name = "windows_x86_64_msvc" version = "0.52.6" diff --git a/nu_plugin_orchestrator/Cargo.toml b/nu_plugin_orchestrator/Cargo.toml index 41d7fed..d25b2c2 100644 --- a/nu_plugin_orchestrator/Cargo.toml +++ b/nu_plugin_orchestrator/Cargo.toml @@ -8,14 +8,23 @@ repository = "https://github.com/provisioning/nu_plugin_orchestrator" license = "MIT" [dependencies] -nu-plugin = { version = "0.107.1", path = "../nushell/crates/nu-plugin" } -nu-protocol = { version = "0.107.1", path = "../nushell/crates/nu-protocol", features = ["plugin"] } -serde = { version = "1.0", features = ["derive"] } +nu-plugin = "0.108.0" +nu-protocol = "0.108.0" serde_json = "1.0" toml = "0.9" -chrono = { version = "0.4", features = ["serde"] } walkdir = "2.5" +[dependencies.serde] +version = "1.0" +features = ["derive"] + +[dependencies.chrono] +version = "0.4" +features = ["serde"] + [dev-dependencies] -nu-plugin-test-support = { version = "0.107.1", path = "../nushell/crates/nu-plugin-test-support" } -tempfile = "3.10" +tempfile = "3.23" + +[dev-dependencies.nu-plugin-test-support] +version = "0.108.0" +path = "../nushell/crates/nu-plugin-test-support" diff --git a/nu_plugin_port_extension/Cargo.lock b/nu_plugin_port_extension/Cargo.lock index 87c9044..80ee932 100644 --- a/nu_plugin_port_extension/Cargo.lock +++ b/nu_plugin_port_extension/Cargo.lock @@ -243,7 +243,7 @@ dependencies = [ "num-traits", "pure-rust-locales", "serde", - "windows-link", + "windows-link 0.1.3", ] [[package]] @@ -385,23 +385,23 @@ dependencies = [ [[package]] name = "dirs" -version = "5.0.1" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" +checksum = "c3e8aa94d75141228480295a7d0e7feb620b1a5ad9f12bc40be62411e38cce4e" dependencies = [ "dirs-sys", ] [[package]] name = "dirs-sys" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" +checksum = "e01a3366d27ee9890022452ee61b2b63a67e6f13f58900b651ff5665f0bb1fab" dependencies = [ "libc", "option-ext", "redox_users", - "windows-sys 0.48.0", + "windows-sys 0.60.2", ] [[package]] @@ -892,7 +892,9 @@ dependencies = [ [[package]] name = "nu-derive-value" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39f6844d832ae0b97396c6cd7d2a18b7ab9effdde83fbe18a17255b16d2d95e6" dependencies = [ "heck", "proc-macro-error2", @@ -903,7 +905,9 @@ dependencies = [ [[package]] name = "nu-engine" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6eb4562ca8e184393362cf9de2c4e500354e4b16b6ac31dc938f672d615a57a4" dependencies = [ "fancy-regex", "log", @@ -916,7 +920,9 @@ dependencies = [ [[package]] name = "nu-experimental" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0eb92aab3b0221658e1163aee36efef6e7018d101d7092a7747f426ecaa73a3" dependencies = [ "itertools 0.14.0", "thiserror 2.0.12", @@ -924,11 +930,15 @@ dependencies = [ [[package]] name = "nu-glob" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f4dff716f0e89268bddca91c984b3d67c8abda45039e38f5e3605c37d74b460" [[package]] name = "nu-path" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b04577311397f1dd847c37a241b4bcb6a59719c03cb23672c486f57a37dba09" dependencies = [ "dirs", "omnipath", @@ -938,7 +948,9 @@ dependencies = [ [[package]] name = "nu-plugin" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00f04d0af0c79ed0801ae9edce531cf0a3cbc9987f2ef8b18e7e758410b3495f" dependencies = [ "log", "nix", @@ -952,7 +964,9 @@ dependencies = [ [[package]] name = "nu-plugin-core" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf1f65bf58874f811ae8b61e9ff809347344b2628b0b69a09ae6d663242f25f2" dependencies = [ "interprocess", "log", @@ -961,12 +975,14 @@ dependencies = [ "rmp-serde", "serde", "serde_json", - "windows 0.56.0", + "windows 0.62.2", ] [[package]] name = "nu-plugin-protocol" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9eb646cdb01361724e2b142f3129016ed6230ec857832ba6aec56fed9377c935" dependencies = [ "nu-protocol", "nu-utils", @@ -978,7 +994,9 @@ dependencies = [ [[package]] name = "nu-protocol" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d887a2fb4c325fdb78c3eef426ab0bccab85b1f644b8ec267e586fa02933060" dependencies = [ "brotli", "bytes", @@ -1010,13 +1028,15 @@ dependencies = [ "thiserror 2.0.12", "typetag", "web-time", - "windows 0.56.0", - "windows-sys 0.48.0", + "windows 0.62.2", + "windows-sys 0.61.2", ] [[package]] name = "nu-system" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2499aaa5e03f648250ecad2cef2fd97723eb6a899a60871ae64479b90e9a1451" dependencies = [ "chrono", "itertools 0.14.0", @@ -1029,12 +1049,14 @@ dependencies = [ "procfs", "sysinfo 0.36.1", "web-time", - "windows 0.56.0", + "windows 0.62.2", ] [[package]] name = "nu-utils" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d43442cb69c1c9703afe66003b206b916015dd4f67d2b157bcf15ec81cba2360" dependencies = [ "byteyarn", "crossterm", @@ -1285,13 +1307,13 @@ dependencies = [ [[package]] name = "redox_users" -version = "0.4.6" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" +checksum = "a4e608c6638b9c18977b00b475ac1f28d14e84b27d8d42f70e0bf1e3dec127ac" dependencies = [ "getrandom", "libredox", - "thiserror 1.0.69", + "thiserror 2.0.12", ] [[package]] @@ -1845,27 +1867,29 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" -[[package]] -name = "windows" -version = "0.56.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1de69df01bdf1ead2f4ac895dc77c9351aefff65b2f3db429a343f9cbf05e132" -dependencies = [ - "windows-core 0.56.0", - "windows-targets 0.52.6", -] - [[package]] name = "windows" version = "0.61.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9babd3a767a4c1aef6900409f85f5d53ce2544ccdfaa86dad48c91782c6d6893" dependencies = [ - "windows-collections", + "windows-collections 0.2.0", "windows-core 0.61.2", - "windows-future", - "windows-link", - "windows-numerics", + "windows-future 0.2.1", + "windows-link 0.1.3", + "windows-numerics 0.2.0", +] + +[[package]] +name = "windows" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580" +dependencies = [ + "windows-collections 0.3.2", + "windows-core 0.62.2", + "windows-future 0.3.2", + "windows-numerics 0.3.1", ] [[package]] @@ -1878,15 +1902,12 @@ dependencies = [ ] [[package]] -name = "windows-core" -version = "0.56.0" +name = "windows-collections" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4698e52ed2d08f8658ab0c39512a7c00ee5fe2688c65f8c0a4f06750d729f2a6" +checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610" dependencies = [ - "windows-implement 0.56.0", - "windows-interface 0.56.0", - "windows-result 0.1.2", - "windows-targets 0.52.6", + "windows-core 0.62.2", ] [[package]] @@ -1895,11 +1916,24 @@ version = "0.61.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3" dependencies = [ - "windows-implement 0.60.0", - "windows-interface 0.59.1", - "windows-link", + "windows-implement", + "windows-interface", + "windows-link 0.1.3", "windows-result 0.3.4", - "windows-strings", + "windows-strings 0.4.2", +] + +[[package]] +name = "windows-core" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-link 0.2.1", + "windows-result 0.4.1", + "windows-strings 0.5.1", ] [[package]] @@ -1909,26 +1943,26 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc6a41e98427b19fe4b73c550f060b59fa592d7d686537eebf9385621bfbad8e" dependencies = [ "windows-core 0.61.2", - "windows-link", - "windows-threading", + "windows-link 0.1.3", + "windows-threading 0.1.0", ] [[package]] -name = "windows-implement" -version = "0.56.0" +name = "windows-future" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6fc35f58ecd95a9b71c4f2329b911016e6bec66b3f2e6a4aad86bd2e99e2f9b" +checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.104", + "windows-core 0.62.2", + "windows-link 0.2.1", + "windows-threading 0.2.1", ] [[package]] name = "windows-implement" -version = "0.60.0" +version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" dependencies = [ "proc-macro2", "quote", @@ -1937,20 +1971,9 @@ dependencies = [ [[package]] name = "windows-interface" -version = "0.56.0" +version = "0.59.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08990546bf4edef8f431fa6326e032865f27138718c587dc21bc0265bbcb57cc" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.104", -] - -[[package]] -name = "windows-interface" -version = "0.59.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" dependencies = [ "proc-macro2", "quote", @@ -1963,6 +1986,12 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + [[package]] name = "windows-numerics" version = "0.2.0" @@ -1970,16 +1999,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9150af68066c4c5c07ddc0ce30421554771e528bde427614c61038bc2c92c2b1" dependencies = [ "windows-core 0.61.2", - "windows-link", + "windows-link 0.1.3", ] [[package]] -name = "windows-result" -version = "0.1.2" +name = "windows-numerics" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e383302e8ec8515204254685643de10811af0ed97ea37210dc26fb0032647f8" +checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26" dependencies = [ - "windows-targets 0.52.6", + "windows-core 0.62.2", + "windows-link 0.2.1", ] [[package]] @@ -1988,7 +2018,16 @@ version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6" dependencies = [ - "windows-link", + "windows-link 0.1.3", +] + +[[package]] +name = "windows-result" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" +dependencies = [ + "windows-link 0.2.1", ] [[package]] @@ -1997,16 +2036,16 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57" dependencies = [ - "windows-link", + "windows-link 0.1.3", ] [[package]] -name = "windows-sys" -version = "0.48.0" +name = "windows-strings" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" dependencies = [ - "windows-targets 0.48.5", + "windows-link 0.2.1", ] [[package]] @@ -2037,18 +2076,12 @@ dependencies = [ ] [[package]] -name = "windows-targets" -version = "0.48.5" +name = "windows-sys" +version = "0.61.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" dependencies = [ - "windows_aarch64_gnullvm 0.48.5", - "windows_aarch64_msvc 0.48.5", - "windows_i686_gnu 0.48.5", - "windows_i686_msvc 0.48.5", - "windows_x86_64_gnu 0.48.5", - "windows_x86_64_gnullvm 0.48.5", - "windows_x86_64_msvc 0.48.5", + "windows-link 0.2.1", ] [[package]] @@ -2089,14 +2122,17 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b66463ad2e0ea3bbf808b7f1d371311c80e115c0b71d60efc142cafbcfb057a6" dependencies = [ - "windows-link", + "windows-link 0.1.3", ] [[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.5" +name = "windows-threading" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" +checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37" +dependencies = [ + "windows-link 0.2.1", +] [[package]] name = "windows_aarch64_gnullvm" @@ -2110,12 +2146,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764" -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" - [[package]] name = "windows_aarch64_msvc" version = "0.52.6" @@ -2128,12 +2158,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c" -[[package]] -name = "windows_i686_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" - [[package]] name = "windows_i686_gnu" version = "0.52.6" @@ -2158,12 +2182,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11" -[[package]] -name = "windows_i686_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" - [[package]] name = "windows_i686_msvc" version = "0.52.6" @@ -2176,12 +2194,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d" -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" - [[package]] name = "windows_x86_64_gnu" version = "0.52.6" @@ -2194,12 +2206,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba" -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" - [[package]] name = "windows_x86_64_gnullvm" version = "0.52.6" @@ -2212,12 +2218,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57" -[[package]] -name = "windows_x86_64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" - [[package]] name = "windows_x86_64_msvc" version = "0.52.6" diff --git a/nu_plugin_port_extension/Cargo.toml b/nu_plugin_port_extension/Cargo.toml index d02c4f7..65a7f65 100644 --- a/nu_plugin_port_extension/Cargo.toml +++ b/nu_plugin_port_extension/Cargo.toml @@ -3,7 +3,11 @@ name = "nu_plugin_port_extension" version = "0.107.0" description = "A nushell plugin to list all active connections and scanning ports on a target address" homepage = "https://github.com/FMotalleb/nu_plugin_port_list" -keywords = ["nushell", "network", "plugin"] +keywords = [ + "nushell", + "network", + "plugin", +] license = "MIT" readme = "README.md" repository = "https://github.com/FMotalleb/nu_plugin_port_list" @@ -13,10 +17,6 @@ edition = "2024" derive_builder = "0.20.2" derive-getters = "0.5.0" netstat2 = "0.11.2" -nu-plugin = { version = "0.107.1", path = "../nushell/crates/nu-plugin" } +nu-plugin = "0.108.0" sysinfo = "0.37" - -[dependencies.nu-protocol] -features = ["plugin"] -version = "0.107.1" -path = "../nushell/crates/nu-protocol" +nu-protocol = "0.108.0" diff --git a/nu_plugin_qr_maker/Cargo.lock b/nu_plugin_qr_maker/Cargo.lock index cb0f001..f4e54c4 100644 --- a/nu_plugin_qr_maker/Cargo.lock +++ b/nu_plugin_qr_maker/Cargo.lock @@ -211,7 +211,7 @@ dependencies = [ "num-traits", "pure-rust-locales", "serde", - "windows-link", + "windows-link 0.1.3", ] [[package]] @@ -276,23 +276,23 @@ dependencies = [ [[package]] name = "dirs" -version = "5.0.1" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" +checksum = "c3e8aa94d75141228480295a7d0e7feb620b1a5ad9f12bc40be62411e38cce4e" dependencies = [ "dirs-sys", ] [[package]] name = "dirs-sys" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" +checksum = "e01a3366d27ee9890022452ee61b2b63a67e6f13f58900b651ff5665f0bb1fab" dependencies = [ "libc", "option-ext", "redox_users", - "windows-sys 0.48.0", + "windows-sys 0.60.2", ] [[package]] @@ -704,7 +704,9 @@ dependencies = [ [[package]] name = "nu-derive-value" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39f6844d832ae0b97396c6cd7d2a18b7ab9effdde83fbe18a17255b16d2d95e6" dependencies = [ "heck", "proc-macro-error2", @@ -715,7 +717,9 @@ dependencies = [ [[package]] name = "nu-engine" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6eb4562ca8e184393362cf9de2c4e500354e4b16b6ac31dc938f672d615a57a4" dependencies = [ "fancy-regex", "log", @@ -728,7 +732,9 @@ dependencies = [ [[package]] name = "nu-experimental" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0eb92aab3b0221658e1163aee36efef6e7018d101d7092a7747f426ecaa73a3" dependencies = [ "itertools 0.14.0", "thiserror 2.0.12", @@ -736,11 +742,15 @@ dependencies = [ [[package]] name = "nu-glob" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f4dff716f0e89268bddca91c984b3d67c8abda45039e38f5e3605c37d74b460" [[package]] name = "nu-path" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b04577311397f1dd847c37a241b4bcb6a59719c03cb23672c486f57a37dba09" dependencies = [ "dirs", "omnipath", @@ -750,7 +760,9 @@ dependencies = [ [[package]] name = "nu-plugin" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00f04d0af0c79ed0801ae9edce531cf0a3cbc9987f2ef8b18e7e758410b3495f" dependencies = [ "log", "nix", @@ -764,7 +776,9 @@ dependencies = [ [[package]] name = "nu-plugin-core" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf1f65bf58874f811ae8b61e9ff809347344b2628b0b69a09ae6d663242f25f2" dependencies = [ "interprocess", "log", @@ -773,12 +787,14 @@ dependencies = [ "rmp-serde", "serde", "serde_json", - "windows 0.56.0", + "windows 0.62.2", ] [[package]] name = "nu-plugin-protocol" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9eb646cdb01361724e2b142f3129016ed6230ec857832ba6aec56fed9377c935" dependencies = [ "nu-protocol", "nu-utils", @@ -790,7 +806,9 @@ dependencies = [ [[package]] name = "nu-protocol" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d887a2fb4c325fdb78c3eef426ab0bccab85b1f644b8ec267e586fa02933060" dependencies = [ "brotli", "bytes", @@ -822,13 +840,15 @@ dependencies = [ "thiserror 2.0.12", "typetag", "web-time", - "windows 0.56.0", - "windows-sys 0.48.0", + "windows 0.62.2", + "windows-sys 0.61.2", ] [[package]] name = "nu-system" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2499aaa5e03f648250ecad2cef2fd97723eb6a899a60871ae64479b90e9a1451" dependencies = [ "chrono", "itertools 0.14.0", @@ -841,12 +861,14 @@ dependencies = [ "procfs", "sysinfo", "web-time", - "windows 0.56.0", + "windows 0.62.2", ] [[package]] name = "nu-utils" -version = "0.107.1" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d43442cb69c1c9703afe66003b206b916015dd4f67d2b157bcf15ec81cba2360" dependencies = [ "byteyarn", "crossterm", @@ -1089,13 +1111,13 @@ dependencies = [ [[package]] name = "redox_users" -version = "0.4.6" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" +checksum = "a4e608c6638b9c18977b00b475ac1f28d14e84b27d8d42f70e0bf1e3dec127ac" dependencies = [ "getrandom", "libredox", - "thiserror 1.0.69", + "thiserror 2.0.12", ] [[package]] @@ -1612,27 +1634,29 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" -[[package]] -name = "windows" -version = "0.56.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1de69df01bdf1ead2f4ac895dc77c9351aefff65b2f3db429a343f9cbf05e132" -dependencies = [ - "windows-core 0.56.0", - "windows-targets 0.52.6", -] - [[package]] name = "windows" version = "0.61.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9babd3a767a4c1aef6900409f85f5d53ce2544ccdfaa86dad48c91782c6d6893" dependencies = [ - "windows-collections", + "windows-collections 0.2.0", "windows-core 0.61.2", - "windows-future", - "windows-link", - "windows-numerics", + "windows-future 0.2.1", + "windows-link 0.1.3", + "windows-numerics 0.2.0", +] + +[[package]] +name = "windows" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580" +dependencies = [ + "windows-collections 0.3.2", + "windows-core 0.62.2", + "windows-future 0.3.2", + "windows-numerics 0.3.1", ] [[package]] @@ -1645,15 +1669,12 @@ dependencies = [ ] [[package]] -name = "windows-core" -version = "0.56.0" +name = "windows-collections" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4698e52ed2d08f8658ab0c39512a7c00ee5fe2688c65f8c0a4f06750d729f2a6" +checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610" dependencies = [ - "windows-implement 0.56.0", - "windows-interface 0.56.0", - "windows-result 0.1.2", - "windows-targets 0.52.6", + "windows-core 0.62.2", ] [[package]] @@ -1662,11 +1683,24 @@ version = "0.61.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3" dependencies = [ - "windows-implement 0.60.0", - "windows-interface 0.59.1", - "windows-link", + "windows-implement", + "windows-interface", + "windows-link 0.1.3", "windows-result 0.3.4", - "windows-strings", + "windows-strings 0.4.2", +] + +[[package]] +name = "windows-core" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-link 0.2.1", + "windows-result 0.4.1", + "windows-strings 0.5.1", ] [[package]] @@ -1676,26 +1710,26 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc6a41e98427b19fe4b73c550f060b59fa592d7d686537eebf9385621bfbad8e" dependencies = [ "windows-core 0.61.2", - "windows-link", - "windows-threading", + "windows-link 0.1.3", + "windows-threading 0.1.0", ] [[package]] -name = "windows-implement" -version = "0.56.0" +name = "windows-future" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6fc35f58ecd95a9b71c4f2329b911016e6bec66b3f2e6a4aad86bd2e99e2f9b" +checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb" dependencies = [ - "proc-macro2", - "quote", - "syn", + "windows-core 0.62.2", + "windows-link 0.2.1", + "windows-threading 0.2.1", ] [[package]] name = "windows-implement" -version = "0.60.0" +version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" dependencies = [ "proc-macro2", "quote", @@ -1704,20 +1738,9 @@ dependencies = [ [[package]] name = "windows-interface" -version = "0.56.0" +version = "0.59.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08990546bf4edef8f431fa6326e032865f27138718c587dc21bc0265bbcb57cc" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "windows-interface" -version = "0.59.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" dependencies = [ "proc-macro2", "quote", @@ -1730,6 +1753,12 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + [[package]] name = "windows-numerics" version = "0.2.0" @@ -1737,16 +1766,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9150af68066c4c5c07ddc0ce30421554771e528bde427614c61038bc2c92c2b1" dependencies = [ "windows-core 0.61.2", - "windows-link", + "windows-link 0.1.3", ] [[package]] -name = "windows-result" -version = "0.1.2" +name = "windows-numerics" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e383302e8ec8515204254685643de10811af0ed97ea37210dc26fb0032647f8" +checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26" dependencies = [ - "windows-targets 0.52.6", + "windows-core 0.62.2", + "windows-link 0.2.1", ] [[package]] @@ -1755,7 +1785,16 @@ version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6" dependencies = [ - "windows-link", + "windows-link 0.1.3", +] + +[[package]] +name = "windows-result" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" +dependencies = [ + "windows-link 0.2.1", ] [[package]] @@ -1764,16 +1803,16 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57" dependencies = [ - "windows-link", + "windows-link 0.1.3", ] [[package]] -name = "windows-sys" -version = "0.48.0" +name = "windows-strings" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" dependencies = [ - "windows-targets 0.48.5", + "windows-link 0.2.1", ] [[package]] @@ -1804,18 +1843,12 @@ dependencies = [ ] [[package]] -name = "windows-targets" -version = "0.48.5" +name = "windows-sys" +version = "0.61.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" dependencies = [ - "windows_aarch64_gnullvm 0.48.5", - "windows_aarch64_msvc 0.48.5", - "windows_i686_gnu 0.48.5", - "windows_i686_msvc 0.48.5", - "windows_x86_64_gnu 0.48.5", - "windows_x86_64_gnullvm 0.48.5", - "windows_x86_64_msvc 0.48.5", + "windows-link 0.2.1", ] [[package]] @@ -1856,14 +1889,17 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b66463ad2e0ea3bbf808b7f1d371311c80e115c0b71d60efc142cafbcfb057a6" dependencies = [ - "windows-link", + "windows-link 0.1.3", ] [[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.5" +name = "windows-threading" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" +checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37" +dependencies = [ + "windows-link 0.2.1", +] [[package]] name = "windows_aarch64_gnullvm" @@ -1877,12 +1913,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764" -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" - [[package]] name = "windows_aarch64_msvc" version = "0.52.6" @@ -1895,12 +1925,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c" -[[package]] -name = "windows_i686_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" - [[package]] name = "windows_i686_gnu" version = "0.52.6" @@ -1925,12 +1949,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11" -[[package]] -name = "windows_i686_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" - [[package]] name = "windows_i686_msvc" version = "0.52.6" @@ -1943,12 +1961,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d" -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" - [[package]] name = "windows_x86_64_gnu" version = "0.52.6" @@ -1961,12 +1973,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba" -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" - [[package]] name = "windows_x86_64_gnullvm" version = "0.52.6" @@ -1979,12 +1985,6 @@ version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57" -[[package]] -name = "windows_x86_64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" - [[package]] name = "windows_x86_64_msvc" version = "0.52.6" diff --git a/nu_plugin_qr_maker/Cargo.toml b/nu_plugin_qr_maker/Cargo.toml index 1f27138..cedce08 100644 --- a/nu_plugin_qr_maker/Cargo.toml +++ b/nu_plugin_qr_maker/Cargo.toml @@ -2,7 +2,11 @@ name = "nu_plugin_qr_maker" license = "MIT" authors = ["Motalleb Fallahnezhad "] -keywords = ["nushell", "qr-code", "plugin"] +keywords = [ + "nushell", + "qr-code", + "plugin", +] homepage = "https://github.com/FMotalleb/nu_plugin_qr_maker" repository = "https://github.com/FMotalleb/nu_plugin_qr_maker" description = "A nushell plugin to create qr code in terminal" @@ -11,6 +15,8 @@ edition = "2024" readme = "README.md" [dependencies] -nu-plugin = { version = "0.107.1", path = "../nushell/crates/nu-plugin" } -nu-protocol = { version = "0.107.1", features = ["plugin"], path = "../nushell/crates/nu-protocol" } -qr2term = { version = "0.3.3" } +nu-plugin = "0.108.0" +nu-protocol = "0.108.0" + +[dependencies.qr2term] +version = "0.3.3" diff --git a/scripts/audit_crate_dependencies.nu b/scripts/audit_crate_dependencies.nu index 14d41d8..f15db90 100644 --- a/scripts/audit_crate_dependencies.nu +++ b/scripts/audit_crate_dependencies.nu @@ -142,7 +142,7 @@ def audit_plugin_cargo_toml [ let cargo_data = try { open $cargo_toml_path } catch { - log_error $"Failed to read [$cargo_toml_path]" + log_error $"Failed to read ($cargo_toml_path)" return { plugin: $plugin_name type: $plugin_type @@ -273,9 +273,9 @@ def display_audit_results [ if ($plugins_with_issues | length) > 0 { log_warn "\n=== Plugins with Version Issues ===" $plugins_with_issues | each {|plugin| - log_error $"[$plugin.plugin]" + log_error $"($plugin.plugin)" $plugin.version_issues | each {|issue| - print $" β€’ ($issue.crate): found [$issue.found], expected [$issue.expected]" + print $" β€’ ($issue.crate): found [$issue.found], expected ($issue.expected)" } } } @@ -296,7 +296,7 @@ def display_plugin_group [ $plugin.nu_dependencies | each {|dep| let path_info = if ($dep.path | is-not-empty) { $" \(path: ($dep.path))" } else { "" } let features_info = if ($dep.features | is-not-empty) { - $" [($dep.features | str join ', ')]" + $" (($dep.features | str join ', '))" } else { "" } @@ -332,7 +332,7 @@ def audit_single_plugin [ plugin_name: string nushell_version: string ] { - log_info $"Auditing plugin: [$plugin_name]" + log_info $"Auditing plugin: ($plugin_name)" # Check if it's a custom plugin let custom_cargo_toml = $"./($plugin_name)/Cargo.toml" @@ -350,7 +350,7 @@ def audit_single_plugin [ return } - log_error $"Plugin '[$plugin_name]' not found" + log_error $"Plugin '($plugin_name)' not found" log_info "Available custom plugins:" get_plugin_directories | each {|dir| print $" β€’ (get_plugin_name $dir)" @@ -379,7 +379,7 @@ def "main matrix" [] { | sort log_info "\n=== Dependency Matrix ===" - log_info $"Nushell version: [$nushell_version]" + log_info $"Nushell version: ($nushell_version)" log_info $"Unique nu-* crates: ($all_crates | length)" # Show which plugins use which crates diff --git a/scripts/check_version.nu b/scripts/check_version.nu index 5784c12..afd4a6b 100755 --- a/scripts/check_version.nu +++ b/scripts/check_version.nu @@ -18,12 +18,26 @@ def get_submodule_version [] { } } -# Get installed nushell version +# Get installed nushell version - try project binary first, then system def get_system_version [] { + # Try project binary first (more reliable, avoids broken system nu) + let project_binary = "nushell/target/release/nu" + if ($project_binary | path exists) { + try { + let version = (do { ^$project_binary --version } | complete) + if $version.exit_code == 0 { + return ($version.stdout | str trim) + } + } catch { + # Fall through to system nu + } + } + + # Fall back to system nu try { nu --version | str trim } catch { - error make {msg: "Could not get system nushell version"} + error make {msg: "Could not get system nushell version - system binary appears broken or missing"} } } @@ -48,8 +62,8 @@ def main [ if not $quiet { print $"πŸ” Version Check:" - print $" Submodule: ($versions.submodule)" - print $" System: ($versions.system)" + print $" Submodule: ($versions.submodule)" + print $" Project Binary: ($versions.system)" } if $versions.match { @@ -59,8 +73,8 @@ def main [ return true } else { print "❌ Version mismatch detected!" - print $" Expected: ($versions.submodule) - from submodule" - print $" Found: ($versions.system) - system nushell" + print $" Expected: ($versions.submodule) - from nushell submodule (Cargo.toml)" + print $" Found: ($versions.system) - project or system binary" print "" if $fix { diff --git a/scripts/collect_full_binaries.nu b/scripts/collect_full_binaries.nu index f0c4ffb..9d68050 100755 --- a/scripts/collect_full_binaries.nu +++ b/scripts/collect_full_binaries.nu @@ -23,8 +23,9 @@ def main [ let all_platforms_flag = ($all_platforms | default false) let include_nushell_flag = true # always include nushell binary by default let release_flag = ($release | default false) - # Validate nushell version consistency first - validate_nushell_version + + # Skip validate_nushell_version when in automation (system nu may be broken) + # Validation already done in previous steps of complete-update workflow if $list_platforms_flag { list_available_platforms @@ -180,12 +181,21 @@ def collect_binaries [ # Collect nushell binary if requested if $include_nushell { - let nushell_info = get_nushell_binary_info $target_platform $use_release $profile - if ($nushell_info | is-not-empty) { + # Try direct path first (for automation workflow) + let direct_path = "./nushell/target/release/nu" + let nushell_source = if ($direct_path | path exists) { + $direct_path + } else { + # Fall back to cross-compilation aware lookup + let info = get_nushell_binary_info $target_platform $use_release $profile + if ($info | is-not-empty) { $info.path } else { "" } + } + + if ($nushell_source | is-not-empty) and ($nushell_source | path exists) { let dest_path = $"($platform_dir)/nu" let dest_path = if $nu.os-info.name == "windows" { $"($dest_path).exe" } else { $dest_path } - copy_binary $nushell_info.path $dest_path $force + copy_binary $nushell_source $dest_path $force $collected_files = ($collected_files | append { name: "nu" type: "nushell" @@ -194,7 +204,7 @@ def collect_binaries [ }) log_success $"βœ… Collected nushell binary" } else { - log_warn "⚠️ Nushell binary not found for platform ($target_platform)" + log_warn $"⚠️ Nushell binary not found - skipping" } } @@ -234,7 +244,7 @@ def collect_binaries [ create_installation_scripts $platform_dir # Summary - let total_size = ($collected_files | get size | math sum) + let total_size = if ($collected_files | is-empty) { 0 } else { ($collected_files | get size | math sum) } log_success $"βœ… Collection complete for ($target_platform)" log_info $"πŸ“Š Collected ($collected_files | length) binaries" log_info $"πŸ“ Output directory: ($platform_dir)" diff --git a/scripts/create_full_distribution.nu b/scripts/create_full_distribution.nu index 0933d02..ad241ef 100755 --- a/scripts/create_full_distribution.nu +++ b/scripts/create_full_distribution.nu @@ -21,34 +21,37 @@ def main [ if not $bin_only { # Phase 1: Collect binaries - log_info "\n╔══════════════════════════════════════════════════════════╗" - log_info "β•‘ Phase 1: Collect Binaries β•‘" - log_info "β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•" + print "╔══════════════════════════════════════════════════════════╗" + print "β•‘ Phase 1: Collect Binaries β•‘" + print "β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•" collect_binaries $all_platforms } # Phase 2: Create full distribution packages if not $bin_only { - log_info "\n╔══════════════════════════════════════════════════════════╗" - log_info "β•‘ Phase 2: Create Full Distribution Packages β•‘" - log_info "β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•" + print "" + print "╔══════════════════════════════════════════════════════════╗" + print "β•‘ Phase 2: Create Full Distribution Packages β•‘" + print "β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•" create_distribution_packages $all_platforms $checksums } # Phase 3: Create bin archives - log_info "\n╔══════════════════════════════════════════════════════════╗" - log_info "β•‘ Phase 3: Create Bin Archives β•‘" - log_info "β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•" + print "" + print "╔══════════════════════════════════════════════════════════╗" + print "β•‘ Phase 3: Create Bin Archives β•‘" + print "β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•" create_bin_archives # Phase 4: Verification if $verify { - log_info "\n╔══════════════════════════════════════════════════════════╗" - log_info "β•‘ Phase 4: Verify Packages β•‘" - log_info "β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•" + print "" + print "╔══════════════════════════════════════════════════════════╗" + print "β•‘ Phase 4: Verify Packages β•‘" + print "β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•" verify_packages } @@ -62,11 +65,11 @@ def print_banner [] { print $" (ansi blue)╔════════════════════════════════════════════════════════════╗ β•‘ β•‘ -β•‘ πŸ“¦ Complete Distribution Creator πŸ“¦ β•‘ +β•‘ πŸ“¦ Complete Distribution Creator πŸ“¦ β•‘ β•‘ β•‘ β•‘ Creates: β•‘ -β•‘ β€’ Full distribution packages (nu + plugins) β•‘ -β•‘ β€’ Bin archives (plugins only) β•‘ +β•‘ β€’ Full distribution packages \(nu + plugins\) β•‘ +β•‘ β€’ Bin archives \(plugins only\) β•‘ β•‘ β€’ Checksums and manifests β•‘ β•‘ β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•(ansi reset) @@ -78,20 +81,31 @@ def collect_binaries [all_platforms: bool] { log_info "πŸ“₯ Collecting binaries..." if ("./scripts/collect_full_binaries.nu" | path exists) { + # Use built nu binary, not system nu (which may be broken) + let built_nu = "./nushell/target/release/nu" + let nu_bin = if ($built_nu | path exists) { $built_nu } else { "nu" } + let result = (do { if $all_platforms { - ^./scripts/collect_full_binaries.nu --all-platforms + ^$nu_bin ./scripts/collect_full_binaries.nu --all-platforms --force } else { - ^./scripts/collect_full_binaries.nu + ^$nu_bin ./scripts/collect_full_binaries.nu --force } } | complete) print $result.stdout + if ($result.stderr | is-not-empty) { + print $result.stderr + } + if $result.exit_code == 0 { log_success "Binaries collected successfully" } else { - log_error "Failed to collect binaries" + log_error $"Failed to collect binaries \(exit code: ($result.exit_code)\)" + if ($result.stderr | is-not-empty) { + log_error $result.stderr + } exit 1 } } else { @@ -151,15 +165,19 @@ def create_distribution_packages [ log_info "πŸ“¦ Creating distribution packages..." if ("./scripts/create_distribution_packages.nu" | path exists) { + # Use project binary for consistency + let built_nu = "./nushell/target/release/nu" + let nu_bin = if ($built_nu | path exists) { $built_nu } else { "nu" } + let result = (do { if $all_platforms and $checksums { - ^./scripts/create_distribution_packages.nu --all-platforms --checksums + ^$nu_bin ./scripts/create_distribution_packages.nu --all-platforms --checksums } else if $all_platforms { - ^./scripts/create_distribution_packages.nu --all-platforms + ^$nu_bin ./scripts/create_distribution_packages.nu --all-platforms } else if $checksums { - ^./scripts/create_distribution_packages.nu --checksums + ^$nu_bin ./scripts/create_distribution_packages.nu --checksums } else { - ^./scripts/create_distribution_packages.nu + ^$nu_bin ./scripts/create_distribution_packages.nu } } | complete) @@ -185,31 +203,101 @@ def create_distribution_packages [ } } -# Create bin archives (plugin-only) +# Create bin archives (plugin-only) - directly from built plugins def create_bin_archives [] { log_info "πŸ“¦ Creating bin archives (plugin-only)..." - let pack_result = (do { - just pack - } | complete) + # Create output directory + if not ("./bin_archives" | path exists) { + mkdir ./bin_archives + } - if $pack_result.exit_code == 0 { - log_success "Bin archives created" + # Get version for naming + let version = try { + open ./nushell/Cargo.toml | get package.version + } catch { + "unknown" + } - # List created archives - if ("./bin_archives" | path exists) { - let archives = (try { ls ./bin_archives/*.tar.gz } catch { [] }) - if ($archives | length) > 0 { - log_info $"Created ($archives | length) plugin archives:" - for archive in $archives { - let size = $archive.size | into string | str substring 0..10 - log_info $" β€’ ($archive.name | path basename): ($size)" + # Get actually built platforms from distribution directory + let built_platforms = try { + ls ./distribution/*/nu | each {|p| $p.name | path dirname | path basename} + } catch { + [] + } + + # If no platforms found, skip Phase 3 + if ($built_platforms | length) == 0 { + log_warn "No platforms found in distribution directory - skipping plugin archive creation" + return + } + + # Create archive for each built platform + for platform in $built_platforms { + let archive_name = $"plugins-only-($version)-($platform).tar.gz" + let archive_path = (pwd | append "bin_archives" | path join | append $archive_name | path join) + + # Create temporary directory for archive contents + let temp_dir = (pwd | append "bin_archives" | path join | append $"plugins-temp-($version)-($platform)" | path join) + mkdir $temp_dir + + # Collect all built plugin binaries + log_info $"πŸ“¦ Collecting plugins for ($platform)..." + + # Get list of plugin binaries (exclude .d dependency files) + let plugins_to_copy = ( + try { + ls nu_plugin_*/target/release/nu_plugin_* | where type == "file" + } catch { + [] + } + ) + + let plugin_count = ($plugins_to_copy | length) + + if $plugin_count > 0 { + log_success $"Collected ($plugin_count) plugins" + + # Copy plugins to temp directory + try { + $plugins_to_copy | each {|p| + cp $p.name $temp_dir + } + } catch { + log_error "Failed to copy plugins to temp directory" + } + + # Create archive using absolute path (tar -C changes directory safely) + log_info "Creating archive..." + let tar_result = (do { + tar -C $temp_dir -czf $archive_path . + } | complete) + + if $tar_result.exit_code == 0 { + if ($archive_path | path exists) { + let size = (ls $archive_path | get 0.size) / 1024 / 1024 + log_success $"Archive created: ($archive_name) - (($size | into int))MB" + } else { + log_error $"Archive file exists but cannot be accessed: ($archive_path)" + } + } else { + log_error $"Failed to create archive. Exit code: ($tar_result.exit_code)" + if ($tar_result.stderr | is-not-empty) { + log_error $"Tar error: ($tar_result.stderr)" } } + } else { + log_warn $"No plugins found to package for ($platform)" + } + + # Clean up temp directory + if ($temp_dir | path exists) { + try { + rm -r $temp_dir + } catch { + log_warn "Could not clean up temporary directory" + } } - } else { - log_warn "Bin archive creation had warnings" - print $pack_result.stdout } } @@ -315,16 +403,21 @@ def generate_distribution_summary [ if ($platforms | length) > 0 { log_info $"\nPlatforms built: ($platforms | str join ', ')" + + # Next steps - use actual built platforms + log_info "\nπŸ“ Next Steps:" + log_info " 1. Test installation:" + # Show example for first built platform + let first_platform = $platforms | first 1 | get 0 + log_info $" cd distribution/($first_platform) && ./install.nu --verify" } + } else { + # If bin_only, no next steps for distribution + log_info "\nπŸ“ Next Steps:" } - # Next steps - log_info "\nπŸ“ Next Steps:" - if not $bin_only { - log_info " 1. Test installation:" - let platform = detect_platform - log_info $" cd distribution/($platform) && ./install.nu --verify" + # Continue with other next steps } log_info " 2. Upload to release:" @@ -336,8 +429,9 @@ def generate_distribution_summary [ # Detect current platform def detect_platform []: nothing -> string { - let os = (sys | get host.name) - let arch = (sys | get host.arch) + let host_info = sys host + let os = $host_info.name + let arch = (sys cpu | get 0.name) if $os == "Darwin" { if $arch == "aarch64" { diff --git a/scripts/detect_breaking_changes.nu b/scripts/detect_breaking_changes.nu index 50717fa..252c9db 100644 --- a/scripts/detect_breaking_changes.nu +++ b/scripts/detect_breaking_changes.nu @@ -67,17 +67,17 @@ def show_breaking_changes [ from_version: string to_version: string ] { - log_info $"Analyzing breaking changes: [$from_version] β†’ [$to_version]" + log_info $"Analyzing breaking changes: [$from_version] β†’ ($to_version)" # Get breaking changes for target version let changes = get_breaking_changes_for_version $to_version if ($changes | is-empty) { - log_success $"No known breaking changes between [$from_version] and [$to_version]" + log_success $"No known breaking changes between [$from_version] and ($to_version)" return } - log_warn $"Found ($changes | length) breaking changes in version [$to_version]" + log_warn $"Found ($changes | length) breaking changes in version ($to_version)" # Display by impact level display_breaking_changes_by_impact $changes @@ -172,7 +172,7 @@ def scan_plugins_for_breaking_changes [] { for plugin_dir in $plugin_dirs { let plugin_name = get_plugin_name $plugin_dir - log_info $"Scanning: [$plugin_name]..." + log_info $"Scanning: ($plugin_name)..." let plugin_findings = scan_plugin_directory $plugin_dir @@ -188,7 +188,7 @@ def scan_plugins_for_breaking_changes [] { if ($findings | length) > 0 { log_warn $"\n=== Breaking API Usage Found ===" $findings | each {|result| - log_warn $"\n[$result.plugin]" + log_warn $"\n($result.plugin)" $result.findings | each {|finding| print $" β€’ ($finding.pattern) in ($finding.file):($finding.line)" print $" Context: ($finding.context)" @@ -315,12 +315,12 @@ def "main check-code" [ def "main migration-guide" [ version: string # Version to generate guide for ] { - log_info $"Generating migration guide for version [$version]" + log_info $"Generating migration guide for version ($version)" let changes = get_breaking_changes_for_version $version if ($changes | is-empty) { - log_info $"No breaking changes documented for version [$version]" + log_info $"No breaking changes documented for version ($version)" return } diff --git a/scripts/download_nushell.nu b/scripts/download_nushell.nu index ced23da..7faa8b6 100755 --- a/scripts/download_nushell.nu +++ b/scripts/download_nushell.nu @@ -30,7 +30,28 @@ def main [ $version } - log_info $"Target version: [$target_version]" + log_info $"Target version: ($target_version)" + + # Check if nushell directory already exists with correct version + let nushell_dir = "./nushell" + if ($nushell_dir | path exists) and (not $clean) { + let cargo_toml = $"($nushell_dir)/Cargo.toml" + if ($cargo_toml | path exists) { + let existing_version = (try { + open $cargo_toml | get package.version + } catch { + "" + }) + + if $existing_version == $target_version { + log_success $"Nushell ($target_version) already exists - skipping download" + log_info "Use --clean flag to force re-download" + return + } else { + log_warn $"Found different version: ($existing_version) - will download ($target_version)" + } + } + } # Clean existing directory if requested if $clean { @@ -43,7 +64,7 @@ def main [ # Verify extraction verify_nushell_source $target_version - log_success $"Nushell [$target_version] downloaded and ready!" + log_success $"Nushell ($target_version) downloaded and ready!" log_info $"Location: ./nushell/" log_info $"Next steps: Run 'just analyze-nushell-features' to check available features" } @@ -72,7 +93,7 @@ def get_latest_nushell_version []: nothing -> string { # Remove 'v' prefix if present let version = $tag_name | str replace "^v" "" - log_success $"Latest version: [$version]" + log_success $"Latest version: ($version)" $version } @@ -119,7 +140,7 @@ def download_nushell_tarball [ # Check file was downloaded if not ($tarball_path | path exists) { - log_error $"Tarball not found at [$tarball_path]" + log_error $"Tarball not found at ($tarball_path)" exit 1 } @@ -178,7 +199,7 @@ def extract_nushell_tarball [ let extracted_dir = $"($tmp_extract_dir)/nushell-($version)" if not ($extracted_dir | path exists) { - log_error $"Expected directory not found: [$extracted_dir]" + log_error $"Expected directory not found: ($extracted_dir)" log_info "Checking available directories..." ls $tmp_extract_dir | each {|it| log_info $" Found: ($it.name)"} exit 1 @@ -211,7 +232,7 @@ def verify_nushell_source [ # Check main Cargo.toml exists if not ($cargo_toml | path exists) { - log_error $"Cargo.toml not found at [$cargo_toml]" + log_error $"Cargo.toml not found at ($cargo_toml)" exit 1 } @@ -224,10 +245,10 @@ def verify_nushell_source [ } if $cargo_version != $version { - log_warn $"Version mismatch: Cargo.toml shows [$cargo_version], expected [$version]" + log_warn $"Version mismatch: Cargo.toml shows ($cargo_version], expected ($version)" log_info "This might be normal if the version doesn't exactly match the tag" } else { - log_success $"Version verified: [$cargo_version]" + log_success $"Version verified: ($cargo_version)" } # Check workspace structure @@ -270,7 +291,7 @@ def "main info" [] { let version = open $cargo_toml | get package.version log_info "Nushell Source Information" - log_info $" Version: [$version]" + log_info $" Version: ($version)" log_info $" Location: ($nushell_dir)" let workspace_members = open $cargo_toml | get workspace.members diff --git a/scripts/lib/common_lib.nu b/scripts/lib/common_lib.nu index 2ea5817..ec60de9 100644 --- a/scripts/lib/common_lib.nu +++ b/scripts/lib/common_lib.nu @@ -37,11 +37,23 @@ export def validate_nushell_version [] { exit 1 } - # Get system nu version + # Get nu version - try project binary first, then system let system_version = try { - (nu --version | str replace "nushell " "" | str replace " .*" "") + let built_nu = "./nushell/target/release/nu" + let version_str = if ($built_nu | path exists) { + let version_output = (do { ^$built_nu --version } | complete) + if $version_output.exit_code == 0 { + $version_output.stdout + } else { + (nu --version) + } + } else { + (nu --version) + } + # Clean up: remove "nushell " prefix and trim + ($version_str | str replace "nushell " "" | str trim) } catch { - log_error "Could not determine system nushell version" + log_error "Could not determine nushell version (project or system binary unavailable)" exit 1 } diff --git a/scripts/run.sh b/scripts/run.sh index 024ce89..5bc2106 100755 --- a/scripts/run.sh +++ b/scripts/run.sh @@ -71,7 +71,13 @@ check_version_consistency() { check_args="--fix" fi - if nu scripts/check_version.nu $check_args >/dev/null; then + # Try project binary first (more reliable), fall back to system nu + local nu_bin="nu" + if [[ -f "nushell/target/release/nu" ]]; then + nu_bin="nushell/target/release/nu" + fi + + if $nu_bin scripts/check_version.nu $check_args >/dev/null 2>&1; then echo -e "${GREEN}βœ… Version check passed${NC}" return 0 else @@ -117,11 +123,17 @@ run_script() { return 1 fi - echo -e "${BLUE}πŸš€ Running: nu $script_path $script_args${NC}" + # Determine which nu binary to use (project first, then system) + local nu_bin="nu" + if [[ -f "nushell/target/release/nu" ]]; then + nu_bin="nushell/target/release/nu" + fi + + echo -e "${BLUE}πŸš€ Running: $nu_bin $script_path $script_args${NC}" echo "" # Execute the nushell script - if nu "$script_path" $script_args; then + if $nu_bin "$script_path" $script_args; then echo "" echo -e "${GREEN}βœ… Script completed successfully${NC}" return 0 diff --git a/scripts/run_nu_version.nu b/scripts/run_nu_version.nu deleted file mode 100755 index e2e3f1b..0000000 --- a/scripts/run_nu_version.nu +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env nu - -# Simple wrapper to run the nu version manager -# Usage: nu run_nu_version.nu [command] - -source update_nu_versions.nu - -let command = try { - if ($env.args | length) > 0 { - $env.args.0 - } else { - "help" - } -} catch { "help" } - -nu-version $command \ No newline at end of file diff --git a/scripts/run_nushell_updater.nu b/scripts/run_nushell_updater.nu deleted file mode 100755 index 5581686..0000000 --- a/scripts/run_nushell_updater.nu +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env nu - -# Simple wrapper to run the nushell updater -# Usage: nu run_nushell_updater.nu [command] - -source update_nushell.nu - -let command = try { - if ($env.args | length) > 0 { - $env.args.0 - } else { - "help" - } -} catch { "help" } - -nushell-updater $command \ No newline at end of file diff --git a/scripts/update_all_plugins.nu b/scripts/update_all_plugins.nu index e3245b4..47e777c 100755 --- a/scripts/update_all_plugins.nu +++ b/scripts/update_all_plugins.nu @@ -55,7 +55,7 @@ def main [ # Confirm update if not $auto_approve and not $dry_run { print "" - let response = input $"Update all plugins to ($target_version)? (yes/no): " + let response = input $"Update all plugins to ($target_version)? \(yes/no\): " if $response != "yes" { log_info "Update cancelled" exit 0 @@ -69,7 +69,7 @@ def main [ print "" for p in $plugins { if $dry_run { - log_info $"[DRY RUN] Would update ($p.name)" + log_info $"(DRY RUN) Would update ($p.name)" $updated = $updated + 1 } else { let result = update_plugin $p.path $target_version @@ -184,10 +184,18 @@ def update_plugin [ # Create updated content let updated_content = $content | update dependencies $updated_deps - # Save updated Cargo.toml - $updated_content | to toml | save -f $cargo_toml + # Only save if content actually changed (avoid unnecessary file timestamp updates) + let original_toml = $content | to toml + let new_toml = $updated_content | to toml - return true + if $original_toml != $new_toml { + # Content changed - save the file + $updated_content | to toml | save -f $cargo_toml + return true + } else { + # No changes needed - don't touch the file + return true + } } catch {|err| log_error $"Error updating ($plugin_dir): ($err.msg)" return false diff --git a/scripts/update_nushell.nu b/scripts/update_nushell.nu deleted file mode 100755 index e0a0efe..0000000 --- a/scripts/update_nushell.nu +++ /dev/null @@ -1,436 +0,0 @@ -#!/usr/bin/env nu - -# Nushell Auto-Updater - Nushell version -# Downloads latest nushell release from GitHub, extracts, and manages symlinks -# Usage: nu update_nushell.nu [command] - -# Configuration -let GITHUB_API_URL = "https://api.github.com/repos/nushell/nushell/releases/latest" -let GITHUB_RELEASES_URL = "https://github.com/nushell/nushell/releases/download" -let NUSHELL_SYMLINK = "nushell" - -# Function to show usage -def show_usage [] { - print $"(ansi blue)Nushell Auto-Updater(ansi reset)" - print "" - print "Usage: nu update_nushell.nu [command]" - print "" - print "Commands:" - print $" (ansi green)check(ansi reset) Check for updates without installing" - print $" (ansi green)update(ansi reset) Download and install latest version" - print $" (ansi green)status(ansi reset) Show current installation status" - print $" (ansi green)help, -h(ansi reset) Show this help message" - print "" - print "If no command is specified, 'update' is assumed." - print "" -} - -# Function to get latest version from GitHub API -def get_latest_version [] { - try { - http get $GITHUB_API_URL | get tag_name - } catch { - null - } -} - -# Function to check if nushell directory is a git repository -def is_git_repository [nushell_dir: string] { - ($nushell_dir | path join ".git" "config" | path exists) -} - -# Function to get git repository status with origin information -def get_git_status [nushell_dir: string] { - if not (is_git_repository $nushell_dir) { - return null - } - - try { - cd $nushell_dir - let current_commit = (^git rev-parse --short HEAD | str trim) - let current_branch = (^git branch --show-current | str trim) - let remote_status = (^git status --porcelain=v1 | lines | length) - let origin_url = (^git remote get-url origin | str trim) - cd .. - - { - branch: $current_branch, - commit: $current_commit, - changes: $remote_status, - origin: $origin_url - } - } catch { - null - } -} - -# Function to get currently installed version -def get_current_version [] { - try { - if ($NUSHELL_SYMLINK | path exists) and (($NUSHELL_SYMLINK | path type) == "symlink") { - let target = $NUSHELL_SYMLINK | path expand | path basename - # Check if target is a git repository - if (is_git_repository $target) { - "git-repo" - } else { - let version_match = ($target | parse "nushell-{version}") - if ($version_match | length) > 0 { - $version_match.0.version - } else { - null - } - } - } else if ($NUSHELL_SYMLINK | path exists) and (($NUSHELL_SYMLINK | path type) == "dir") and (is_git_repository $NUSHELL_SYMLINK) { - # Handle case where nushell is a directory (git repository) - "git-repo" - } else { - null - } - } catch { - null - } -} - -# Function to get current directory name -def get_current_directory [] { - try { - if ($NUSHELL_SYMLINK | path exists) and (($NUSHELL_SYMLINK | path type) == "symlink") { - $NUSHELL_SYMLINK | path expand | path basename - } else if ($NUSHELL_SYMLINK | path exists) and (($NUSHELL_SYMLINK | path type) == "dir") { - # Return the directory name itself if it's a directory - $NUSHELL_SYMLINK - } else { - null - } - } catch { - null - } -} - -# Function to check installation status -def check_status [] { - print $"(ansi blue)Nushell Installation Status(ansi reset)" - print "" - - let current_version = get_current_version - let current_dir = get_current_directory - - # Handle git repository case - if $current_version == "git-repo" { - print $"(ansi cyan)Git Repository Detected(ansi reset)" - print $"Currently installed: (ansi cyan)Git repository(ansi reset)" - - let git_status = get_git_status $current_dir - if ($git_status | is-not-empty) { - print $"Repository: (ansi cyan)($current_dir)(ansi reset)" - print $"Origin: (ansi cyan)($git_status.origin)(ansi reset)" - print $"Branch: (ansi cyan)($git_status.branch)(ansi reset)" - print $"Commit: (ansi cyan)($git_status.commit)(ansi reset)" - if $git_status.changes > 0 { - print $"Status: (ansi yellow)($git_status.changes) uncommitted changes(ansi reset)" - } else { - print $"Status: (ansi green)Clean working directory(ansi reset)" - } - } - print "" - print $"(ansi yellow)⚠️ Git Repository Management(ansi reset)" - print "This nushell installation is a git repository." - print $"Use (ansi cyan)git pull(ansi reset) to update instead of this script." - print $"To switch to release versions, remove the current directory and use (ansi cyan)nu update_nushell.nu update(ansi reset)" - return 3 - } - - let latest_version = get_latest_version - - if ($latest_version | is-empty) { - print $"(ansi red)Error: Could not fetch latest version from GitHub(ansi reset)" - print "Please check your internet connection and try again." - return 1 - } - - print $"Latest available version: (ansi green)($latest_version)(ansi reset)" - - if ($current_version | is-empty) { - print $"Currently installed: (ansi yellow)None(ansi reset)" - print $"Status: (ansi yellow)Fresh installation needed(ansi reset)" - return 2 - } else { - print $"Currently installed: (ansi cyan)($current_version)(ansi reset)" - - if $current_version == $latest_version { - print $"Status: (ansi green)Up to date(ansi reset)" - return 0 - } else { - print $"Status: (ansi yellow)Update available(ansi reset)" - return 2 - } - } -} - -# Function to download file -def download_file [url: string, filename: string] { - try { - print $"(ansi blue)Downloading from: ($url)(ansi reset)" - http get $url | save $filename - true - } catch { |e| - print $"(ansi red)Error downloading file: ($e.msg)(ansi reset)" - false - } -} - -# Function to download and extract nushell -def download_and_extract [version: string] { - let filename = $"nushell-($version)-source.tar.gz" - let url = $"($GITHUB_RELEASES_URL)/($version)/($filename)" - let target_dir = $"nushell-($version)" - - print $"(ansi blue)Downloading nushell ($version)...(ansi reset)" - - # Download the file - if not (download_file $url $filename) { - return false - } - - if not ($filename | path exists) { - print $"(ansi red)Error: Download failed - file not found(ansi reset)" - return false - } - - print $"(ansi blue)Extracting ($filename)...(ansi reset)" - - # Extract the tar.gz file - try { - ^tar -xzf $filename - } catch { |e| - print $"(ansi red)Error: Failed to extract ($filename): ($e.msg)(ansi reset)" - try { rm $filename } catch { } - return false - } - - # Check if extraction created the expected directory - if not ($target_dir | path exists) { - print $"(ansi red)Error: Expected directory ($target_dir) not found after extraction(ansi reset)" - try { rm $filename } catch { } - return false - } - - print $"(ansi green)Successfully downloaded and extracted nushell ($version)(ansi reset)" - true -} - -# Function to clean up old installations -def cleanup_old_installation [old_dir: string, old_version: string] { - if not ($old_dir | is-empty) and ($old_dir | path exists) { - print $"(ansi blue)Removing old installation: ($old_dir)(ansi reset)" - try { - rm -rf $old_dir - } catch { |e| - print $"(ansi yellow)Warning: Could not remove old directory ($old_dir): ($e.msg)(ansi reset)" - } - } - - # Remove old tar.gz files - let old_tarball = $"nushell-($old_version)-source.tar.gz" - if ($old_tarball | path exists) { - print $"(ansi blue)Removing old tarball: ($old_tarball)(ansi reset)" - try { - rm $old_tarball - } catch { |e| - print $"(ansi yellow)Warning: Could not remove old tarball ($old_tarball): ($e.msg)(ansi reset)" - } - } -} - -# Function to create symlink -def create_symlink [target_dir: string] { - # Remove existing symlink - if ($NUSHELL_SYMLINK | path exists) { - if (($NUSHELL_SYMLINK | path type) == "symlink") { - try { rm $NUSHELL_SYMLINK } catch { } - } else { - print $"(ansi red)Error: ($NUSHELL_SYMLINK) exists but is not a symlink(ansi reset)" - return false - } - } - - # Create new symlink - try { - ^ln -s $target_dir $NUSHELL_SYMLINK - print $"(ansi green)Created symlink: ($NUSHELL_SYMLINK) -> ($target_dir)(ansi reset)" - true - } catch { |e| - print $"(ansi red)Error: Failed to create symlink: ($e.msg)(ansi reset)" - false - } -} - -# Function to update git repository -def update_git_repository [] { - let current_dir = get_current_directory - - if ($current_dir | is-empty) or not (is_git_repository $current_dir) { - print $"(ansi red)Error: Git repository not found or invalid(ansi reset)" - return 1 - } - - print $"(ansi blue)Updating Git Repository(ansi reset)" - print $"Repository: (ansi cyan)($current_dir)(ansi reset)" - - # Show origin and branch info - let git_status = get_git_status $current_dir - if ($git_status | is-not-empty) { - print $"Origin: (ansi cyan)($git_status.origin)(ansi reset)" - print $"Branch: (ansi cyan)($git_status.branch)(ansi reset)" - } - print "" - - try { - cd $current_dir - - # Check if there are uncommitted changes - let changes = (^git status --porcelain=v1 | lines | length) - if $changes > 0 { - print $"(ansi yellow)Warning: ($changes) uncommitted changes detected(ansi reset)" - print "Stashing changes before update..." - let stash_message = $"Auto-stash before nushell update (date now | format date '%Y-%m-%d %H:%M:%S')" - ^git stash push -m $stash_message - } - - # Update repository - print $"(ansi blue)Fetching latest changes...(ansi reset)" - ^git fetch origin - - print $"(ansi blue)Pulling latest changes...(ansi reset)" - ^git pull origin - - # Restore stashed changes if any - if $changes > 0 { - print $"(ansi blue)Restoring stashed changes...(ansi reset)" - try { - ^git stash pop - } catch { - print $"(ansi yellow)Warning: Failed to restore stashed changes(ansi reset)" - print "Your changes are saved in the stash. Use 'git stash list' to see them." - } - } - - cd .. - - print "" - print $"(ansi green)βœ“ Git repository updated successfully!(ansi reset)" - let new_commit = (^git -C $current_dir rev-parse --short HEAD | str trim) - print $"Current commit: (ansi cyan)($new_commit)(ansi reset)" - - 0 - } catch { |e| - print $"(ansi red)Error updating git repository: ($e.msg)(ansi reset)" - try { cd .. } catch { } - 1 - } -} - -# Function to perform update -def perform_update [force_update: bool = false] { - print $"(ansi blue)Nushell Auto-Updater(ansi reset)" - print "" - - # Check status first - let status_result = check_status - - match $status_result { - 0 => { - if not $force_update { - print "" - print $"(ansi green)Nushell is already up to date!(ansi reset)" - return 0 - } - print "" - print $"(ansi yellow)Forcing update even though current version is latest...(ansi reset)" - } - 1 => { return 1 } - 2 => { - print "" - print $"(ansi yellow)Proceeding with installation/update...(ansi reset)" - } - 3 => { - # Git repository detected - print "" - print $"(ansi blue)Git repository detected. Running git update...(ansi reset)" - print "" - return (update_git_repository) - } - } - - print "" - - # Get versions - let latest_version = get_latest_version - let current_version = get_current_version - let current_dir = get_current_directory - - # Download and extract - if not (download_and_extract $latest_version) { - return 1 - } - - let new_dir = $"nushell-($latest_version)" - let new_tarball = $"nushell-($latest_version)-source.tar.gz" - - # Create symlink - if not (create_symlink $new_dir) { - print $"(ansi red)Installation failed at symlink creation(ansi reset)" - return 1 - } - - # Clean up old installation (only if different from new one) - if (not ($current_version | is-empty)) and ($current_version != $latest_version) { - cleanup_old_installation $current_dir $current_version - } - - # Remove the new tarball (keep the extracted directory) - if ($new_tarball | path exists) { - try { rm $new_tarball } catch { } - } - - print "" - print $"(ansi green)βœ“ Nushell installation completed successfully!(ansi reset)" - print $"Version: (ansi cyan)($latest_version)(ansi reset)" - print $"Location: (ansi cyan)(pwd)/($new_dir)(ansi reset)" - print $"Symlink: (ansi cyan)(pwd)/($NUSHELL_SYMLINK)(ansi reset)" - - 0 -} - -# Main function -def main [command?: string] { - let cmd = ($command | default "update") - - match $cmd { - "check" => { check_status } - "update" => { perform_update } - "force" => { perform_update true } - "status" => { check_status } - "help" | "-h" | "--help" => { show_usage } - _ => { - print $"(ansi red)Error: Unknown command '($cmd)'(ansi reset)" - print "" - show_usage - } - } -} - -# Export functions for use -export def "nushell-updater check" [] { check_status } -export def "nushell-updater update" [] { perform_update } -export def "nushell-updater force" [] { perform_update true } -export def "nushell-updater status" [] { check_status } -export def "nushell-updater help" [] { show_usage } - -# Main entry point function -export def "nushell-updater" [command?: string] { - main ($command | default "help") -} - -# When run as script, don't execute main automatically -# Use the exported functions instead \ No newline at end of file diff --git a/UPDATE.md b/updates/108/UPDATE.md similarity index 71% rename from UPDATE.md rename to updates/108/UPDATE.md index 4946931..8c493d2 100644 --- a/UPDATE.md +++ b/updates/108/UPDATE.md @@ -2,7 +2,9 @@ ## Quick Start (Recommended) -Run the update in 7 simple steps: +**Note**: If your system `nu` is broken, this workflow uses the built `./nushell/target/release/nu` binary automatically. + +Run the complete update in simple steps: ```bash # Step 1: Download Nushell source @@ -111,3 +113,34 @@ just update-status - All system plugins built: formats, inc, gstat, query, polars, custom_values, example, stress_internals - Build time: ~3 minutes on recent hardware - Updates are resource-intensive; run steps individually for best stability + +## ⚠️ CRITICAL: System Nu Binary Issue (RESOLVED) + +**Problem**: If your system `nu` binary (in PATH) gets killed with signal 9, the automation scripts will fail. + +**Root Cause**: The system nu binary at `/Users/jesusperezlorenzo/.local/bin/nu` may be corrupted or have compatibility issues. + +**Solution**: The automation scripts have been updated to use the newly built `./nushell/target/release/nu` binary instead of the system one. + +**Fix Your System Nu** (recommended after update): +```bash +# Backup current system nu +mv ~/.local/bin/nu ~/.local/bin/nu.broken + +# Copy working 0.108.0 binary +cp ./nushell/target/release/nu ~/.local/bin/nu + +# Verify it works +nu --version # Should show 0.108.0 without being killed +``` + +**Verification**: +```bash +# Test if your system nu is broken +nu --version +# If this gets "Killed: 9", your system nu is broken + +# Test the built nu (should always work) +./nushell/target/release/nu --version +# Should show 0.108.0 successfully +```