Skip to content

Releases: 00imvj00/mqttrs

0.4.1

26 May 05:39
5bdb9e5
Compare
Choose a tag to compare
Merge pull request #42 from phil-opp/patch-1

Fix: move doc comment to right function

0.4.0

30 Nov 12:43
159c8e6
Compare
Choose a tag to compare
Merge pull request #29 from MathiasKoch/wip/alloc-feature

Make alloc optional, defaulting to slice based API

0.3.0

23 Mar 20:56
a84c934
Compare
Choose a tag to compare

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, and TryFrom<Pid> for u16. The try_from()
    method already existed but now comes from the std::convert::TryFrom trait.
  • encode() now takes anything that implements the BufMut trait, not just a ByteMut struct. For
    technical reasons, decode() still takes BytesMut.
  • Added option to opt-out of std library, allowing usage in #[no_std] projects, at the only cost
    of giving up the Error trait from std as well as std::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.

0.2.0

25 Oct 05:50
12be9d2
Compare
Choose a tag to compare

API changes.

0.1.4

16 Sep 05:48
Compare
Choose a tag to compare
issue #8 Resolved.