From c794686c5dcd0d83b1560b3b78c4a721d36f4bea Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Jun 2024 16:11:58 +0000 Subject: [PATCH] Bump nostr-sdk from 0.31.0 to 0.32.0 Bumps [nostr-sdk](https://github.com/rust-nostr/nostr) from 0.31.0 to 0.32.0. - [Release notes](https://github.com/rust-nostr/nostr/releases) - [Changelog](https://github.com/rust-nostr/nostr/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-nostr/nostr/compare/v0.31.0...v0.32.0) --- updated-dependencies: - dependency-name: nostr-sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 109 +++++++++++++++++++++++++++++++++++++++++------------ Cargo.toml | 2 +- 2 files changed, 86 insertions(+), 25 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1c2a0db..c0439bd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -206,17 +206,17 @@ dependencies = [ [[package]] name = "async-wsocket" -version = "0.4.0" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c38341e6ee670913fb9dc3aba40c22d616261da4dc0928326d3168ebf576fb0" +checksum = "3445f8f330db8e5f3be7912f170f32e43fec90d995c71ced1ec3b8394b4a873c" dependencies = [ "async-utility", "futures-util", "thiserror", "tokio", - "tokio-rustls 0.25.0", + "tokio-rustls 0.26.0", "tokio-socks", - "tokio-tungstenite", + "tokio-tungstenite 0.23.1", "url", "wasm-ws", "webpki-roots", @@ -235,9 +235,9 @@ dependencies = [ [[package]] name = "atomic-destructor" -version = "0.1.1" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4653a42bf04120a1d4e92452e006b4e3af4ab4afff8fb4af0f1bbb98418adf3e" +checksum = "7d919cb60ba95c87ba42777e9e246c4e8d658057299b437b7512531ce0a09a23" dependencies = [ "tracing", ] @@ -1673,9 +1673,9 @@ dependencies = [ [[package]] name = "nostr" -version = "0.31.2" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed4f065c7357937f9149fa6fb04c89c3041a8a01ca472b887baded59b65cfe2c" +checksum = "1534cec170e72b57b82323422ac243716d9817d13ed77f3b952eb5133ebef060" dependencies = [ "aes", "base64 0.21.7", @@ -1703,9 +1703,9 @@ dependencies = [ [[package]] name = "nostr-database" -version = "0.31.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a89506f743a5441695ab727794db41d8df1c1365ff96c25272985adf08f816b3" +checksum = "a88a72f92fbd5d2514db36e07a864646f1c1f44931c4a5ea195f6961029af4b3" dependencies = [ "async-trait", "lru", @@ -1717,9 +1717,9 @@ dependencies = [ [[package]] name = "nostr-relay-pool" -version = "0.31.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f751acc8bbb1329718d673470c7c3a18cddd33963dd91b97bccc92037113d254" +checksum = "d7b7bf72b02a24ccc7cf87033fa5ddfd57001c7d8c2e757321a7ca7a6df39876" dependencies = [ "async-utility", "async-wsocket", @@ -1733,11 +1733,12 @@ dependencies = [ [[package]] name = "nostr-sdk" -version = "0.31.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e65cd9f4f26f3f8e10253c518aff9e61a9204f600dfe4c3c241b0230471c67f" +checksum = "005915a59ee6401f23ba510c3a9ac4a07b457f80dfe1dc05cd2c8fdbde439246" dependencies = [ "async-utility", + "atomic-destructor", "lnurl-pay", "nostr", "nostr-database", @@ -1752,9 +1753,9 @@ dependencies = [ [[package]] name = "nostr-signer" -version = "0.31.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8be1878e91a0b4a95cfd8142349b6124b037b287375d76db9638ccc4b4cdf271" +checksum = "525574dc32fa07d64d04a6c72b534d97455b1ad954c29753c820c834c94e3704" dependencies = [ "async-utility", "nostr", @@ -1766,9 +1767,9 @@ dependencies = [ [[package]] name = "nostr-zapper" -version = "0.31.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5558bb031cff46e5b580847f26617d516ded4c0f8fd27fb568ec875bcd8fb99c" +checksum = "430c2527c0efd2e7f1a421b0c7df01a03b334a79c60c39cc7a1ca684f720f2bf" dependencies = [ "async-trait", "nostr", @@ -1831,9 +1832,9 @@ dependencies = [ [[package]] name = "nwc" -version = "0.31.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbd88cc13a04ae41037c182489893c2f421ba0c12a028564ec339882e7f96d61" +checksum = "c6fb91e4be3f6b872fc23c7714bbb500a58a1d59f458eb6eb9dd249fbec42fc2" dependencies = [ "async-utility", "nostr", @@ -2507,6 +2508,20 @@ dependencies = [ "zeroize", ] +[[package]] +name = "rustls" +version = "0.23.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05cff451f60db80f490f3c182b77c35260baace73209e9cdbbe526bfe3a4d402" +dependencies = [ + "once_cell", + "ring", + "rustls-pki-types", + "rustls-webpki 0.102.4", + "subtle", + "zeroize", +] + [[package]] name = "rustls-native-certs" version = "0.6.3" @@ -2935,7 +2950,7 @@ dependencies = [ "signal-hook-tokio", "tokio", "tokio-stream", - "tokio-tungstenite", + "tokio-tungstenite 0.21.0", "tower", "tracing", "url", @@ -3212,6 +3227,17 @@ dependencies = [ "tokio", ] +[[package]] +name = "tokio-rustls" +version = "0.26.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4" +dependencies = [ + "rustls 0.23.10", + "rustls-pki-types", + "tokio", +] + [[package]] name = "tokio-socks" version = "0.5.1" @@ -3248,7 +3274,22 @@ dependencies = [ "rustls-pki-types", "tokio", "tokio-rustls 0.25.0", - "tungstenite", + "tungstenite 0.21.0", +] + +[[package]] +name = "tokio-tungstenite" +version = "0.23.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6989540ced10490aaf14e6bad2e3d33728a2813310a0c71d1574304c49631cd" +dependencies = [ + "futures-util", + "log", + "rustls 0.23.10", + "rustls-pki-types", + "tokio", + "tokio-rustls 0.26.0", + "tungstenite 0.23.0", "webpki-roots", ] @@ -3449,6 +3490,26 @@ dependencies = [ "utf-8", ] +[[package]] +name = "tungstenite" +version = "0.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e2e2ce1e47ed2994fd43b04c8f618008d4cabdd5ee34027cf14f9d918edd9c8" +dependencies = [ + "byteorder", + "bytes", + "data-encoding", + "http 1.1.0", + "httparse", + "log", + "rand", + "rustls 0.23.10", + "rustls-pki-types", + "sha1", + "thiserror", + "utf-8", +] + [[package]] name = "typenum" version = "1.17.0" @@ -3645,9 +3706,9 @@ dependencies = [ [[package]] name = "wasm-ws" -version = "0.1.1" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5b3a482e27ff54809c0848629d9033179705c5ea2f58e26cf45dc77c34c4984" +checksum = "688c5806d1b06b4f3d90d015e23364dc5d3af412ee64abba6dde8fdc01637e33" dependencies = [ "async_io_stream", "futures", diff --git a/Cargo.toml b/Cargo.toml index b2227de..66250c0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,7 @@ libc = "0.2.155" log = "0.4.21" metrics = "0.23.0" metrics-exporter-prometheus = "0.15.0" -nostr-sdk = "0.31.0" +nostr-sdk = "0.32.0" ractor = "0.10.3" regex = "1.10.4" reqwest = "0.12.4"