diff --git a/Cargo.lock b/Cargo.lock index 4db758a..080a35e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -96,18 +96,18 @@ dependencies = [ [[package]] name = "bit-set" -version = "0.5.3" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1" +checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3" dependencies = [ "bit-vec", ] [[package]] name = "bit-vec" -version = "0.6.3" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" +checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7" [[package]] name = "bitflags" @@ -161,9 +161,9 @@ dependencies = [ [[package]] name = "brotli" -version = "5.0.0" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19483b140a7ac7174d34b5a581b406c64f84da5409d3e09cf4fff604f9270e67" +checksum = "74f7971dbd9326d58187408ab83117d8ac1bb9c17b085fdacd1cf2f598719b6b" dependencies = [ "alloc-no-stdlib", "alloc-stdlib", @@ -461,9 +461,9 @@ dependencies = [ [[package]] name = "fancy-regex" -version = "0.13.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "531e46835a22af56d1e3b66f04844bed63158bc094a628bec1d321d9b4c44bf2" +checksum = "6e24cb5a94bcae1e5408b0effca5cd7172ea3c5755049c5f3af4cd283a165298" dependencies = [ "bit-set", "regex-automata", @@ -1023,9 +1023,9 @@ dependencies = [ [[package]] name = "nu-derive-value" -version = "0.99.1" +version = "0.100.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a025752d8cae2f96a9215b34187f4cbbe96d5df0511575fbbdb8882700877c8" +checksum = "0387af08bce4adb4444de7af0a6e14b6c84849c517e54d5d4e918314a3e36cab" dependencies = [ "heck", "proc-macro-error", @@ -1036,9 +1036,9 @@ dependencies = [ [[package]] name = "nu-engine" -version = "0.99.1" +version = "0.100.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8df223a361486eb5834f99b3c81de685342ea9f6c7eba8c40a7e4a136f64243" +checksum = "d16ba9d13364bad2f8a02db18857a1527f16d98546d609c4bf2b2dbe65fa1465" dependencies = [ "log", "nu-glob", @@ -1050,15 +1050,15 @@ dependencies = [ [[package]] name = "nu-glob" -version = "0.99.1" +version = "0.100.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57a0721c0947c445866aa34a430dd846c10b7eb34f61a390b15897e833cf0655" +checksum = "55866f2303d9aa6850258eb5acfe1ca518ed09e7ae4b1307283486b927100733" [[package]] name = "nu-path" -version = "0.99.1" +version = "0.100.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de17919a6834e6b773256a2f29632571473ee3c83a1530f6385c3a80d13b0564" +checksum = "91b5d3792d2cb17105986ae3d67cffc2099226140aa0b1375482ed088e767a81" dependencies = [ "dirs", "omnipath", @@ -1067,9 +1067,9 @@ dependencies = [ [[package]] name = "nu-plugin" -version = "0.99.1" +version = "0.100.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af5e858c58202c9cee0b0ba0d9a9c362a3fe740e949f4ebe2bd55bc3c3d56582" +checksum = "8cf7f2608bc9948100c5066eb36437baa5a395025094f116f36785a8c97bb6be" dependencies = [ "log", "nix", @@ -1083,9 +1083,9 @@ dependencies = [ [[package]] name = "nu-plugin-core" -version = "0.99.1" +version = "0.100.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b6de4cbecdc9568acb9e81a6e769813f3decb97802e26fc5c66dc360f18e332" +checksum = "52f46204030fc8089d647ed5f8f35a0d2c1d9e53cddf8ac2b2c49afc072b0b30" dependencies = [ "interprocess", "log", @@ -1094,14 +1094,14 @@ dependencies = [ "rmp-serde", "serde", "serde_json", - "windows 0.54.0", + "windows 0.56.0", ] [[package]] name = "nu-plugin-protocol" -version = "0.99.1" +version = "0.100.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8286126f53e1cec47e02d422474bb57e743ab2aa03f37b1c78eeb5b1e0b40cec" +checksum = "9b03878c5e83dd0ee6689818e43e53a7263f76d99d5620120be124434bbfaeee" dependencies = [ "nu-protocol", "nu-utils", @@ -1113,9 +1113,9 @@ dependencies = [ [[package]] name = "nu-protocol" -version = "0.99.1" +version = "0.100.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fdd6c9896962f3d36601668e590ccc078bfb34ea97ee3c0e3b1261d2f4dc229" +checksum = "4d091f581cd59181555c0af0f03d8216d4a6ffac1536fe3fa9e5c787c438378e" dependencies = [ "brotli", "byte-unit", @@ -1139,6 +1139,7 @@ dependencies = [ "os_pipe", "rmp-serde", "serde", + "serde_json", "thiserror", "typetag", "windows-sys 0.48.0", @@ -1146,9 +1147,9 @@ dependencies = [ [[package]] name = "nu-system" -version = "0.99.1" +version = "0.100.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b4ff5f7b8a9a7f120d49005afdb2bb2ef3261862ca1de198ad2842896085f1b" +checksum = "eb9c3b100dcdade3151bf6a55aa85bf423551f69fc9613ff9a4092557a530fbb" dependencies = [ "chrono", "itertools", @@ -1158,19 +1159,19 @@ dependencies = [ "mach2", "nix", "ntapi", - "once_cell", "procfs", "sysinfo", - "windows 0.54.0", + "windows 0.56.0", ] [[package]] name = "nu-utils" -version = "0.99.1" +version = "0.100.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15c781ee0f64b928c2ddc6c371a9892337874959c4c7df914687273469152d63" +checksum = "69cf489d0163494eea5a7a7fa020d8fce5a45b4032ae83427676806840765ecc" dependencies = [ "crossterm_winapi", + "fancy-regex", "log", "lscolors", "nix", @@ -1815,17 +1816,16 @@ dependencies = [ [[package]] name = "sysinfo" -version = "0.30.13" +version = "0.32.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a5b4ddaee55fb2bea2bf0e5000747e5f5c0de765e5a5ff87f4cd106439f4bb3" +checksum = "4c33cd241af0f2e9e3b5c32163b873b29956890b5342e6745b917ce9d490f4af" dependencies = [ - "cfg-if", "core-foundation-sys", "libc", + "memchr", "ntapi", - "once_cell", "rayon", - "windows 0.52.0", + "windows 0.54.0", ] [[package]] @@ -1844,7 +1844,7 @@ dependencies = [ "fastrand", "once_cell", "rustix", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -2186,16 +2186,6 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" -[[package]] -name = "windows" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e48a53791691ab099e5e2ad123536d0fff50652600abaf43bbf952894110d0be" -dependencies = [ - "windows-core 0.52.0", - "windows-targets 0.52.6", -] - [[package]] name = "windows" version = "0.54.0" @@ -2206,6 +2196,16 @@ dependencies = [ "windows-targets 0.52.6", ] +[[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-core" version = "0.52.0" @@ -2225,6 +2225,40 @@ 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", + "windows-interface", + "windows-result", + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-implement" +version = "0.56.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6fc35f58ecd95a9b71c4f2329b911016e6bec66b3f2e6a4aad86bd2e99e2f9b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.90", +] + +[[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.90", +] + [[package]] name = "windows-result" version = "0.1.2" diff --git a/Cargo.toml b/Cargo.toml index 2f5bc87..a5cc7b6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ version = "0.1.2" edition = "2021" [dependencies] -nu-plugin = "0.99.1" -nu-protocol = "0.99.1" +nu-plugin = "0.100.0" +nu-protocol = "0.100.0" tungstenite = { version = "0.24.0", features = ["native-tls"] } url = "2.5.3" diff --git a/README.md b/README.md index 313e282..d3ebc85 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # nu_plugin_ws -[![Crates.io Version](https://img.shields.io/crates/v/nu_plugin_ws)](https://crates.io/crates/nu_plugin_ws) -[![Nushell](https://img.shields.io/badge/Nushell-v0.99.1-blue)](https://nushell.sh) +[![Crates.io Version](https://img.shields.io/crates/v/nu_plugin_ws?color=blue)](https://crates.io/crates/nu_plugin_ws) +[![Nushell](https://img.shields.io/badge/Nushell-v0.100.0-blue)](https://nushell.sh) A plugin for [Nushell](https://nushell.sh), a cross-platform shell and scripting language. This plugin adds support for streaming from a websocket.