Releases: 00imvj00/mqttrs
Releases · 00imvj00/mqttrs
0.4.1
0.4.0
0.3.0
API changes
- Added opt-in serde support to facilitate session and ack management (storing subscriptions and
pids to disk or database). The actual encode()/decode() APIs are unchanged. - Upgrated bytes dependency to 0.5. This brings growable buffers and a nicer API, amongst other
things. - Implemented
Default for Pid
,From<u16> for Pid
, andTryFrom<Pid> for u16
. Thetry_from()
method already existed but now comes from thestd::convert::TryFrom
trait. encode()
now takes anything that implements theBufMut
trait, not just aByteMut
struct. For
technical reasons,decode()
still takesBytesMut
.- Added option to opt-out of std library, allowing usage in
#[no_std]
projects, at the only cost
of giving up theError
trait from std as well asstd::io
integration.
Bugfixes
- Fix off-by one error when adding to a Pid wraps over.
Other changes
- The minimum rust version is now 1.39.
- Improved
Pid
docs.