From 5f92fd20e913184dc5ad1298f7c4c2df06d5841e Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Fri, 26 May 2023 10:32:48 -0500 Subject: [PATCH] update most dependencies except where deeper code changes are needed (#9296) # Description This PR updates most dependencies and tries to get in sync with reedline. # User-Facing Changes # Tests + Formatting # After Submitting --- Cargo.lock | 230 +++++++++++----------- Cargo.toml | 22 +-- crates/nu-cli/Cargo.toml | 16 +- crates/nu-cmd-dataframe/Cargo.toml | 10 +- crates/nu-cmd-lang/Cargo.toml | 8 +- crates/nu-color-config/Cargo.toml | 2 +- crates/nu-command/Cargo.toml | 138 ++++++------- crates/nu-explore/Cargo.toml | 8 +- crates/nu-json/Cargo.toml | 2 +- crates/nu-parser/Cargo.toml | 6 +- crates/nu-path/Cargo.toml | 6 +- crates/nu-plugin/Cargo.toml | 6 +- crates/nu-pretty-hex/Cargo.toml | 4 +- crates/nu-protocol/Cargo.toml | 20 +- crates/nu-std/Cargo.toml | 2 +- crates/nu-system/Cargo.toml | 8 +- crates/nu-system/src/macos.rs | 5 +- crates/nu-table/Cargo.toml | 3 +- crates/nu-term-grid/Cargo.toml | 4 +- crates/nu-test-support/Cargo.toml | 10 +- crates/nu-utils/Cargo.toml | 8 +- crates/nu_plugin_custom_values/Cargo.toml | 2 +- crates/nu_plugin_formats/Cargo.toml | 7 +- crates/nu_plugin_gstat/Cargo.toml | 2 +- crates/nu_plugin_inc/Cargo.toml | 2 +- crates/nu_plugin_query/Cargo.toml | 9 +- 26 files changed, 274 insertions(+), 266 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5cc875544..e7ec6435a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -156,7 +156,7 @@ checksum = "a0f73029049896b3d70ba17756afef171ceef3569016cfa9dbca58d29e0e16f9" dependencies = [ "ahash 0.8.3", "arrow-format", - "base64 0.21.0", + "base64 0.21.2", "bytemuck", "chrono", "dyn-clone", @@ -200,7 +200,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "86d6b683edf8d1119fe420a94f8a7e389239666aa72e65495d91c00462510151" dependencies = [ "anstyle", - "bstr 1.4.0", + "bstr 1.5.0", "doc-comment", "predicates", "predicates-core", @@ -227,7 +227,7 @@ checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.17", ] [[package]] @@ -238,7 +238,7 @@ checksum = "b9ccdd8f2a161be9bd5c023df56f1b2a0bd1d83872ae53b71a84a12c9bf6e842" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.17", ] [[package]] @@ -284,9 +284,9 @@ checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" [[package]] name = "base64" -version = "0.21.0" +version = "0.21.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a4ddaa51a5bc52a6948f74c06d20aaaddb71924eab79b8c97a8c556e942d6a" +checksum = "604178f6c5c21f02dc555784810edfb88d34ac2c73b2eae109655649ee73ce3d" [[package]] name = "bincode" @@ -299,11 +299,11 @@ dependencies = [ [[package]] name = "bindgen" -version = "0.59.2" +version = "0.64.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bd2a9a458e8f4304c52c43ebb0cfbd520289f8379a52e329a38afda99bf8eb8" +checksum = "c4243e6031260db77ede97ad86c27e501d646a27ab57b59a574f725d98ab1fb4" dependencies = [ - "bitflags", + "bitflags 1.3.2", "cexpr", "clang-sys", "lazy_static", @@ -314,6 +314,7 @@ dependencies = [ "regex", "rustc-hash", "shlex", + "syn 1.0.109", ] [[package]] @@ -337,6 +338,12 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +[[package]] +name = "bitflags" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6776fc96284a0bb647b615056fc496d1fe1644a7ab01829818a6d91cae888b84" + [[package]] name = "block-buffer" version = "0.10.4" @@ -389,9 +396,9 @@ dependencies = [ [[package]] name = "bstr" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3d4260bcc2e8fc9df1eac4919a720effeb63a3f0952f5bf4944adfa18897f09" +checksum = "a246e68bb43f6cd9db24bea052a53e40405417c5fb372e3d1a8a7f770a564ef5" dependencies = [ "memchr", "once_cell", @@ -401,9 +408,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.12.2" +version = "3.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c6ed94e98ecff0c12dd1b04c15ec0d7d9458ca8fe806cea6f12954efe74c63b" +checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" [[package]] name = "byte-unit" @@ -438,7 +445,7 @@ checksum = "fdde5c9cd29ebd706ce1b35600920a33550e402fc998a2e53ad3b42c3c47a192" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.17", ] [[package]] @@ -608,7 +615,7 @@ version = "3.2.25" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123" dependencies = [ - "bitflags", + "bitflags 1.3.2", "clap_lex", "indexmap", "textwrap 0.16.0", @@ -657,15 +664,15 @@ dependencies = [ [[package]] name = "console" -version = "0.15.5" +version = "0.15.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3d79fbe8970a77e3e34151cc13d3b3e248aa0faaecb9f6091fa07ebefe5ad60" +checksum = "c926e00cc70edefdc64d3a5ff31cc65bb97a3460097762bd23afb4d8145fccf8" dependencies = [ "encode_unicode", "lazy_static", "libc", "unicode-width", - "windows-sys 0.42.0", + "windows-sys 0.45.0", ] [[package]] @@ -819,7 +826,7 @@ version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e64e6c0fbe2c17357405f7c758c1ef960fce08bdfb2c03d88d2a18d7e09c4b67" dependencies = [ - "bitflags", + "bitflags 1.3.2", "crossterm_winapi", "libc", "mio 0.8.6", @@ -835,7 +842,7 @@ version = "0.26.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a84cda67535339806297f1b331d6dd6320470d2a0fe65381e79ee9e156dd3d13" dependencies = [ - "bitflags", + "bitflags 1.3.2", "crossterm_winapi", "libc", "mio 0.8.6", @@ -925,12 +932,12 @@ dependencies = [ [[package]] name = "ctrlc" -version = "3.2.5" +version = "3.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbcf33c2a618cbe41ee43ae6e9f2e48368cd9f9db2896f10167d8d762679f639" +checksum = "7394a21d012ce5c850497fb774b167d81b99f060025fbf06ee92b9848bd97eb2" dependencies = [ "nix", - "windows-sys 0.45.0", + "windows-sys 0.48.0", ] [[package]] @@ -984,9 +991,9 @@ checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8" [[package]] name = "digest" -version = "0.10.6" +version = "0.10.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ "block-buffer", "crypto-common", @@ -1299,7 +1306,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5ab7d1bd1bd33cc98b0889831b72da23c0aa4df9cec7e0702f46ecea04b35db6" dependencies = [ - "bitflags", + "bitflags 1.3.2", "fsevent-sys", ] @@ -1318,7 +1325,7 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82" dependencies = [ - "bitflags", + "bitflags 1.3.2", "fuchsia-zircon-sys", ] @@ -1394,7 +1401,7 @@ checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.17", ] [[package]] @@ -1499,7 +1506,7 @@ checksum = "e77ac7b51b8e6313251737fcef4b1c01a2ea102bde68415b62c0ee9268fec357" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.17", ] [[package]] @@ -1508,7 +1515,7 @@ version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b7905cdfe33d31a88bb2e8419ddd054451f5432d1da9eaf2ac7804ee1ea12d5" dependencies = [ - "bitflags", + "bitflags 1.3.2", "libc", "libgit2-sys", "log", @@ -1556,9 +1563,9 @@ checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7" [[package]] name = "halfbrown" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d9ab7d9233262d3b74ae4c4a7a090fc4379b07c6eb9b02ecab7cbb12ad67a58" +checksum = "f985624e90f861184145c13b736873a0f83cdb998a292dbb0653598ab03aecbf" dependencies = [ "hashbrown 0.13.2", "rustc-hash", @@ -1831,7 +1838,7 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4816c66d2c8ae673df83366c18341538f234a26d65a9ecea5c348b453ac1d02f" dependencies = [ - "bitflags", + "bitflags 1.3.2", "inotify-sys", "libc", ] @@ -1865,9 +1872,9 @@ dependencies = [ [[package]] name = "io-lifetimes" -version = "1.0.10" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c66c74d2ae7e79a5a8f7ac924adbe38ee42a859c6539ad869eb51f0b52dc220" +checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" dependencies = [ "hermit-abi 0.3.1", "libc", @@ -2126,9 +2133,9 @@ checksum = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4" [[package]] name = "libproc" -version = "0.12.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b799ad155d75ce914c467ee5627b62247c20d4aedbd446f821484cebf3cded7" +checksum = "8b18cbf29f8ff3542ba22bdce9ac610fcb75d74bb4e2b306b2a2762242025b4f" dependencies = [ "bindgen", "errno 0.2.8", @@ -2137,9 +2144,9 @@ dependencies = [ [[package]] name = "libsqlite3-sys" -version = "0.25.2" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29f835d03d717946d28b1d1ed632eb6f0e24a299388ee623d0c23118d3e8a7fa" +checksum = "afc22eff61b133b115c6e8c74e818c628d6d5e7a502afea6f64dee076dd94326" dependencies = [ "cc", "pkg-config", @@ -2189,9 +2196,9 @@ checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" [[package]] name = "linux-raw-sys" -version = "0.3.7" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ece97ea872ece730aed82664c424eb4c8291e1ff2480247ccf7409044bc6479f" +checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" [[package]] name = "lock_api" @@ -2329,9 +2336,9 @@ dependencies = [ [[package]] name = "miette" -version = "5.8.0" +version = "5.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92a992891d5579caa9efd8e601f82e30a1caa79a27a5db075dde30ecb9eab357" +checksum = "a236ff270093b0b67451bc50a509bd1bad302cb1d3c7d37d5efe931238581fa9" dependencies = [ "is-terminal", "miette-derive", @@ -2348,13 +2355,13 @@ dependencies = [ [[package]] name = "miette-derive" -version = "5.8.0" +version = "5.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c65c625186a9bcce6699394bee511e1b1aec689aa7e3be1bf4e996e75834153" +checksum = "4901771e1d44ddb37964565c654a3223ba41a594d02b8da471cc4464912b5cfa" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.17", ] [[package]] @@ -2526,7 +2533,7 @@ version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfdda3d196821d6af13126e40375cdf7da646a96114af134d5f417a9a1dc8e1a" dependencies = [ - "bitflags", + "bitflags 1.3.2", "cfg-if 1.0.0", "libc", "static_assertions", @@ -2567,7 +2574,7 @@ version = "4.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae03c8c853dba7bfd23e571ff0cff7bc9dceb40a4cd684cd1681824183f45257" dependencies = [ - "bitflags", + "bitflags 1.3.2", "filetime", "fsevent", "fsevent-sys", @@ -2694,7 +2701,7 @@ dependencies = [ "num 0.4.0", "polars", "serde", - "sqlparser 0.32.0", + "sqlparser 0.33.0", ] [[package]] @@ -2732,7 +2739,7 @@ dependencies = [ "Inflector", "alphanumeric-sort", "atty", - "base64 0.21.0", + "base64 0.21.2", "byteorder", "bytesize", "calamine", @@ -2808,7 +2815,7 @@ dependencies = [ "serde_urlencoded", "serde_yaml", "sha2", - "sqlparser 0.32.0", + "sqlparser 0.33.0", "sysinfo 0.29.0", "tabled", "terminal_size 0.2.6", @@ -3278,7 +3285,7 @@ version = "0.10.52" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "01b8574602df80f7b85fdfc5392fa884a4e3b3f4f35402c070ab34c3d3f78d56" dependencies = [ - "bitflags", + "bitflags 1.3.2", "cfg-if 1.0.0", "foreign-types", "libc", @@ -3295,7 +3302,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.17", ] [[package]] @@ -3719,7 +3726,7 @@ checksum = "caa1f5af0505c67333487c1287f29644c172afbab7374e48a77843646064411c" dependencies = [ "ahash 0.8.3", "arrow2", - "bitflags", + "bitflags 1.3.2", "chrono", "comfy-table", "either", @@ -3795,7 +3802,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e01ffc3402e9ad40f72d7b8baff7f05fcd12ecd8d19596084bfaa76d9c4e540e" dependencies = [ "ahash 0.8.3", - "bitflags", + "bitflags 1.3.2", "glob", "once_cell", "polars-arrow", @@ -4049,9 +4056,9 @@ checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" [[package]] name = "proc-macro2" -version = "1.0.58" +version = "1.0.59" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa1fb82fc0c281dd9671101b66b771ebbe1eaf967b96ac8740dcba4b70005ca8" +checksum = "6aeca18b86b413c660b781aa319e4e2648a3e6f9eadc9b47e9038e6fe9f3451b" dependencies = [ "unicode-ident", ] @@ -4062,13 +4069,13 @@ version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "943ca7f9f29bab5844ecd8fdb3992c5969b6622bb9609b9502fef9b4310e3f1f" dependencies = [ - "bitflags", + "bitflags 1.3.2", "byteorder", "chrono", "flate2", "hex", "lazy_static", - "rustix 0.36.13", + "rustix 0.36.14", ] [[package]] @@ -4136,9 +4143,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.27" +version = "1.0.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f4f29d145265ec1c483c7c654450edde0bfe043d3938d6972630663356d9500" +checksum = "1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488" dependencies = [ "proc-macro2", ] @@ -4240,7 +4247,7 @@ version = "0.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dcc0d032bccba900ee32151ec0265667535c230169f5a011154cdcd984e16829" dependencies = [ - "bitflags", + "bitflags 1.3.2", "cassowary", "crossterm 0.26.1", "unicode-segmentation", @@ -4275,7 +4282,7 @@ version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" dependencies = [ - "bitflags", + "bitflags 1.3.2", ] [[package]] @@ -4284,7 +4291,7 @@ version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" dependencies = [ - "bitflags", + "bitflags 1.3.2", ] [[package]] @@ -4301,7 +4308,7 @@ dependencies = [ [[package]] name = "reedline" version = "0.19.2" -source = "git+https://github.com/nushell/reedline.git?branch=main#e0e5957a5dcfc7f839cf6cc079d925098abe7818" +source = "git+https://github.com/nushell/reedline.git?branch=main#f7515b40e5b956fa529d6af39ff83adf4b72546f" dependencies = [ "chrono", "crossterm 0.26.1", @@ -4321,13 +4328,13 @@ dependencies = [ [[package]] name = "regex" -version = "1.8.1" +version = "1.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af83e617f331cc6ae2da5443c602dfa5af81e517212d9d611a5b3ba1777b5370" +checksum = "81ca098a9821bd52d6b24fd8b10bd081f47d39c22778cafaa75a2857a62c6390" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.7.1", + "regex-syntax 0.7.2", ] [[package]] @@ -4344,9 +4351,9 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" [[package]] name = "regex-syntax" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5996294f19bd3aae0453a862ad728f60e6600695733dd5df01da90c54363a3c" +checksum = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78" [[package]] name = "rmp" @@ -4405,11 +4412,11 @@ dependencies = [ [[package]] name = "rusqlite" -version = "0.28.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01e213bc3ecb39ac32e81e51ebe31fd888a940515173e3a18a35f8c6e896422a" +checksum = "549b9d036d571d42e6e85d1c1425e2ac83491075078ca9a15be021c56b1641f2" dependencies = [ - "bitflags", + "bitflags 2.3.1", "fallible-iterator", "fallible-streaming-iterator", "hashlink", @@ -4488,11 +4495,11 @@ dependencies = [ [[package]] name = "rustix" -version = "0.36.13" +version = "0.36.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a38f9520be93aba504e8ca974197f46158de5dcaa9fa04b57c57cd6a679d658" +checksum = "14e4d67015953998ad0eb82887a0eb0129e18a7e2f3b7b0f6c422fddcd503d62" dependencies = [ - "bitflags", + "bitflags 1.3.2", "errno 0.3.1", "io-lifetimes", "libc", @@ -4506,11 +4513,11 @@ version = "0.37.19" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "acf8729d8542766f1b2cf77eb034d52f40d375bb8b615d0b147089946e16613d" dependencies = [ - "bitflags", + "bitflags 1.3.2", "errno 0.3.1", "io-lifetimes", "libc", - "linux-raw-sys 0.3.7", + "linux-raw-sys 0.3.8", "windows-sys 0.48.0", ] @@ -4552,14 +4559,15 @@ checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" [[package]] name = "scraper" -version = "0.15.0" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c557a9a03db98b0b298b497f0e16cd35a04a1fa9ee1130a6889c0714e0b73df" +checksum = "59e25654b5e9fd557a67dbaab5a5d36b8c448d0561beb4c041b6dbb902eddfa6" dependencies = [ + "ahash 0.8.3", "cssparser", "ego-tree", "html5ever", - "matches", + "once_cell", "selectors", "smallvec", "tendril", @@ -4567,11 +4575,11 @@ dependencies = [ [[package]] name = "security-framework" -version = "2.9.0" +version = "2.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca2855b3715770894e67cbfa3df957790aa0c9edc3bf06efa1a84d77fa0839d1" +checksum = "1fc758eb7bffce5b308734e9b0c1468893cae9ff70ebf13e7090be8dcbcc83a8" dependencies = [ - "bitflags", + "bitflags 1.3.2", "core-foundation", "core-foundation-sys", "libc", @@ -4594,7 +4602,7 @@ version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c37578180969d00692904465fb7f6b3d50b9a2b952b87c23d0e2e5cb5013416" dependencies = [ - "bitflags", + "bitflags 1.3.2", "cssparser", "derive_more", "fxhash", @@ -4635,7 +4643,7 @@ checksum = "8c805777e3930c8883389c602315a24224bcc738b63905ef87cd1420353ea93e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.17", ] [[package]] @@ -4651,9 +4659,9 @@ dependencies = [ [[package]] name = "serde_spanned" -version = "0.6.1" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0efd8caf556a6cebd3b285caf480045fcc1ac04f6bd786b09a6f11af30c4fcf4" +checksum = "93107647184f6027e3b7dcb2e11034cf95ffa1e3a682c67951963ac69c1c007d" dependencies = [ "serde", ] @@ -4731,9 +4739,9 @@ dependencies = [ [[package]] name = "shadow-rs" -version = "0.21.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "427f07ab5f873000cf55324882e12a88c0a7ea7025df4fc1e7e35e688877a583" +checksum = "157bef6b3029f72d6f4226acdfa466b84526aa62ae36a3bcf1e1801b403ecd74" dependencies = [ "const_format", "is_debug", @@ -4894,9 +4902,9 @@ dependencies = [ [[package]] name = "sqlparser" -version = "0.32.0" +version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0366f270dbabb5cc2e4c88427dc4c08bba144f81e32fbd459a013f26a4d16aa0" +checksum = "355dc4d4b6207ca8a3434fc587db0a8016130a574dbcdbfb93d7f7b5bc5b211a" dependencies = [ "log", "serde", @@ -5051,9 +5059,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.16" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6f671d4b5ffdb8eadec19c0ae67fe2639df8684bd7bc4b83d986b8db549cf01" +checksum = "45b6ddbb36c5b969c182aec3c4a0bce7df3fbad4b77114706a49aacc80567388" dependencies = [ "proc-macro2", "quote", @@ -5127,9 +5135,9 @@ dependencies = [ [[package]] name = "target-features" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24840de800c1707d75c800893dbd727a5e1501ce921944e602f0698167491e36" +checksum = "06f6b473c37f9add4cf1df5b4d66a8ef58ab6c895f1a3b3f949cf3e21230140e" [[package]] name = "tempfile" @@ -5224,7 +5232,7 @@ checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.17", ] [[package]] @@ -5340,7 +5348,7 @@ checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.17", ] [[package]] @@ -5359,9 +5367,9 @@ dependencies = [ [[package]] name = "toml" -version = "0.7.3" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b403acf6f2bb0859c93c7f0d967cb4a75a7ac552100f9322faf64dc047669b21" +checksum = "d6135d499e69981f9ff0ef2167955a5333c35e36f6937d382974566b3d5b94ec" dependencies = [ "serde", "serde_spanned", @@ -5371,18 +5379,18 @@ dependencies = [ [[package]] name = "toml_datetime" -version = "0.6.1" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ab8ed2edee10b50132aed5f331333428b011c99402b5a534154ed15746f9622" +checksum = "5a76a9312f5ba4c2dec6b9161fdf25d87ad8a09256ccea5a556fef03c706a10f" dependencies = [ "serde", ] [[package]] name = "toml_edit" -version = "0.19.8" +version = "0.19.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "239410c8609e8125456927e6707163a3b1fdb40561e4b803bc041f466ccfdc13" +checksum = "2380d56e8670370eee6566b0bfd4265f65b3f432e8c6d85623f728d4fa31f739" dependencies = [ "indexmap", "serde", @@ -5472,7 +5480,7 @@ checksum = "2c3e1c30cedd24fc597f7d37a721efdbdc2b1acae012c1ef1218f4c7c2c0f3e7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.17", ] [[package]] @@ -5501,9 +5509,9 @@ checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" [[package]] name = "unicode-ident" -version = "1.0.8" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4" +checksum = "b15811caf2415fb889178633e7724bad2509101cde276048e013b9def5e51fa0" [[package]] name = "unicode-linebreak" @@ -5625,9 +5633,9 @@ dependencies = [ [[package]] name = "value-trait" -version = "0.6.0" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "733e1909354ceff16f7e1f7ddebc063455b8fda4968d91760a7c6115b96647a5" +checksum = "09a5b6c8ceb01263b969cac48d4a6705134d490ded13d889e52c0cfc80c6945e" dependencies = [ "float-cmp", "halfbrown", @@ -5736,7 +5744,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.17", "wasm-bindgen-shared", ] @@ -5770,7 +5778,7 @@ checksum = "e128beba882dd1eb6200e1dc92ae6c5dbaa4311aa7bb211ca035779e5efc39f8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.16", + "syn 2.0.17", "wasm-bindgen-backend", "wasm-bindgen-shared", ] diff --git a/Cargo.toml b/Cargo.toml index f006feaab..b4de27930 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -66,17 +66,17 @@ nu-ansi-term = "0.47.0" reedline = { git = "https://github.com/nushell/reedline.git", features = ["bashisms", "sqlite"], branch = "main"} crossterm = "0.26" -ctrlc = "3.2.1" +ctrlc = "3.2" log = "0.4" -miette = { version = "5.7.0", features = ["fancy-no-backtrace"] } +miette = { version = "5.9", features = ["fancy-no-backtrace"] } serde_json = "1.0" -simplelog = "0.12.0" -time = "0.3.12" +simplelog = "0.12" +time = "0.3" [target.'cfg(not(target_os = "windows"))'.dependencies] # Our dependencies don't use OpenSSL on Windows -openssl = { version = "0.10.48", features = ["vendored"], optional = true } -signal-hook = { version = "0.3.14", default-features = false } +openssl = { version = "0.10", features = ["vendored"], optional = true } +signal-hook = { version = "0.3", default-features = false } [target.'cfg(windows)'.build-dependencies] winresource = "0.1" @@ -92,12 +92,12 @@ atty = "0.2" [dev-dependencies] nu-test-support = { path = "./crates/nu-test-support", version = "0.80.1" } -tempfile = "3.5.0" -assert_cmd = "2.0.2" +tempfile = "3.5" +assert_cmd = "2.0" criterion = "0.4" -pretty_assertions = "1.0.0" -serial_test = "1.0.0" -rstest = { version = "0.17.0", default-features = false } +pretty_assertions = "1.0" +serial_test = "1.0" +rstest = { version = "0.17", default-features = false } [features] plugin = [ diff --git a/crates/nu-cli/Cargo.toml b/crates/nu-cli/Cargo.toml index b15471210..4d10e5ff5 100644 --- a/crates/nu-cli/Cargo.toml +++ b/crates/nu-cli/Cargo.toml @@ -26,18 +26,18 @@ nu-ansi-term = "0.47.0" # reedline = { version = "0.19.2", features = ["bashisms", "sqlite"]} reedline = { git = "https://github.com/nushell/reedline.git", features = ["bashisms", "sqlite"], branch = "main"} -atty = "0.2.14" -chrono = { default-features = false, features = ["std"], version = "0.4.23" } +atty = "0.2" +chrono = { default-features = false, features = ["std"], version = "0.4" } crossterm = "0.26" -fancy-regex = "0.11.0" -fuzzy-matcher = "0.3.7" -is_executable = "1.0.1" +fancy-regex = "0.11" +fuzzy-matcher = "0.3" +is_executable = "1.0" log = "0.4" -miette = { version = "5.7.0", features = ["fancy-no-backtrace"] } -once_cell = "1.17.0" +miette = { version = "5.9", features = ["fancy-no-backtrace"] } +once_cell = "1.17" percent-encoding = "2" sysinfo = "0.29" -unicode-segmentation = "1.10.0" +unicode-segmentation = "1.10" [features] plugin = [] diff --git a/crates/nu-cmd-dataframe/Cargo.toml b/crates/nu-cmd-dataframe/Cargo.toml index 7ee3989cc..2a175cf45 100644 --- a/crates/nu-cmd-dataframe/Cargo.toml +++ b/crates/nu-cmd-dataframe/Cargo.toml @@ -19,15 +19,15 @@ nu-parser = { path = "../nu-parser", version = "0.80.1" } nu-protocol = { path = "../nu-protocol", version = "0.80.1" } # Potential dependencies for extras -chrono = { version = "0.4.23", features = [ +chrono = { version = "0.4", features = [ "std", "unstable-locales", ], default-features = false } -fancy-regex = "0.11.0" +fancy-regex = "0.11" indexmap = { version = "1.7", features = ["serde-1"] } -num = { version = "0.4.0", optional = true } -serde = { version = "1.0.123", features = ["derive"] } -sqlparser = { version = "0.32.0", features = ["serde"], optional = true } +num = { version = "0.4", optional = true } +serde = { version = "1.0", features = ["derive"] } +sqlparser = { version = "0.33", features = ["serde"], optional = true } [dependencies.polars] features = [ diff --git a/crates/nu-cmd-lang/Cargo.toml b/crates/nu-cmd-lang/Cargo.toml index 24bb6c9c6..1cfeb2b6e 100644 --- a/crates/nu-cmd-lang/Cargo.toml +++ b/crates/nu-cmd-lang/Cargo.toml @@ -19,12 +19,12 @@ nu-protocol = { path = "../nu-protocol", version = "0.80.1" } nu-utils = { path = "../nu-utils", version = "0.80.1" } nu-ansi-term = "0.47.0" -fancy-regex = "0.11.0" -itertools = "0.10.0" -shadow-rs = { version = "0.21.0", default-features = false } +fancy-regex = "0.11" +itertools = "0.10" +shadow-rs = { version = "0.22", default-features = false } [build-dependencies] -shadow-rs = { version = "0.21.0", default-features = false } +shadow-rs = { version = "0.22", default-features = false } [features] which-support = [] diff --git a/crates/nu-color-config/Cargo.toml b/crates/nu-color-config/Cargo.toml index 19da22666..0df598a96 100644 --- a/crates/nu-color-config/Cargo.toml +++ b/crates/nu-color-config/Cargo.toml @@ -17,7 +17,7 @@ nu-utils = { path = "../nu-utils", version = "0.80.1" } nu-engine = { path = "../nu-engine", version = "0.80.1" } nu-json = { path="../nu-json", version = "0.80.1" } -serde = { version="1.0.123", features=["derive"] } +serde = { version="1.0", features=["derive"] } [dev-dependencies] nu-test-support = { path="../nu-test-support", version = "0.80.1" } diff --git a/crates/nu-command/Cargo.toml b/crates/nu-command/Cargo.toml index e236bcec8..e326ca1bc 100644 --- a/crates/nu-command/Cargo.toml +++ b/crates/nu-command/Cargo.toml @@ -28,92 +28,92 @@ nu-system = { path = "../nu-system", version = "0.80.1" } nu-table = { path = "../nu-table", version = "0.80.1" } nu-term-grid = { path = "../nu-term-grid", version = "0.80.1" } nu-utils = { path = "../nu-utils", version = "0.80.1" } -num-format = { version = "0.4.3" } nu-ansi-term = "0.47.0" -alphanumeric-sort = "1.5.0" -atty = "0.2.14" -base64 = "0.21.0" -byteorder = "1.4.3" -bytesize = "1.2.0" -calamine = "0.19.1" -chrono = { version = "0.4.23", features = [ "std", "unstable-locales", ], default-features = false } -chrono-humanize = "0.2.1" -chrono-tz = "0.8.1" +alphanumeric-sort = "1.5" +atty = "0.2" +base64 = "0.21" +byteorder = "1.4" +bytesize = "1.2" +calamine = "0.19" +chrono = { version = "0.4", features = [ "std", "unstable-locales", ], default-features = false } +chrono-humanize = "0.2" +chrono-tz = "0.8" crossterm = "0.26" -csv = "1.2.0" -dialoguer = { default-features = false, features = ["fuzzy-select"], version = "0.10.3" } -digest = { default-features = false, version = "0.10.0" } -dtparse = "1.4.0" -encoding_rs = "0.8.30" -fancy-regex = "0.11.0" -filesize = "0.2.0" -filetime = "0.2.15" -fs_extra = "1.3.0" -htmlescape = "0.3.1" +csv = "1.2" +dialoguer = { default-features = false, features = ["fuzzy-select"], version = "0.10" } +digest = { default-features = false, version = "0.10" } +dtparse = "1.4" +encoding_rs = "0.8" +fancy-regex = "0.11" +filesize = "0.2" +filetime = "0.2" +fs_extra = "1.3" +htmlescape = "0.3" indexmap = { version = "1.7", features = ["serde-1"] } -indicatif = "0.17.2" +indicatif = "0.17" Inflector = "0.11" -is-root = "0.1.2" -itertools = "0.10.0" -log = "0.4.14" +is-root = "0.1" +itertools = "0.10" +log = "0.4" lscolors = { version = "0.14", default-features = false, features = ["nu-ansi-term"] } -md5 = { package = "md-5", version = "0.10.0" } -miette = { version = "5.7.0", features = ["fancy-no-backtrace"] } -mime = "0.3.16" -mime_guess = "2.0.4" -notify = "4.0.17" -num = { version = "0.4.0", optional = true } -num-traits = "0.2.14" +md5 = { package = "md-5", version = "0.10" } +miette = { version = "5.9", features = ["fancy-no-backtrace"] } +mime = "0.3" +mime_guess = "2.0" +notify = "4.0" +num = { version = "0.4", optional = true } +num-format = { version = "0.4" } +num-traits = "0.2" once_cell = "1.17" -open = "4.0.2" -os_pipe = "1.1.3" -pathdiff = "0.2.1" -percent-encoding = "2.2.0" -powierza-coefficient = "1.0.2" -print-positions = "0.6.1" +open = "4.0" +os_pipe = "1.1" +pathdiff = "0.2" +percent-encoding = "2.2" +powierza-coefficient = "1.0" +print-positions = "0.6" quick-xml = "0.28" rand = "0.8" -rayon = "1.7.0" -regex = "1.7.1" -roxmltree = "0.18.0" -rusqlite = { version = "0.28.0", features = ["bundled"], optional = true } -rust-embed = "6.6.0" -same-file = "1.0.6" -serde = { version = "1.0.123", features = ["derive"] } +rayon = "1.7" +regex = "1.7" +roxmltree = "0.18" +rusqlite = { version = "0.29", features = ["bundled"], optional = true } +rust-embed = "6.6" +same-file = "1.0" +serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -serde_urlencoded = "0.7.0" -serde_yaml = "0.9.4" -sha2 = "0.10.0" -sqlparser = { version = "0.32.0", features = ["serde"], optional = true } +serde_urlencoded = "0.7" +serde_yaml = "0.9" +sha2 = "0.10" +sqlparser = { version = "0.33", features = ["serde"], optional = true } sysinfo = "0.29" -tabled = "0.12.0" -terminal_size = "0.2.1" -titlecase = "2.0.0" -toml = "0.7.1" -unicode-segmentation = "1.10.0" -ureq = { version = "2.6.2", default-features = false, features = [ "json", "charset", "native-tls", "gzip", ] } -native-tls = "0.2.11" -url = "2.2.1" -uuid = { version = "1.3.0", features = ["v4"] } -wax = { version = "0.5.0" } -which = { version = "4.4.0", optional = true } +tabled = "0.12" +terminal_size = "0.2" +titlecase = "2.0" +toml = "0.7" +unicode-segmentation = "1.10" +ureq = { version = "2.6", default-features = false, features = [ "json", "charset", "native-tls", "gzip", ] } +native-tls = "0.2" +url = "2.2" +uuid = { version = "1.3", features = ["v4"] } +wax = { version = "0.5" } +which = { version = "4.4", optional = true } [target.'cfg(windows)'.dependencies] -winreg = "0.50.0" +winreg = "0.50" [target.'cfg(unix)'.dependencies] libc = "0.2" -umask = "2.1.0" -users = "0.11.0" +umask = "2.1" +users = "0.11" [target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies.trash] optional = true -version = "3.0.1" +version = "3.0" [target.'cfg(windows)'.dependencies.windows] features = ["Win32_Foundation", "Win32_Storage_FileSystem", "Win32_System_SystemServices"] -version = "0.48.0" +version = "0.48" [features] dataframe = ["dep:nu-cmd-dataframe"] @@ -126,8 +126,8 @@ which-support = ["which"] [dev-dependencies] nu-test-support = { path = "../nu-test-support", version = "0.80.1" } -dirs-next = "2.0.0" -mockito = "1.0.0" -quickcheck = "1.0.3" -quickcheck_macros = "1.0.0" -rstest = { version = "0.17.0", default-features = false } +dirs-next = "2.0" +mockito = "1.0" +quickcheck = "1.0" +quickcheck_macros = "1.0" +rstest = { version = "0.17", default-features = false } diff --git a/crates/nu-explore/Cargo.toml b/crates/nu-explore/Cargo.toml index a7c195106..9ab41ca45 100644 --- a/crates/nu-explore/Cargo.toml +++ b/crates/nu-explore/Cargo.toml @@ -20,9 +20,9 @@ nu-table = { path = "../nu-table", version = "0.80.1" } nu-json = { path = "../nu-json", version = "0.80.1" } nu-utils = { path = "../nu-utils", version = "0.80.1" } -terminal_size = "0.2.1" -strip-ansi-escapes = "0.1.1" +terminal_size = "0.2" +strip-ansi-escapes = "0.1" crossterm = "0.26" -ratatui = "0.20.1" -ansi-str = "0.7.2" +ratatui = "0.20" +ansi-str = "0.7" lscolors = { version = "0.14", default-features = false, features = ["nu-ansi-term"] } diff --git a/crates/nu-json/Cargo.toml b/crates/nu-json/Cargo.toml index d3cb29e6f..2912305c6 100644 --- a/crates/nu-json/Cargo.toml +++ b/crates/nu-json/Cargo.toml @@ -18,7 +18,7 @@ default = ["preserve_order"] [dependencies] linked-hash-map = { version="0.5", optional=true } -num-traits = "0.2.14" +num-traits = "0.2" serde = "1.0" [dev-dependencies] diff --git a/crates/nu-parser/Cargo.toml b/crates/nu-parser/Cargo.toml index f2abb95c0..33fc95a15 100644 --- a/crates/nu-parser/Cargo.toml +++ b/crates/nu-parser/Cargo.toml @@ -16,14 +16,14 @@ nu-path = {path = "../nu-path", version = "0.80.1" } nu-plugin = { path = "../nu-plugin", optional = true, version = "0.80.1" } nu-protocol = { path = "../nu-protocol", version = "0.80.1" } -bytesize = "1.2.0" -chrono = { default-features = false, features = ['std'], version = "0.4.23" } +bytesize = "1.2" +chrono = { default-features = false, features = ['std'], version = "0.4" } itertools = "0.10" log = "0.4" serde_json = "1.0" [dev-dependencies] -rstest = { version = "0.17.0", default-features = false } +rstest = { version = "0.17", default-features = false } [features] plugin = ["nu-plugin"] diff --git a/crates/nu-path/Cargo.toml b/crates/nu-path/Cargo.toml index 3b44b35aa..fb5b0267e 100644 --- a/crates/nu-path/Cargo.toml +++ b/crates/nu-path/Cargo.toml @@ -11,10 +11,10 @@ version = "0.80.1" bench = false [dependencies] -dirs-next = "2.0.0" +dirs-next = "2.0" [target.'cfg(windows)'.dependencies] -omnipath = "0.1.1" +omnipath = "0.1" [target.'cfg(all(unix, not(target_os = "macos")))'.dependencies] -pwd = "1.3.1" +pwd = "1.3" diff --git a/crates/nu-plugin/Cargo.toml b/crates/nu-plugin/Cargo.toml index d2460087f..1c38782bf 100644 --- a/crates/nu-plugin/Cargo.toml +++ b/crates/nu-plugin/Cargo.toml @@ -14,7 +14,7 @@ bench = false nu-engine = { path = "../nu-engine", version = "0.80.1" } nu-protocol = { path = "../nu-protocol", version = "0.80.1" } -bincode = "1.3.3" -rmp-serde = "1.1.0" -serde = { version = "1.0.143" } +bincode = "1.3" +rmp-serde = "1.1" +serde = { version = "1.0" } serde_json = { version = "1.0"} diff --git a/crates/nu-pretty-hex/Cargo.toml b/crates/nu-pretty-hex/Cargo.toml index 3f24281c3..dda4cb433 100644 --- a/crates/nu-pretty-hex/Cargo.toml +++ b/crates/nu-pretty-hex/Cargo.toml @@ -17,6 +17,6 @@ bench = false nu-ansi-term = "0.47.0" [dev-dependencies] -heapless = { version = "0.7.8", default-features = false } -rand = "0.8.3" +heapless = { version = "0.7", default-features = false } +rand = "0.8" diff --git a/crates/nu-protocol/Cargo.toml b/crates/nu-protocol/Cargo.toml index d51a34400..662bfc492 100644 --- a/crates/nu-protocol/Cargo.toml +++ b/crates/nu-protocol/Cargo.toml @@ -15,20 +15,20 @@ bench = false [dependencies] nu-utils = { path = "../nu-utils", version = "0.80.1" } -byte-unit = "4.0.9" -chrono = { version = "0.4.23", features = [ "serde", "std", ], default-features = false } -chrono-humanize = "0.2.1" -fancy-regex = "0.11.0" +byte-unit = "4.0" +chrono = { version = "0.4", features = [ "serde", "std", ], default-features = false } +chrono-humanize = "0.2" +fancy-regex = "0.11" indexmap = { version = "1.7" } -lru = "0.10.0" -miette = { version = "5.7.0", features = ["fancy-no-backtrace"] } -num-format = "0.4.3" -serde = { version = "1.0.143", default-features = false } +lru = "0.10" +miette = { version = "5.9", features = ["fancy-no-backtrace"] } +num-format = "0.4" +serde = { version = "1.0", default-features = false } serde_json = { version = "1.0", optional = true } strum = "0.24" strum_macros = "0.24" -thiserror = "1.0.31" -typetag = "0.2.5" +thiserror = "1.0" +typetag = "0.2" [features] plugin = ["serde_json"] diff --git a/crates/nu-std/Cargo.toml b/crates/nu-std/Cargo.toml index 0f68176ff..4e2038d84 100644 --- a/crates/nu-std/Cargo.toml +++ b/crates/nu-std/Cargo.toml @@ -8,7 +8,7 @@ name = "nu-std" version = "0.80.1" [dependencies] -miette = { version = "5.6.0", features = ["fancy-no-backtrace"] } +miette = { version = "5.9", features = ["fancy-no-backtrace"] } nu-parser = { version = "0.80.1", path = "../nu-parser" } nu-protocol = { version = "0.80.1", path = "../nu-protocol" } nu-engine = { version = "0.80.1", path = "../nu-engine" } diff --git a/crates/nu-system/Cargo.toml b/crates/nu-system/Cargo.toml index 1dba34d23..2bb6ac316 100644 --- a/crates/nu-system/Cargo.toml +++ b/crates/nu-system/Cargo.toml @@ -21,14 +21,14 @@ atty = "0.2" nix = { version = "0.26", default-features = false, features = ["fs", "term", "process", "signal"]} [target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies] -procfs = "0.15.1" +procfs = "0.15" [target.'cfg(target_os = "macos")'.dependencies] -libproc = "0.12.0" +libproc = "0.13" mach2 = "0.4" [target.'cfg(target_os = "windows")'.dependencies] -chrono = "0.4.23" +chrono = "0.4" ntapi = "0.4" once_cell = "1.17" -winapi = { version = "0.3.9", features = ["tlhelp32", "fileapi", "handleapi", "ifdef", "ioapiset", "minwindef", "pdh", "psapi", "synchapi", "sysinfoapi", "winbase", "winerror", "winioctl", "winnt", "oleauto", "wbemcli", "rpcdce", "combaseapi", "objidl", "powerbase", "netioapi", "lmcons", "lmaccess", "lmapibuf", "memoryapi", "shellapi", "std", "securitybaseapi"] } +winapi = { version = "0.3", features = ["tlhelp32", "fileapi", "handleapi", "ifdef", "ioapiset", "minwindef", "pdh", "psapi", "synchapi", "sysinfoapi", "winbase", "winerror", "winioctl", "winnt", "oleauto", "wbemcli", "rpcdce", "combaseapi", "objidl", "powerbase", "netioapi", "lmcons", "lmaccess", "lmapibuf", "memoryapi", "shellapi", "std", "securitybaseapi"] } diff --git a/crates/nu-system/src/macos.rs b/crates/nu-system/src/macos.rs index 63a840980..ab19b78bd 100644 --- a/crates/nu-system/src/macos.rs +++ b/crates/nu-system/src/macos.rs @@ -3,9 +3,10 @@ use libproc::libproc::bsd_info::BSDInfo; use libproc::libproc::file_info::{pidfdinfo, ListFDs, ProcFDType}; use libproc::libproc::net_info::{InSockInfo, SocketFDInfo, SocketInfoKind, TcpSockInfo}; use libproc::libproc::pid_rusage::{pidrusage, RUsageInfoV2}; -use libproc::libproc::proc_pid::{listpidinfo, listpids, pidinfo, ListThreads, ProcType}; +use libproc::libproc::proc_pid::{listpidinfo, pidinfo, ListThreads}; use libproc::libproc::task_info::{TaskAllInfo, TaskInfo}; use libproc::libproc::thread_info::ThreadInfo; +use libproc::processes::{pids_by_type, ProcFilter}; use mach2::mach_time; use std::cmp; use std::ffi::OsStr; @@ -33,7 +34,7 @@ pub fn collect_proc(interval: Duration, _with_thread: bool) -> Vec let mut ret = Vec::new(); let arg_max = get_arg_max(); - if let Ok(procs) = listpids(ProcType::ProcAllPIDS) { + if let Ok(procs) = pids_by_type(ProcFilter::All) { for p in procs { if let Ok(task) = pidinfo::(p as i32, 0) { let res = pidrusage::(p as i32).ok(); diff --git a/crates/nu-table/Cargo.toml b/crates/nu-table/Cargo.toml index bf36924cd..beefcdbb0 100644 --- a/crates/nu-table/Cargo.toml +++ b/crates/nu-table/Cargo.toml @@ -15,10 +15,9 @@ nu-protocol = { path = "../nu-protocol", version = "0.80.1" } nu-utils = { path = "../nu-utils", version = "0.80.1" } nu-engine = { path = "../nu-engine", version = "0.80.1" } nu-color-config = { path = "../nu-color-config", version = "0.80.1" } - nu-ansi-term = "0.47.0" -tabled = { version = "0.12.0", features = ["color"], default-features = false } +tabled = { version = "0.12", features = ["color"], default-features = false } [dev-dependencies] # nu-test-support = { path="../nu-test-support", version = "0.80.1" } diff --git a/crates/nu-term-grid/Cargo.toml b/crates/nu-term-grid/Cargo.toml index b13fae6d9..5710d4351 100644 --- a/crates/nu-term-grid/Cargo.toml +++ b/crates/nu-term-grid/Cargo.toml @@ -11,6 +11,6 @@ version = "0.80.1" bench = false [dependencies] -unicode-width = "0.1.9" - nu-utils = { path = "../nu-utils", version = "0.80.1" } + +unicode-width = "0.1" diff --git a/crates/nu-test-support/Cargo.toml b/crates/nu-test-support/Cargo.toml index d0ac9f4aa..bf299983f 100644 --- a/crates/nu-test-support/Cargo.toml +++ b/crates/nu-test-support/Cargo.toml @@ -15,9 +15,9 @@ bench = false nu-path = { path="../nu-path", version = "0.80.1" } nu-glob = { path = "../nu-glob", version = "0.80.1" } nu-utils = { path="../nu-utils", version = "0.80.1" } -num-format = "0.4.3" -which = "4.3.0" -getset = "0.1.1" -tempfile = "3.2.0" -hamcrest2 = "0.3.0" +num-format = "0.4" +which = "4.3" +getset = "0.1" +tempfile = "3.2" +hamcrest2 = "0.3" diff --git a/crates/nu-utils/Cargo.toml b/crates/nu-utils/Cargo.toml index b4003933b..50844f689 100644 --- a/crates/nu-utils/Cargo.toml +++ b/crates/nu-utils/Cargo.toml @@ -19,9 +19,9 @@ bench = false [dependencies] log = "0.4" lscolors = { version = "0.14", default-features = false, features = ["nu-ansi-term"] } -num-format = { version = "0.4.3" } -strip-ansi-escapes = "0.1.1" -sys-locale = "0.3.0" +num-format = { version = "0.4" } +strip-ansi-escapes = "0.1" +sys-locale = "0.3" [target.'cfg(windows)'.dependencies] -crossterm_winapi = "0.9.0" +crossterm_winapi = "0.9" diff --git a/crates/nu_plugin_custom_values/Cargo.toml b/crates/nu_plugin_custom_values/Cargo.toml index 1a7f5dc82..54e76e699 100644 --- a/crates/nu_plugin_custom_values/Cargo.toml +++ b/crates/nu_plugin_custom_values/Cargo.toml @@ -13,4 +13,4 @@ bench = false nu-plugin = { path = "../nu-plugin", version = "0.80.1" } nu-protocol = { path = "../nu-protocol", version = "0.80.1", features = ["plugin"] } serde = { version = "1.0", default-features = false } -typetag = "0.2.5" +typetag = "0.2" diff --git a/crates/nu_plugin_formats/Cargo.toml b/crates/nu_plugin_formats/Cargo.toml index ce7776a65..bed6a4ee1 100644 --- a/crates/nu_plugin_formats/Cargo.toml +++ b/crates/nu_plugin_formats/Cargo.toml @@ -13,7 +13,6 @@ nu-plugin = { path = "../nu-plugin", version = "0.80.1" } nu-protocol = { path = "../nu-protocol", version = "0.80.1", features = ["plugin"] } indexmap = { version = "1.7", features = ["serde-1"] } - -eml-parser = "0.1.0" -ical = "0.8.0" -rust-ini = "0.18.0" +eml-parser = "0.1" +ical = "0.8" +rust-ini = "0.18" diff --git a/crates/nu_plugin_gstat/Cargo.toml b/crates/nu_plugin_gstat/Cargo.toml index 88b1bf313..da73fa88a 100644 --- a/crates/nu_plugin_gstat/Cargo.toml +++ b/crates/nu_plugin_gstat/Cargo.toml @@ -19,4 +19,4 @@ bench = false nu-plugin = { path="../nu-plugin", version = "0.80.1" } nu-protocol = { path="../nu-protocol", version = "0.80.1" } -git2 = "0.17.0" +git2 = "0.17" diff --git a/crates/nu_plugin_inc/Cargo.toml b/crates/nu_plugin_inc/Cargo.toml index a9e33dd53..b22d32905 100644 --- a/crates/nu_plugin_inc/Cargo.toml +++ b/crates/nu_plugin_inc/Cargo.toml @@ -19,4 +19,4 @@ bench = false nu-plugin = { path="../nu-plugin", version = "0.80.1" } nu-protocol = { path="../nu-protocol", version = "0.80.1", features = ["plugin"]} -semver = "1.0.16" +semver = "1.0" diff --git a/crates/nu_plugin_query/Cargo.toml b/crates/nu_plugin_query/Cargo.toml index 85418237c..664c73a5c 100644 --- a/crates/nu_plugin_query/Cargo.toml +++ b/crates/nu_plugin_query/Cargo.toml @@ -20,7 +20,8 @@ bench = false nu-plugin = { path="../nu-plugin", version = "0.80.1" } nu-protocol = { path="../nu-protocol", version = "0.80.1" } nu-engine = { path="../nu-engine", version = "0.80.1" } -gjson = "0.8.0" -scraper = { default-features = false, version = "0.15.0" } -sxd-document = "0.3.2" -sxd-xpath = "0.4.2" + +gjson = "0.8" +scraper = { default-features = false, version = "0.16" } +sxd-document = "0.3" +sxd-xpath = "0.4"