From de3681d5a124e82d3378eb394bb7591eb0c1cdcd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 18 Jul 2026 03:47:39 +0000 Subject: [PATCH] build(deps): bump whatsapp-rust-tokio-transport from 0.5.0 to 0.6.0 Bumps [whatsapp-rust-tokio-transport](https://github.com/jlucaso1/whatsapp-rust) from 0.5.0 to 0.6.0. - [Release notes](https://github.com/jlucaso1/whatsapp-rust/releases) - [Changelog](https://github.com/oxidezap/whatsapp-rust/blob/main/release.toml) - [Commits](https://github.com/jlucaso1/whatsapp-rust/compare/v0.5.0...v0.6.0) --- updated-dependencies: - dependency-name: whatsapp-rust-tokio-transport dependency-version: 0.6.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 427 +++++++++++++++++++++++++++++++++++++++++++++-------- Cargo.toml | 2 +- 2 files changed, 369 insertions(+), 60 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9c5580d..4dd101d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -25,10 +25,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" dependencies = [ "cfg-if", - "cipher", + "cipher 0.4.4", "cpufeatures 0.2.17", ] +[[package]] +name = "aes" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1fc76eaeac4c9164506c466d4ffdd8ec9d0c5bf57ee97177c4d8eceb3a0e138" +dependencies = [ + "cipher 0.5.2", + "cpubits", + "cpufeatures 0.3.0", +] + [[package]] name = "aes-gcm" version = "0.10.3" @@ -36,9 +47,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" dependencies = [ "aead", - "aes", - "cipher", - "ctr", + "aes 0.8.4", + "cipher 0.4.4", + "ctr 0.9.2", "ghash 0.5.1", "subtle", ] @@ -225,7 +236,7 @@ dependencies = [ "serde_json", "serde_path_to_error", "serde_urlencoded", - "sha1", + "sha1 0.10.6", "sync_wrapper", "tokio", "tokio-tungstenite", @@ -284,6 +295,15 @@ dependencies = [ "generic-array", ] +[[package]] +name = "block-buffer" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa" +dependencies = [ + "hybrid-array", +] + [[package]] name = "block-padding" version = "0.3.3" @@ -293,6 +313,15 @@ dependencies = [ "generic-array", ] +[[package]] +name = "block-padding" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "710f1dd022ef4e93f8a438b4ba958de7f64308434fa6a87104481645cc30068b" +dependencies = [ + "hybrid-array", +] + [[package]] name = "bumpalo" version = "3.20.3" @@ -314,13 +343,31 @@ dependencies = [ "serde", ] +[[package]] +name = "castaway" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dec551ab6e7578819132c713a93c022a05d60159dc86e7a7050223577484c55a" +dependencies = [ + "rustversion", +] + [[package]] name = "cbc" version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "26b52a9543ae338f279b96b0b9fed9c8093744685043739079ce85cd58f289a6" dependencies = [ - "cipher", + "cipher 0.4.4", +] + +[[package]] +name = "cbc" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce2dc9ee5f88d11e0beb842c88b33c8a5cf0d1329c4b19494af42b07dbfe8896" +dependencies = [ + "cipher 0.5.2", ] [[package]] @@ -379,7 +426,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" dependencies = [ "crypto-common 0.1.7", - "inout", + "inout 0.1.4", +] + +[[package]] +name = "cipher" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8cf2a2c93cd704877c0858356ed03480ff301ee950b43f1cbe4573b088bfa6c" +dependencies = [ + "block-buffer 0.12.1", + "crypto-common 0.2.2", + "inout 0.2.2", ] [[package]] @@ -397,6 +455,21 @@ version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a" +[[package]] +name = "compact_str" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9dfdd1c2274d9aa354115b09dc9a901d6c5576818cdf70d14cae2bdb47df00ab" +dependencies = [ + "castaway", + "cfg-if", + "itoa", + "rustversion", + "ryu", + "serde", + "static_assertions", +] + [[package]] name = "compression-codecs" version = "0.4.38" @@ -521,7 +594,16 @@ version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" dependencies = [ - "cipher", + "cipher 0.4.4", +] + +[[package]] +name = "ctr" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baaca1c4b237092596f64d571e9db6ce4109c4ef9742e27590f1709594461f21" +dependencies = [ + "cipher 0.5.2", ] [[package]] @@ -542,7 +624,7 @@ dependencies = [ "cfg-if", "cpufeatures 0.2.17", "curve25519-dalek-derive", - "digest", + "digest 0.10.7", "fiat-crypto", "rustc_version", "subtle", @@ -617,11 +699,22 @@ version = "0.10.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ - "block-buffer", + "block-buffer 0.10.4", "crypto-common 0.1.7", "subtle", ] +[[package]] +name = "digest" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" +dependencies = [ + "block-buffer 0.12.1", + "crypto-common 0.2.2", + "ctutils", +] + [[package]] name = "directories" version = "6.0.0" @@ -1087,7 +1180,16 @@ version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" dependencies = [ - "hmac", + "hmac 0.12.1", +] + +[[package]] +name = "hkdf" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4aaa26c720c68b866f2c96ef5c1264b3e6f473fe5d4ce61cd44bbe913e553018" +dependencies = [ + "hmac 0.13.0", ] [[package]] @@ -1096,7 +1198,16 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" dependencies = [ - "digest", + "digest 0.10.7", +] + +[[package]] +name = "hmac" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6303bc9732ae41b04cb554b844a762b4115a61bfaa81e3e83050991eeb56863f" +dependencies = [ + "digest 0.11.3", ] [[package]] @@ -1366,10 +1477,20 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01" dependencies = [ - "block-padding", + "block-padding 0.3.3", "generic-array", ] +[[package]] +name = "inout" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4250ce6452e92010fdf7268ccc5d14faa80bb12fc741938534c58f16804e03c7" +dependencies = [ + "block-padding 0.4.2", + "hybrid-array", +] + [[package]] name = "ipnet" version = "2.12.0" @@ -1679,8 +1800,8 @@ version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" dependencies = [ - "digest", - "hmac", + "digest 0.10.7", + "hmac 0.12.1", ] [[package]] @@ -1799,6 +1920,12 @@ dependencies = [ "universal-hash 0.6.1", ] +[[package]] +name = "portable-atomic" +version = "1.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d20d5497ef88037a52ff98267d066e7f11fcc5e99bbfbd58a42336193aacec3" + [[package]] name = "potential_utf" version = "0.1.5" @@ -2399,7 +2526,18 @@ checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" dependencies = [ "cfg-if", "cpufeatures 0.2.17", - "digest", + "digest 0.10.7", +] + +[[package]] +name = "sha1" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aacc4cc499359472b4abe1bf11d0b12e688af9a805fa5e3016f9a386dc2d0214" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.0", + "digest 0.11.3", ] [[package]] @@ -2410,7 +2548,18 @@ checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" dependencies = [ "cfg-if", "cpufeatures 0.2.17", - "digest", + "digest 0.10.7", +] + +[[package]] +name = "sha2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.0", + "digest 0.11.3", ] [[package]] @@ -2487,6 +2636,12 @@ version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" +[[package]] +name = "static_assertions" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" + [[package]] name = "stop-token" version = "0.7.0" @@ -2633,7 +2788,7 @@ dependencies = [ "futures", "futures-util", "hex", - "hmac", + "hmac 0.12.1", "lettre", "mail-parser", "parking_lot", @@ -2647,8 +2802,8 @@ dependencies = [ "serde", "serde-big-array", "serde_json", - "sha1", - "sha2", + "sha1 0.10.6", + "sha2 0.10.9", "tempfile", "thiserror 2.0.18", "tokio", @@ -2659,7 +2814,7 @@ dependencies = [ "url", "urlencoding", "uuid", - "wacore", + "wacore 0.5.0", "webpki-roots 1.0.8", "whatsapp-rust", "whatsapp-rust-tokio-transport", @@ -2914,7 +3069,7 @@ dependencies = [ "rand 0.9.4", "rustls", "rustls-pki-types", - "sha1", + "sha1 0.10.6", "thiserror 2.0.18", ] @@ -3072,7 +3227,7 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5292fb723da7505e90cfd7a828dd397802b98e0f819a2bc058a6b3a9f2345306" dependencies = [ - "aes", + "aes 0.8.4", "aes-gcm", "anyhow", "async-channel 2.5.0", @@ -3081,13 +3236,13 @@ dependencies = [ "base64", "bytes", "chrono", - "ctr", + "ctr 0.9.2", "event-listener 5.4.1", "flate2", "futures", "hex", - "hkdf", - "hmac", + "hkdf 0.12.4", + "hmac 0.12.1", "log", "md5", "once_cell", @@ -3097,16 +3252,58 @@ dependencies = [ "serde", "serde-big-array", "serde_json", - "sha1", - "sha2", + "sha1 0.10.6", + "sha2 0.10.9", + "thiserror 2.0.18", + "typed-builder", + "wacore-appstate 0.5.0", + "wacore-binary 0.5.0", + "wacore-derive 0.5.0", + "wacore-libsignal 0.5.0", + "wacore-noise 0.5.0", + "waproto 0.5.0", +] + +[[package]] +name = "wacore" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7227b6c8bc63d4a0d119b7993147e7e2d99d522e1511306482f7fd506a83201" +dependencies = [ + "aes 0.9.1", + "anyhow", + "async-channel 2.5.0", + "async-lock", + "async-trait", + "base64", + "bytes", + "chrono", + "ctr 0.10.1", + "event-listener 5.4.1", + "flate2", + "futures", + "hex", + "hkdf 0.13.0", + "hmac 0.13.0", + "itoa", + "log", + "md5", + "portable-atomic", + "prost", + "rand 0.10.2", + "serde", + "serde-big-array", + "serde_json", + "sha1 0.11.0", + "sha2 0.11.0", "thiserror 2.0.18", "typed-builder", - "wacore-appstate", - "wacore-binary", - "wacore-derive", - "wacore-libsignal", - "wacore-noise", - "waproto", + "wacore-appstate 0.6.0", + "wacore-binary 0.6.0", + "wacore-derive 0.6.0", + "wacore-libsignal 0.6.0", + "wacore-noise 0.6.0", + "waproto 0.6.0", ] [[package]] @@ -3118,17 +3315,39 @@ dependencies = [ "anyhow", "bytemuck", "hex", - "hkdf", + "hkdf 0.12.4", + "log", + "prost", + "serde", + "serde-big-array", + "serde_json", + "sha2 0.10.9", + "thiserror 2.0.18", + "wacore-binary 0.5.0", + "wacore-libsignal 0.5.0", + "waproto 0.5.0", +] + +[[package]] +name = "wacore-appstate" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc1b8f857a5a9b7c653a7602fa3205a895282ada065b0c5891e0cd89d4f02289" +dependencies = [ + "anyhow", + "bytemuck", + "hex", + "hkdf 0.13.0", "log", "prost", "serde", "serde-big-array", "serde_json", - "sha2", + "sha2 0.11.0", "thiserror 2.0.18", - "wacore-binary", - "wacore-libsignal", - "waproto", + "wacore-binary 0.6.0", + "wacore-libsignal 0.6.0", + "waproto 0.6.0", ] [[package]] @@ -3144,6 +3363,23 @@ dependencies = [ "serde_json", ] +[[package]] +name = "wacore-binary" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c32fb1fef070c94c1311d14b86787bdf70572ba0fae1e21874a0c97ec1f43b09" +dependencies = [ + "bytes", + "compact_str", + "flate2", + "hashify", + "itoa", + "serde", + "serde_json", + "stable_deref_trait", + "yoke", +] + [[package]] name = "wacore-derive" version = "0.5.0" @@ -3155,36 +3391,80 @@ dependencies = [ "syn", ] +[[package]] +name = "wacore-derive" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "545b18eada5c7412083ccac83a7de3910521186dd513bab7d6d3b8dcb792ff1c" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "wacore-libsignal" version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c89676f7e09708d6b3a58e02bfea42000e3d7bffbc1bf67d0c8bf58ddbdf6373" dependencies = [ - "aes", + "aes 0.8.4", "aes-gcm", "arrayref", "async-trait", - "cbc", + "cbc 0.1.2", + "chrono", + "ctr 0.9.2", + "curve25519-dalek", + "derive_more", + "displaydoc", + "ghash 0.6.0", + "hex", + "hkdf 0.12.4", + "hmac 0.12.1", + "log", + "prost", + "rand 0.10.2", + "serde", + "sha1 0.10.6", + "sha2 0.10.9", + "subtle", + "thiserror 2.0.18", + "uuid", + "waproto 0.5.0", + "x25519-dalek", +] + +[[package]] +name = "wacore-libsignal" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "924d8bb6009b53ac9d17b21c5bbe3fa92323c31e407c631e86d22799a0bb17b4" +dependencies = [ + "aes 0.9.1", + "arrayref", + "async-trait", + "bytes", + "cbc 0.2.1", "chrono", - "ctr", + "ctr 0.10.1", "curve25519-dalek", "derive_more", "displaydoc", "ghash 0.6.0", "hex", - "hkdf", - "hmac", + "hkdf 0.13.0", + "hmac 0.13.0", "log", "prost", "rand 0.10.2", "serde", - "sha1", - "sha2", + "sha1 0.11.0", + "sha2 0.11.0", "subtle", "thiserror 2.0.18", "uuid", - "waproto", + "waproto 0.6.0", "x25519-dalek", ] @@ -3197,15 +3477,34 @@ dependencies = [ "aes-gcm", "anyhow", "bytes", - "hkdf", + "hkdf 0.12.4", "log", "prost", "rand 0.10.2", - "sha2", + "sha2 0.10.9", "thiserror 2.0.18", - "wacore-binary", - "wacore-libsignal", - "waproto", + "wacore-binary 0.5.0", + "wacore-libsignal 0.5.0", + "waproto 0.5.0", +] + +[[package]] +name = "wacore-noise" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ac024824c3c475d0d82cce07850db8ff863d794299e95e2fab6878afcc7511c" +dependencies = [ + "anyhow", + "bytes", + "hkdf 0.13.0", + "log", + "prost", + "rand 0.10.2", + "sha2 0.11.0", + "thiserror 2.0.18", + "wacore-binary 0.6.0", + "wacore-libsignal 0.6.0", + "waproto 0.6.0", ] [[package]] @@ -3228,6 +3527,16 @@ dependencies = [ "serde", ] +[[package]] +name = "waproto" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ad2a847ddec045108ef1d06db4c09d5ceecc4e75f4a0eb3f97f3baad9505f35" +dependencies = [ + "prost", + "serde", +] + [[package]] name = "wasi" version = "0.11.1+wasi-snapshot-preview1" @@ -3374,16 +3683,16 @@ dependencies = [ "serde_json", "thiserror 2.0.18", "tokio", - "wacore", - "wacore-binary", - "waproto", + "wacore 0.5.0", + "wacore-binary 0.5.0", + "waproto 0.5.0", ] [[package]] name = "whatsapp-rust-tokio-transport" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0aca6e068f01d56f7d360a04aeb16d34a3edb623e7d43e7cd857682a186c0130" +checksum = "3581e247b0d408a5143d0825c679fa3409c0ca245a116daf1864ca0317803fec" dependencies = [ "anyhow", "async-channel 2.5.0", @@ -3396,7 +3705,7 @@ dependencies = [ "tokio", "tokio-rustls", "tokio-websockets", - "wacore", + "wacore 0.6.0", "webpki-roots 1.0.8", ] @@ -3410,7 +3719,7 @@ dependencies = [ "async-trait", "tokio", "ureq", - "wacore", + "wacore 0.5.0", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 71870c2..ef552b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -69,7 +69,7 @@ axum = { version = "0.8", default-features = false, features = ["http1", "json", # WhatsApp Web provider (behind the `whatsapp-web` feature). serde-big-array = { version = "0.5", optional = true } whatsapp-rust = { version = "0.5", optional = true, default-features = false, features = ["tokio-runtime"] } -whatsapp-rust-tokio-transport = { version = "0.5", optional = true, default-features = false } +whatsapp-rust-tokio-transport = { version = "0.6", optional = true, default-features = false } whatsapp-rust-ureq-http-client = { version = "0.5", optional = true } wacore = { version = "0.5", optional = true, default-features = false }