From 9c688b9cafc1f2e0c2590418eafd348db69ef935 Mon Sep 17 00:00:00 2001 From: Santiago Carmuega Date: Sat, 16 Dec 2023 16:33:09 -0300 Subject: [PATCH] chore: update Kafka dep --- Cargo.lock | 125 +++++++++++++++++------------------------------------ Cargo.toml | 2 +- 2 files changed, 40 insertions(+), 87 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 27f76d5e..a481dfe7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -131,7 +131,7 @@ version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bc2d0cfb2a7388d34f590e76686704c494ed7aaceed62ee1ba35cbf363abc2a5" dependencies = [ - "flate2 1.0.28", + "flate2", "futures-core", "memchr", "pin-project-lite", @@ -189,7 +189,7 @@ dependencies = [ "cfg-if 1.0.0", "concurrent-queue", "futures-lite 1.13.0", - "log 0.4.20", + "log", "parking", "polling 2.8.0", "rustix 0.37.27", @@ -790,24 +790,12 @@ dependencies = [ "tracing", ] -[[package]] -name = "build_const" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4ae4235e6dac0694637c763029ecea1a2ec9e4e06ec2729bd21ba4d9c863eb7" - [[package]] name = "bumpalo" version = "3.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" -[[package]] -name = "byteorder" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fc10e8cc6b2580fda3f36eb6dc5316657f812a3df879a44a66fc9f0fdbc4855" - [[package]] name = "byteorder" version = "1.5.0" @@ -984,13 +972,19 @@ dependencies = [ [[package]] name = "crc" -version = "1.8.1" +version = "3.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d663548de7f5cca343f1e0a48d14dcfb0e9eb4e079ec58883b7251539fa10aeb" +checksum = "86ec7a15cbe22e59248fc7eadb1907dab5ba09372595da4d73dd805ed4417dfe" dependencies = [ - "build_const", + "crc-catalog", ] +[[package]] +name = "crc-catalog" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5" + [[package]] name = "crc32fast" version = "1.3.2" @@ -1178,7 +1172,7 @@ checksum = "95b3f3e67048839cb0d0781f445682a35113da7121f7c949db0e2be96a4fbece" dependencies = [ "humantime", "is-terminal", - "log 0.4.20", + "log", "regex", "termcolor", ] @@ -1199,15 +1193,6 @@ dependencies = [ "windows-sys 0.52.0", ] -[[package]] -name = "error-chain" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9435d864e017c3c6afeac1654189b06cdb491cf2ff73dbf0d73b0f292f42ff8" -dependencies = [ - "backtrace", -] - [[package]] name = "event-listener" version = "2.5.3" @@ -1266,17 +1251,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ddf221ceec4517f3cb764dae3541b2bd87666fc8832e51322fbb97250b468c71" dependencies = [ "chrono", - "flate2 1.0.28", -] - -[[package]] -name = "flate2" -version = "0.2.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6234dd4468ae5d1e2dbb06fe2b058696fdc50a339c68a393aefbf00bc81e423" -dependencies = [ - "libc", - "miniz-sys", + "flate2", ] [[package]] @@ -1688,7 +1663,7 @@ dependencies = [ "ct-logs", "futures-util", "hyper", - "log 0.4.20", + "log", "rustls 0.19.1", "rustls-native-certs 0.5.0", "tokio", @@ -1867,19 +1842,20 @@ dependencies = [ [[package]] name = "kafka" -version = "0.8.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f37f068eb07305e1141453ea2dccfb4f278153a4261bb9a519f10d1eb13d25a8" +checksum = "2054ba4edcb4dcda4209e138c7e88caf26d4a325b3db76fbdb6ca5eecc23e426" dependencies = [ - "byteorder 0.5.3", + "byteorder", "crc", - "error-chain", - "flate2 0.2.20", + "flate2", "fnv", - "log 0.3.9", "openssl", + "openssl-sys", "ref_slice", "snap", + "thiserror", + "tracing", "twox-hash", ] @@ -1945,15 +1921,6 @@ dependencies = [ "scopeguard", ] -[[package]] -name = "log" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e19e8d5c34a3e0e2223db8e060f9e8264aeeb5c5fc64a4ee9965c062211c024b" -dependencies = [ - "log 0.4.20", -] - [[package]] name = "log" version = "0.4.20" @@ -2037,16 +2004,6 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" -[[package]] -name = "miniz-sys" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e9e3ae51cea1576ceba0dde3d484d30e6e5b86dee0b2d412fe3a16a15c98202" -dependencies = [ - "cc", - "libc", -] - [[package]] name = "miniz_oxide" version = "0.7.1" @@ -2063,7 +2020,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f3d0b296e374a4e6f3c7b0a1f5a51d748a0d34c85e7dc48fc3fa9a87657fe09" dependencies = [ "libc", - "log 0.4.20", + "log", "wasi", "windows-sys 0.48.0", ] @@ -2082,7 +2039,7 @@ checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e" dependencies = [ "lazy_static", "libc", - "log 0.4.20", + "log", "openssl", "openssl-probe", "openssl-sys", @@ -2248,7 +2205,7 @@ dependencies = [ "hex", "kafka", "lapin", - "log 0.4.20", + "log", "merge", "murmur3", "net2", @@ -2356,9 +2313,9 @@ version = "0.18.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5d4b8c7f48cd3b41ce1fac3e829c723d2e76f1cee77b864446d65b2d12ee0aa3" dependencies = [ - "byteorder 1.5.0", + "byteorder", "hex", - "log 0.4.20", + "log", "pallas-codec", "rand", "thiserror", @@ -2374,7 +2331,7 @@ dependencies = [ "base58", "bech32", "hex", - "log 0.4.20", + "log", "pallas-codec", "pallas-crypto", "serde", @@ -2517,7 +2474,7 @@ dependencies = [ "cfg-if 1.0.0", "concurrent-queue", "libc", - "log 0.4.20", + "log", "pin-project-lite", "windows-sys 0.48.0", ] @@ -2781,7 +2738,7 @@ dependencies = [ "hyper-tls", "ipnet", "js-sys", - "log 0.4.20", + "log", "mime", "native-tls", "once_cell", @@ -2889,7 +2846,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7" dependencies = [ "base64 0.13.1", - "log 0.4.20", + "log", "ring 0.16.20", "sct 0.6.1", "webpki 0.21.4", @@ -2901,7 +2858,7 @@ version = "0.20.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b80e3dec595989ea8510028f30c408a4630db12c9cbb8de34203b89d6577e99" dependencies = [ - "log 0.4.20", + "log", "ring 0.16.20", "sct 0.7.1", "webpki 0.22.4", @@ -2913,7 +2870,7 @@ version = "0.21.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9d5a6813c0759e4609cd494e8e725babae6a2ca7b62a5536a13daaec6fcb7ba" dependencies = [ - "log 0.4.20", + "log", "ring 0.17.7", "rustls-webpki", "sct 0.7.1", @@ -2925,7 +2882,7 @@ version = "0.18.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "25da151615461c7347114b1ad1a7458b4cdebc69cb220cd140cd5cb324b1dd37" dependencies = [ - "log 0.4.20", + "log", "rustls 0.21.10", "rustls-native-certs 0.6.3", "rustls-webpki", @@ -3215,13 +3172,9 @@ checksum = "4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970" [[package]] name = "snap" -version = "0.2.5" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95d697d63d44ad8b78b8d235bf85b34022a78af292c8918527c5f0cffdde7f43" -dependencies = [ - "byteorder 1.5.0", - "lazy_static", -] +checksum = "1b6b67fb9a61334225b5b790716f609cd58395f895b3fe8b328786812a40bc3b" [[package]] name = "socket2" @@ -3441,7 +3394,7 @@ checksum = "c5f8734c6d6943ad6df6b588d228a87b4af184998bcffa268ceddf05c2055a8c" dependencies = [ "ascii", "chunked_transfer", - "log 0.4.20", + "log", "time", "url", ] @@ -3588,7 +3541,7 @@ dependencies = [ "axum", "base64 0.13.1", "bytes", - "flate2 1.0.28", + "flate2", "futures-core", "futures-util", "h2", @@ -3651,7 +3604,7 @@ version = "0.1.40" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" dependencies = [ - "log 0.4.20", + "log", "pin-project-lite", "tracing-attributes", "tracing-core", @@ -3831,7 +3784,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b56f625e64f3a1084ded111c4d5f477df9f8c92df113852fa5a374dbda78826" dependencies = [ "bumpalo", - "log 0.4.20", + "log", "once_cell", "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 9df40c6e..8b07eb81 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -38,7 +38,7 @@ file-rotate = { version = "0.7.1", optional = true } reqwest = { version = "0.11", optional = true, features = ["blocking", "json"] } # feature: kafkasink -kafka = { version = "0.8.0", optional = true } +kafka = { version = "0.10.0", optional = true } # feature: elasticsink elasticsearch = { version = "7.14.0-alpha.1", optional = true }