From f173ae6438347895eb989272f6c77ac27fa4c8c7 Mon Sep 17 00:00:00 2001 From: Wojciech Graj Date: Thu, 13 Jun 2024 20:13:04 +0200 Subject: [PATCH] Make Other error Send + Sync. --- CHANGELOG.md | 2 ++ bin-proto/Cargo.toml | 2 +- bin-proto/src/error.rs | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aa7f3ea..e267caa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +# v0.4.1 +- Impose `Send + Sync` bounds on `Error::Other` # v0.4.0 - Delete `EnumExt` - Bump dependencies, and rust version to 2021 diff --git a/bin-proto/Cargo.toml b/bin-proto/Cargo.toml index fe1da5d..4c61297 100644 --- a/bin-proto/Cargo.toml +++ b/bin-proto/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bin-proto" -version = "0.4.0" +version = "0.4.1" authors = [ "Wojciech Graj ", "Dylan McKay " diff --git a/bin-proto/src/error.rs b/bin-proto/src/error.rs index c82d7f1..1a2eec5 100644 --- a/bin-proto/src/error.rs +++ b/bin-proto/src/error.rs @@ -13,5 +13,5 @@ pub enum Error { #[error("received unknown enum discriminant '{0}'")] UnknownEnumDiscriminant(String), #[error("{0}")] - Other(Box), + Other(Box), }