Skip to content

A MQTT v5.0 packet parser and generator written in Rust.

License

Notifications You must be signed in to change notification settings

toddtreece/mqtt-packet-rs

Repository files navigation

mqtt-packet Build Status codecov Crates.io

A MQTT v5.0 packet parser and generator written in Rust. This crate is primarily a learning project, and is unstable due to active development.

Some of the goals of this project are:

  • Write a parser/generator using only the MQTT v5.0 specification as a reference.
  • Do not reference any existing MQTT libraries in any language during development.
  • Avoid using external dependencies if possible.
  • Keep up with test coverage and documentation during development.
  • Avoid using heap, i.e., String and Vec. This should make it easier to use in embedded clients.
    • Update: This one is on hold for the MVP. v2.0 will likely need to support the no_std environment to work on , so this is going to be a larger effort than removing String and Vec. I don't currently have time to refactor the existing code, and for the MVP done is better than perfect.
  • Probably some other stuff that I have forgotten...

License

Copyright (c) 2019 Todd Treece. Licensed under the MIT license.

About

A MQTT v5.0 packet parser and generator written in Rust.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages