From 736869f559c3909dc15a87ae522591e558b5c14b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 11 Jul 2026 06:03:56 +0000 Subject: [PATCH] Bump wacore from 0.5.0 to 0.6.0 Bumps [wacore](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: wacore dependency-version: 0.6.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 372 ++++++++++++++++++++++++++++++++++++++++++++++------- Cargo.toml | 2 +- 2 files changed, 327 insertions(+), 47 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7321635..0fc7f1d 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", @@ -302,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" @@ -323,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]] @@ -388,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]] @@ -406,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" @@ -530,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]] @@ -1110,6 +1183,15 @@ dependencies = [ "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]] name = "hmac" version = "0.12.1" @@ -1395,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" @@ -1828,6 +1920,12 @@ dependencies = [ "universal-hash 0.6.1", ] +[[package]] +name = "portable-atomic" +version = "1.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49" + [[package]] name = "potential_utf" version = "0.1.5" @@ -2431,6 +2529,17 @@ dependencies = [ "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]] name = "sha2" version = "0.10.9" @@ -2442,6 +2551,17 @@ dependencies = [ "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]] name = "shlex" version = "2.0.1" @@ -2516,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" @@ -2676,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", @@ -2688,7 +2814,7 @@ dependencies = [ "url", "urlencoding", "uuid", - "wacore", + "wacore 0.6.0", "webpki-roots 1.0.8", "whatsapp-rust", "whatsapp-rust-tokio-transport", @@ -2943,7 +3069,7 @@ dependencies = [ "rand 0.9.4", "rustls", "rustls-pki-types", - "sha1", + "sha1 0.10.6", "thiserror 2.0.18", ] @@ -3101,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", @@ -3110,12 +3236,12 @@ dependencies = [ "base64", "bytes", "chrono", - "ctr", + "ctr 0.9.2", "event-listener 5.4.1", "flate2", "futures", "hex", - "hkdf", + "hkdf 0.12.4", "hmac 0.12.1", "log", "md5", @@ -3126,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]] @@ -3147,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]] @@ -3173,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" @@ -3184,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", + "ctr 0.9.2", "curve25519-dalek", "derive_more", "displaydoc", "ghash 0.6.0", "hex", - "hkdf", + "hkdf 0.12.4", "hmac 0.12.1", "log", "prost", "rand 0.10.2", "serde", - "sha1", - "sha2", + "sha1 0.10.6", + "sha2 0.10.9", "subtle", "thiserror 2.0.18", "uuid", - "waproto", + "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 0.10.1", + "curve25519-dalek", + "derive_more", + "displaydoc", + "ghash 0.6.0", + "hex", + "hkdf 0.13.0", + "hmac 0.13.0", + "log", + "prost", + "rand 0.10.2", + "serde", + "sha1 0.11.0", + "sha2 0.11.0", + "subtle", + "thiserror 2.0.18", + "uuid", + "waproto 0.6.0", "x25519-dalek", ] @@ -3226,15 +3477,34 @@ dependencies = [ "aes-gcm", "anyhow", "bytes", - "hkdf", + "hkdf 0.12.4", + "log", + "prost", + "rand 0.10.2", + "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-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", + "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]] @@ -3257,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" @@ -3403,9 +3683,9 @@ 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]] @@ -3425,7 +3705,7 @@ dependencies = [ "tokio", "tokio-rustls", "tokio-websockets", - "wacore", + "wacore 0.5.0", "webpki-roots 1.0.8", ] @@ -3439,7 +3719,7 @@ dependencies = [ "async-trait", "tokio", "ureq", - "wacore", + "wacore 0.5.0", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 097cea7..6ffd236 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -71,7 +71,7 @@ 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-ureq-http-client = { version = "0.5", optional = true } -wacore = { version = "0.5", optional = true, default-features = false } +wacore = { version = "0.6", optional = true, default-features = false } [dev-dependencies] tempfile = "3"