From be7b0e6839e9921613c6b0ffb65dc12243028cb2 Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Wed, 9 Feb 2022 22:19:16 -0800 Subject: [PATCH] cargo: upgrade dependencies --- Cargo.lock | 77 ++++++++++++++++++++++++++++++-------------------- Cargo.toml | 12 ++++---- lib/Cargo.toml | 16 +++++------ 3 files changed, 60 insertions(+), 45 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index acef7439a..ce7e025f5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -176,9 +176,9 @@ dependencies = [ [[package]] name = "clap" -version = "3.0.4" +version = "3.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d01c9347757e131122b19cd19a05c85805b68c2352a97b623efdc3c295290299" +checksum = "b63edc3f163b3c71ec8aa23f9bd6070f77edbf3d1d198b164afa90ff00e4ec62" dependencies = [ "atty", "bitflags", @@ -192,11 +192,11 @@ dependencies = [ [[package]] name = "clap_complete" -version = "3.0.2" +version = "3.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a394f7ec0715b42a4e52b294984c27c9a61f77c8d82f7774c5198350be143f19" +checksum = "678db4c39c013cc68b54d372bce2efc58e30a0337c497c9032fd196802df3bc3" dependencies = [ - "clap 3.0.4", + "clap 3.0.14", ] [[package]] @@ -312,7 +312,7 @@ checksum = "22813a6dc45b335f9bade10bf7271dc477e81113e89eb251a0bc2a8a81c536e1" dependencies = [ "bstr", "csv-core", - "itoa", + "itoa 0.4.7", "ryu", "serde 1.0.126", ] @@ -379,6 +379,15 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" +[[package]] +name = "fastrand" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3fcf0cee53519c866c09b5de1f6c56ff9d647101f81c1964fa632e148896cdf" +dependencies = [ + "instant", +] + [[package]] name = "form_urlencoded" version = "1.0.1" @@ -502,9 +511,9 @@ dependencies = [ [[package]] name = "itertools" -version = "0.10.1" +version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69ddb889f9d0d08a67338271fa9b62996bc788c7796a5c18cf057420aaed5eaf" +checksum = "a9a9d19fa1e79b6215ff29b9d6880b706147f16e9b1dbb1e4e5947b5b02bc5e3" dependencies = [ "either", ] @@ -515,6 +524,12 @@ version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736" +[[package]] +name = "itoa" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1aab8fc367588b89dcee83ab0fd66b72b50b72fa1904d7095045ace2b0c81c35" + [[package]] name = "jobserver" version = "0.1.22" @@ -539,7 +554,7 @@ version = "0.2.0" dependencies = [ "atty", "chrono", - "clap 3.0.4", + "clap 3.0.14", "clap_complete", "config", "criterion", @@ -738,9 +753,9 @@ dependencies = [ [[package]] name = "num_cpus" -version = "1.13.0" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3" +checksum = "19e64526ebdee182341572e50e9ad03965aa510cd94427a4549448f285e957a1" dependencies = [ "hermit-abi", "libc", @@ -886,27 +901,27 @@ dependencies = [ [[package]] name = "protobuf" -version = "2.25.2" +version = "2.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47c327e191621a2158159df97cdbc2e7074bb4e940275e35abf38eb3d2595754" +checksum = "cf7e6d18738ecd0902d30d1ad232c9125985a3422929b16c65517b38adc14f96" dependencies = [ "bytes", ] [[package]] name = "protobuf-codegen" -version = "2.25.2" +version = "2.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3df8c98c08bd4d6653c2dbae00bd68c1d1d82a360265a5b0bbc73d48c63cb853" +checksum = "aec1632b7c8f2e620343439a7dfd1f3c47b18906c4be58982079911482b5d707" dependencies = [ "protobuf", ] [[package]] name = "protobuf-codegen-pure" -version = "2.25.2" +version = "2.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "394a73e2a819405364df8d30042c0f1174737a763e0170497ec9d36f8a2ea8f7" +checksum = "9f8122fdb18e55190c796b088a16bdb70cd7acdcd48f7a8b796b58c62e532cc6" dependencies = [ "protobuf", "protobuf-codegen", @@ -1138,11 +1153,11 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.72" +version = "1.0.78" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0ffa0837f2dfa6fb90868c2b5468cad482e175f7dad97e7421951e663f2b527" +checksum = "d23c1ba4cf0efd44be32017709280b32d1cea5c3f1275c3b6d9e8bc54f758085" dependencies = [ - "itoa", + "itoa 1.0.1", "ryu", "serde 1.0.126", ] @@ -1196,13 +1211,13 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.2.0" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dac1c663cfc93810f88aed9b8941d48cabf856a1b111c29a40439018d870eb22" +checksum = "5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4" dependencies = [ "cfg-if", + "fastrand", "libc", - "rand", "redox_syscall", "remove_dir_all", "winapi", @@ -1219,9 +1234,9 @@ dependencies = [ [[package]] name = "test-case" -version = "1.2.1" +version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7cad0a06f9a61e94355aa3b3dc92d85ab9c83406722b1ca5e918d4297c12c23" +checksum = "e9e5f048404b43e8ae66dce036163515b6057024cf58c6377be501f250bd3c6a" dependencies = [ "cfg-if", "proc-macro2", @@ -1538,18 +1553,18 @@ dependencies = [ [[package]] name = "zstd" -version = "0.9.0+zstd.1.5.0" +version = "0.10.0+zstd.1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07749a5dc2cb6b36661290245e350f15ec3bbb304e493db54a1d354480522ccd" +checksum = "3b1365becbe415f3f0fcd024e2f7b45bacfb5bdd055f0dc113571394114e7bdd" dependencies = [ "zstd-safe", ] [[package]] name = "zstd-safe" -version = "4.1.1+zstd.1.5.0" +version = "4.1.4+zstd.1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c91c90f2c593b003603e5e0493c837088df4469da25aafff8bce42ba48caf079" +checksum = "2f7cd17c9af1a4d6c24beb1cc54b17e2ef7b593dc92f19e9d9acad8b182bbaee" dependencies = [ "libc", "zstd-sys", @@ -1557,9 +1572,9 @@ dependencies = [ [[package]] name = "zstd-sys" -version = "1.6.1+zstd.1.5.0" +version = "1.6.3+zstd.1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "615120c7a2431d16cf1cf979e7fc31ba7a5b5e5707b29c8a99e5dbf8a8392a33" +checksum = "fc49afa5c8d634e75761feda8c592051e7eeb4683ba827211eb0d731d3402ea8" dependencies = [ "cc", "libc", diff --git a/Cargo.toml b/Cargo.toml index ab8a1241e..5cdc15916 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,23 +22,23 @@ members = ["lib"] [dependencies] atty = "0.2.14" chrono = "0.4.19" -clap = { version = "3.0.4", features = ["cargo"] } -clap_complete = "3.0.2" +clap = { version = "3.0.14", features = ["cargo"] } +clap_complete = "3.0.6" config = "0.11.0" criterion = "0.3.5" -git2 = "0.13.24" +git2 = "0.13.25" hex = "0.4.3" indoc = "1.0.3" -itertools = "0.10.1" +itertools = "0.10.3" jujutsu-lib = { version = "=0.2.0", path = "lib"} maplit = "1.0.2" pest = "2.1.3" pest_derive = "2.1.0" rand = "0.8.4" -tempfile = "3.2.0" +tempfile = "3.3.0" textwrap = "0.14.2" thiserror = "1.0.30" [dev-dependencies] -test-case = "1.2.1" +test-case = "1.2.3" regex = "1.5.4" diff --git a/lib/Cargo.toml b/lib/Cargo.toml index a16b22d4a..961577c9b 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -13,7 +13,7 @@ readme = "../README.md" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [build-dependencies] -protobuf-codegen-pure = "2.25.2" +protobuf-codegen-pure = "2.27.1" [dependencies] backoff = "0.4.0" @@ -25,20 +25,20 @@ config = "0.11.0" dirs = "4.0.0" git2 = "0.13.25" hex = "0.4.3" -itertools = "0.10.1" +itertools = "0.10.3" maplit = "1.0.2" pest = "2.1.3" pest_derive = "2.1.0" -protobuf = { version = "2.25.2", features = ["with-bytes"] } +protobuf = { version = "2.27.1", features = ["with-bytes"] } rand = "0.8.4" regex = "1.5.4" -serde_json = "1.0.72" -tempfile = "3.2.0" +serde_json = "1.0.78" +tempfile = "3.3.0" thiserror = "1.0.30" uuid = { version = "0.8.2", features = ["v4"] } whoami = "1.2.1" -zstd = "0.9.0" +zstd = "0.10.0" [dev-dependencies] -num_cpus = "1.13.0" -test-case = "1.2.1" +num_cpus = "1.13.1" +test-case = "1.2.3"