From 8fbd69c79c7a64b9ee32bf82ffa86a1aaff35389 Mon Sep 17 00:00:00 2001 From: Nick Johnson Date: Thu, 21 Nov 2024 15:32:05 -0800 Subject: [PATCH] Release v0.6.0 of protocol --- Cargo.lock | 30 +++++++++++++++--------------- protocol/CHANGELOG.md | 6 ++++++ protocol/Cargo.toml | 2 +- 3 files changed, 22 insertions(+), 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1c44c4e..b1ccdd8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -71,7 +71,7 @@ checksum = "d965446196e3b7decd44aa7ee49e31d630118f90ef12f97900f262eb915c951d" [[package]] name = "bip324" -version = "0.5.0" +version = "0.6.0" dependencies = [ "bitcoin", "bitcoin_hashes 0.15.0", @@ -199,9 +199,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.1.37" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40545c26d092346d8a8dab71ee48e7685a7a9cba76e634790c215b41a4a7b4cf" +checksum = "fd9de9f2205d5ef3fd67e685b0df337994ddd4495e2a28d185500d0e1edfea47" dependencies = [ "shlex", ] @@ -423,9 +423,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.162" +version = "0.2.164" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18d287de67fe55fd7e1581fe933d965a5a9477b38e949cfa9f8574ef01506398" +checksum = "433bfe06b8c75da9b2e3fbea6e5329ff87748f0b144ef75306e674c3f6f7c13f" [[package]] name = "lock_api" @@ -540,9 +540,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.89" +version = "1.0.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f139b0662de085916d1fb67d2b4169d1addddda1919e696f3252b740b629986e" +checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0" dependencies = [ "unicode-ident", ] @@ -657,18 +657,18 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.214" +version = "1.0.215" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f55c3193aca71c12ad7890f1785d2b73e1b9f63a0bbc353c08ef26fe03fc56b5" +checksum = "6513c1ad0b11a9376da888e3e0baa0077f1aed55c17f50e7b2397136129fb88f" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.214" +version = "1.0.215" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de523f781f095e28fa605cdce0f8307e451cc0fd14e2eb4cd2e98a355b147766" +checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0" dependencies = [ "proc-macro2", "quote", @@ -726,9 +726,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.87" +version = "2.0.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d" +checksum = "44d46482f1c1c87acd84dea20c1bf5ebff4c757009ed6bf19cfd36fb10e92c4e" dependencies = [ "proc-macro2", "quote", @@ -819,9 +819,9 @@ dependencies = [ [[package]] name = "unicode-ident" -version = "1.0.13" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe" +checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83" [[package]] name = "unicode-segmentation" diff --git a/protocol/CHANGELOG.md b/protocol/CHANGELOG.md index 0a32e92..ca02c1a 100644 --- a/protocol/CHANGELOG.md +++ b/protocol/CHANGELOG.md @@ -1,3 +1,9 @@ +# v0.6.0 + +* Switch out the chacha20-poly1305 implementation with the SIMD-enabled rust-bitcoin version. +* Expose underlying packet handler types in `AsyncProtocol` so callers can leverage the automatic handshake while maintaining fine grained control of the packet handling. +* Pass along more specific I/O errors to caller. + # v0.5.0 * Replace the ownership-based interface of `AsyncProtocol` with mutable references which fit in the asynchronous ecosystem better. diff --git a/protocol/Cargo.toml b/protocol/Cargo.toml index 6b7f19d..c6cda10 100644 --- a/protocol/Cargo.toml +++ b/protocol/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bip324" -version = "0.5.0" +version = "0.6.0" edition = "2021" license-file = "LICENSE" description = "Encrypted messaging over the Bitcoin P2P Protocol as specified by BIP 324"