From 9de5163db38411e4219fba8c493e64dc3e6b7e6e Mon Sep 17 00:00:00 2001 From: amtoine Date: Sun, 26 May 2024 12:59:43 +0200 Subject: [PATCH 1/2] use Nushell crates from crates.io directly --- Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index da5e16b..da4c7c0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,9 +5,9 @@ name = "nu_plugin_explore" [dependencies] anyhow = "1.0.73" crossterm = "0.27.0" -nuon = { git = "https://github.com/nushell/nushell", tag = "0.93.0", package = "nuon" } -nu-plugin = { git = "https://github.com/nushell/nushell", tag = "0.93.0", package = "nu-plugin" } -nu-protocol = { git = "https://github.com/nushell/nushell", tag = "0.93.0", package = "nu-protocol", features = ["plugin"] } +nuon = "0.93.0" +nu-plugin = "0.93.0" +nu-protocol = "0.93.0" ratatui = "0.26.1" url = "2.4.0" From d314beb8e92ce4f5a08b08249d04012a925ee14b Mon Sep 17 00:00:00 2001 From: amtoine Date: Sun, 26 May 2024 13:03:35 +0200 Subject: [PATCH 2/2] update lockfile --- Cargo.lock | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 39bee59..640c1ad 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1011,7 +1011,8 @@ dependencies = [ [[package]] name = "nu-engine" version = "0.93.0" -source = "git+https://github.com/nushell/nushell?tag=0.93.0#3b220e07e3e3652bc722d4bc8370f2413df69473" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe4acc8037f975add7e0f7d5543af22594ae836d6b87c518f1faee4b5e1667b5" dependencies = [ "nu-glob", "nu-path", @@ -1022,12 +1023,14 @@ dependencies = [ [[package]] name = "nu-glob" version = "0.93.0" -source = "git+https://github.com/nushell/nushell?tag=0.93.0#3b220e07e3e3652bc722d4bc8370f2413df69473" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c3ce70012e0edbcffee9ed789c55082a0f981a9d64de3f3f44ea2ad364c634c" [[package]] name = "nu-parser" version = "0.93.0" -source = "git+https://github.com/nushell/nushell?tag=0.93.0#3b220e07e3e3652bc722d4bc8370f2413df69473" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8dbe76d8e9ab4f14e64f71ca6c635562bf1a5642d1363013641d0bc2127fae1" dependencies = [ "bytesize", "chrono", @@ -1042,7 +1045,8 @@ dependencies = [ [[package]] name = "nu-path" version = "0.93.0" -source = "git+https://github.com/nushell/nushell?tag=0.93.0#3b220e07e3e3652bc722d4bc8370f2413df69473" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "79efe5ac6af42907fb7cc498f7c38c9ad4a7fa3168922bc4411f14459067a44f" dependencies = [ "dirs-next", "omnipath", @@ -1052,7 +1056,8 @@ dependencies = [ [[package]] name = "nu-plugin" version = "0.93.0" -source = "git+https://github.com/nushell/nushell?tag=0.93.0#3b220e07e3e3652bc722d4bc8370f2413df69473" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97553a124421684234379dbd7cdc9d97c71be03555d33d9fa3cf97e3fef9e5b7" dependencies = [ "log", "nix", @@ -1066,7 +1071,8 @@ dependencies = [ [[package]] name = "nu-plugin-core" version = "0.93.0" -source = "git+https://github.com/nushell/nushell?tag=0.93.0#3b220e07e3e3652bc722d4bc8370f2413df69473" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ca62c471f46e3a573e3190a08e7913c385391965e2343c22fc0bb84c9678ab2" dependencies = [ "interprocess", "log", @@ -1081,7 +1087,8 @@ dependencies = [ [[package]] name = "nu-plugin-protocol" version = "0.93.0" -source = "git+https://github.com/nushell/nushell?tag=0.93.0#3b220e07e3e3652bc722d4bc8370f2413df69473" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c0e09413e5e8dca9d3c082dde54ea02d13a1f4424e8244284bba4e3e5db746f" dependencies = [ "bincode", "nu-protocol", @@ -1094,7 +1101,8 @@ dependencies = [ [[package]] name = "nu-protocol" version = "0.93.0" -source = "git+https://github.com/nushell/nushell?tag=0.93.0#3b220e07e3e3652bc722d4bc8370f2413df69473" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4de57dd87e27ffa98ad8b6d7f12608f07827ca1545731059dfa34e3362f4693" dependencies = [ "brotli", "byte-unit", @@ -1118,7 +1126,8 @@ dependencies = [ [[package]] name = "nu-system" version = "0.93.0" -source = "git+https://github.com/nushell/nushell?tag=0.93.0#3b220e07e3e3652bc722d4bc8370f2413df69473" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c17de2c65b6b10d503ce02ccbb7fb66de63bd2f24cf717c2aa6ad4a954459fc" dependencies = [ "chrono", "libc", @@ -1136,7 +1145,8 @@ dependencies = [ [[package]] name = "nu-utils" version = "0.93.0" -source = "git+https://github.com/nushell/nushell?tag=0.93.0#3b220e07e3e3652bc722d4bc8370f2413df69473" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fcfe5ef7f89e30142fee34efeaecdcffa45666cffd17e894fe5d83c430e7fcc" dependencies = [ "crossterm_winapi", "log", @@ -1184,7 +1194,8 @@ dependencies = [ [[package]] name = "nuon" version = "0.93.0" -source = "git+https://github.com/nushell/nushell?tag=0.93.0#3b220e07e3e3652bc722d4bc8370f2413df69473" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6509b9ce371001a018d7cd2b963c4f1fe478dececef64d09e67bddd6a7371b4e" dependencies = [ "fancy-regex", "nu-engine",