From d5407059d8878a87175d261032476e466acadb0b Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Wed, 15 May 2024 13:55:20 +0500 Subject: [PATCH] Remove non_exhaustive marker --- CHANGES.md | 4 ++++ Cargo.toml | 2 +- src/v3/client/control.rs | 1 - src/v3/control.rs | 1 - src/v5/client/control.rs | 1 - src/v5/control.rs | 1 - 6 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 8ac0c2d..549feae 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,9 @@ # Changes +## [2.0.2] - 2024-05-15 + +* Remove non_exhaustive marker + ## [2.0.1] - 2024-05-14 * Better naming diff --git a/Cargo.toml b/Cargo.toml index e8efe30..cf6ff04 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ntex-mqtt" -version = "2.0.1" +version = "2.0.2" authors = ["ntex contributors "] description = "Client and Server framework for MQTT v5 and v3.1.1 protocols" documentation = "https://docs.rs/ntex-mqtt" diff --git a/src/v3/client/control.rs b/src/v3/client/control.rs index 237871c..fa72948 100644 --- a/src/v3/client/control.rs +++ b/src/v3/client/control.rs @@ -4,7 +4,6 @@ pub use crate::v3::control::{Closed, ControlAck, Disconnect, Error, PeerGone, Pr use crate::v3::{codec, control::ControlAckKind, error}; /// Client control messages -#[non_exhaustive] #[derive(Debug)] pub enum Control { /// Unhandled publish packet diff --git a/src/v3/control.rs b/src/v3/control.rs index 0bac06b..072269d 100644 --- a/src/v3/control.rs +++ b/src/v3/control.rs @@ -5,7 +5,6 @@ use super::codec; use crate::{error, types::QoS}; /// Server control messages -#[non_exhaustive] #[derive(Debug)] pub enum Control { /// Ping packet diff --git a/src/v5/client/control.rs b/src/v5/client/control.rs index 28fa93c..8abd4b3 100644 --- a/src/v5/client/control.rs +++ b/src/v5/client/control.rs @@ -7,7 +7,6 @@ use crate::{error, v5::codec}; pub use crate::v5::control::{Closed, ControlAck, Disconnect, Error, ProtocolError}; /// Client control messages -#[non_exhaustive] #[derive(Debug)] pub enum Control { /// Unhandled publish packet diff --git a/src/v5/control.rs b/src/v5/control.rs index 2bad11c..9f5b1d0 100644 --- a/src/v5/control.rs +++ b/src/v5/control.rs @@ -6,7 +6,6 @@ use super::codec::{self, DisconnectReasonCode, QoS, UserProperties}; use crate::error; /// Server control messages -#[non_exhaustive] #[derive(Debug)] pub enum Control { /// Auth packet from a client