From 1b8cd373b1b963372f874abddbd3a313f729eeda Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 24 Jan 2023 23:26:29 +0000 Subject: [PATCH] fix(deps): update rust dependencies --- Cargo.lock | 166 +++++++++++++++++++++++------------------ distributor/Cargo.toml | 2 +- http_server/Cargo.toml | 2 +- tools/Cargo.toml | 4 +- 4 files changed, 98 insertions(+), 76 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c7cd809d..1364c92e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -85,28 +85,13 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" -[[package]] -name = "asn1-rs" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30ff05a702273012438132f449575dbc804e27b2f3cbe3069aa237d26c98fa33" -dependencies = [ - "asn1-rs-derive 0.1.0", - "asn1-rs-impl", - "displaydoc", - "nom 7.1.1", - "num-traits", - "rusticata-macros", - "thiserror", -] - [[package]] name = "asn1-rs" version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf6690c370453db30743b373a60ba498fc0d6d83b11f4abfd87a84a075db5dd4" dependencies = [ - "asn1-rs-derive 0.4.0", + "asn1-rs-derive", "asn1-rs-impl", "displaydoc", "nom 7.1.1", @@ -116,18 +101,6 @@ dependencies = [ "time 0.3.7", ] -[[package]] -name = "asn1-rs-derive" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db8b7511298d5b7784b40b092d9e9dcd3a627a5707e4b5e507931ab0d44eeebf" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "synstructure", -] - [[package]] name = "asn1-rs-derive" version = "0.4.0" @@ -195,7 +168,7 @@ version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" dependencies = [ - "hermit-abi", + "hermit-abi 0.1.19", "libc", "winapi 0.3.9", ] @@ -511,33 +484,31 @@ dependencies = [ "atty", "bitflags", "strsim 0.8.0", - "textwrap 0.11.0", + "textwrap", "unicode-width", "vec_map", ] [[package]] name = "clap" -version = "3.2.23" +version = "4.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71655c45cb9845d3270c9d6df84ebe72b4dad3c2ba3f7023ad47c144e4e473a5" +checksum = "f13b9c79b5d1dd500d20ef541215a6423c75829ef43117e1b4d17fd8af0b5d76" dependencies = [ - "atty", "bitflags", "clap_derive", "clap_lex", - "indexmap", + "is-terminal", "once_cell", "strsim 0.10.0", "termcolor", - "textwrap 0.16.0", ] [[package]] name = "clap_derive" -version = "3.2.18" +version = "4.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea0c8bce528c4be4da13ea6fead8965e95b6073585a2f05204bd8f4119f82a65" +checksum = "684a277d672e91966334af371f1a7b5833f9aa00b07c84e92fbce95e00208ce8" dependencies = [ "heck 0.4.0", "proc-macro-error", @@ -548,9 +519,9 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.2.2" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5538cd660450ebeb4234cfecf8f2284b844ffc4c50531e66d584ad5b91293613" +checksum = "783fe232adfca04f90f56201b26d79682d4cd2625e0bc7290b95123afe558ade" dependencies = [ "os_str_bytes", ] @@ -948,28 +919,13 @@ dependencies = [ "zeroize", ] -[[package]] -name = "der-parser" -version = "7.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe398ac75057914d7d07307bf67dc7f3f574a26783b4fc7805a20ffa9f506e82" -dependencies = [ - "asn1-rs 0.3.1", - "cookie-factory", - "displaydoc", - "nom 7.1.1", - "num-bigint", - "num-traits", - "rusticata-macros", -] - [[package]] name = "der-parser" version = "8.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "42d4bc9b0db0a0df9ae64634ac5bdefb7afcb534e182275ca0beadbe486701c1" dependencies = [ - "asn1-rs 0.5.1", + "asn1-rs", "cookie-factory", "displaydoc", "nom 7.1.1", @@ -1086,7 +1042,7 @@ dependencies = [ "base64", "byte-strings", "ciborium", - "clap 3.2.23", + "clap 4.1.4", "form_urlencoded", "futures", "http", @@ -1210,6 +1166,27 @@ dependencies = [ "serde", ] +[[package]] +name = "errno" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1" +dependencies = [ + "errno-dragonfly", + "libc", + "winapi 0.3.9", +] + +[[package]] +name = "errno-dragonfly" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" +dependencies = [ + "cc", + "libc", +] + [[package]] name = "error-chain" version = "0.12.4" @@ -1695,6 +1672,15 @@ dependencies = [ "libc", ] +[[package]] +name = "hermit-abi" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7" +dependencies = [ + "libc", +] + [[package]] name = "hex" version = "0.4.3" @@ -1739,7 +1725,7 @@ dependencies = [ "anyhow", "assert_matches", "async-trait", - "clap 3.2.23", + "clap 4.1.4", "fs2", "futures", "http", @@ -1960,6 +1946,16 @@ dependencies = [ "bytes 1.0.1", ] +[[package]] +name = "io-lifetimes" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7d6c6f8c91b4b9ed43484ad1a938e393caf35960fce7f82a040497207bd8e9e" +dependencies = [ + "libc", + "windows-sys 0.42.0", +] + [[package]] name = "iovec" version = "0.1.4" @@ -1975,6 +1971,18 @@ version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "68f2d64f2edebec4ce84ad108148e67e1064789bee435edc5b60ad398714a3a9" +[[package]] +name = "is-terminal" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28dfb6c8100ccc63462345b67d1bbc3679177c75ee4bf59bf29c8b1d110b8189" +dependencies = [ + "hermit-abi 0.2.6", + "io-lifetimes", + "rustix", + "windows-sys 0.42.0", +] + [[package]] name = "is_executable" version = "0.1.2" @@ -2051,9 +2059,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.127" +version = "0.2.139" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "505e71a4706fa491e9b1b55f51b95d4037d0821ee40131190475f692b35b009b" +checksum = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79" [[package]] name = "libz-sys" @@ -2082,6 +2090,12 @@ version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7fb9b38af92608140b86b693604b9ffcc5824240a484d1ecd4795bacb2fe88f3" +[[package]] +name = "linux-raw-sys" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" + [[package]] name = "lock_api" version = "0.4.6" @@ -2393,7 +2407,7 @@ version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3" dependencies = [ - "hermit-abi", + "hermit-abi 0.1.19", "libc", ] @@ -2450,7 +2464,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d4bda43fd1b844cbc6e6e54b5444e2b1bc7838bce59ad205902cccbb26d6761" dependencies = [ - "asn1-rs 0.5.1", + "asn1-rs", ] [[package]] @@ -3086,6 +3100,20 @@ dependencies = [ "nom 7.1.1", ] +[[package]] +name = "rustix" +version = "0.36.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4fdebc4b395b7fbb9ab11e462e20ed9051e7b16e42d24042c776eca0ac81b03" +dependencies = [ + "bitflags", + "errno", + "io-lifetimes", + "libc", + "linux-raw-sys", + "windows-sys 0.42.0", +] + [[package]] name = "rustls" version = "0.20.7" @@ -3567,7 +3595,7 @@ dependencies = [ "async-trait", "base64", "chrono", - "der-parser 8.1.0", + "der-parser", "futures", "getrandom 0.2.8", "http", @@ -3714,12 +3742,6 @@ dependencies = [ "unicode-width", ] -[[package]] -name = "textwrap" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" - [[package]] name = "thin-slice" version = "0.1.1" @@ -3982,9 +4004,9 @@ dependencies = [ "anyhow", "async-trait", "base64", - "clap 3.2.23", + "clap 4.1.4", "ctrlc", - "der-parser 7.0.0", + "der-parser", "http", "hyper", "hyper-tls", @@ -4738,10 +4760,10 @@ version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e0ecbeb7b67ce215e40e3cc7f2ff902f94a223acf44995934763467e7b1febc8" dependencies = [ - "asn1-rs 0.5.1", + "asn1-rs", "base64", "data-encoding", - "der-parser 8.1.0", + "der-parser", "lazy_static", "nom 7.1.1", "oid-registry", diff --git a/distributor/Cargo.toml b/distributor/Cargo.toml index d5b73801..479bffa1 100644 --- a/distributor/Cargo.toml +++ b/distributor/Cargo.toml @@ -25,7 +25,7 @@ anyhow = { version = "1.0.66", features = ["backtrace"] } base64 = "0.13.1" byte-strings = { version = "0.2.2", features = ["const-friendly"] } ciborium = "0.2.0" -clap = { version = "3.2.23", features = ["derive"] } +clap = { version = "4.1.4", features = ["derive"] } form_urlencoded = "1.1.0" futures = "0.3.25" http = "0.2.8" diff --git a/http_server/Cargo.toml b/http_server/Cargo.toml index aa1eba97..2b55af45 100644 --- a/http_server/Cargo.toml +++ b/http_server/Cargo.toml @@ -23,7 +23,7 @@ edition = "2018" [dependencies] anyhow = "1.0.66" async-trait = "0.1.59" -clap = { version = "3.2.23", features = ["derive"] } +clap = { version = "4.1.4", features = ["derive"] } fs2 = "0.4.3" futures = "0.3.25" http = "0.2.8" diff --git a/tools/Cargo.toml b/tools/Cargo.toml index b8339286..534c47c0 100644 --- a/tools/Cargo.toml +++ b/tools/Cargo.toml @@ -23,9 +23,9 @@ edition = "2018" anyhow = "1.0.66" async-trait = "0.1.59" base64 = "0.13.1" -clap = { version = "3.2.23", features = ["derive"] } +clap = { version = "4.1.4", features = ["derive"] } ctrlc = "3.2.3" -der-parser = { version = "7.0.0", features = ["bigint", "serialize"] } +der-parser = { version = "8.1.0", features = ["bigint", "serialize"] } http = "0.2.8" hyper = { version = "0.14.23", features = ["client", "http2"]} hyper-tls = "0.5.0"