Fix property issue
This commit is contained in:
parent
4845bb20aa
commit
37bf023dbf
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "rust-mqtt"
|
||||
version = "0.1.1"
|
||||
version = "0.1.2"
|
||||
authors = ["Ondrej Babec <ond.babec@gmail.com>"]
|
||||
edition = "2021"
|
||||
resolver = "2"
|
||||
|
|
|
@ -305,6 +305,7 @@ impl<'a> Property<'a> {
|
|||
Ok(0x24) => Ok(Property::MaximumQoS(buff_reader.read_u8()?)),
|
||||
Ok(0x25) => Ok(Property::RetainAvailable(buff_reader.read_u8()?)),
|
||||
Ok(0x26) => Ok(Property::UserProperty(buff_reader.read_string_pair()?)),
|
||||
Ok(0x27) => Ok(Property::MaximumPacketSize(buff_reader.read_u32()?)),
|
||||
Ok(0x28) => Ok(Property::WildcardSubscriptionAvailable(
|
||||
buff_reader.read_u8()?,
|
||||
)),
|
||||
|
|
Loading…
Reference in New Issue
Block a user