Skip to content

Version 0.3.13

Latest
Compare
Choose a tag to compare
@fpagliughi fpagliughi released this 21 Jan 22:52
· 1 commit to master since this release

Update for Paho C v1.3.14 with support for UNIX-domain sockets. It also includes:

  • Updated License to EPL-v2.0
  • Bumped MSRV to Rust v1.73.0
  • Bumped -sys to v0.10.0
    • Wrapping Paho C v1.3.14
      • Support for UNIX-domain sockets on local machine (*nix only)
    • build.rs builds optional UNIX sockets into Paho C on non-Windows systems (*nix)
  • Reworked the Error type
    • Remove Paho and PahoDescr errors. De-nested them into the top-level.
    • Parsing the error messages from PahoDescr for new error types.
    • Removed Paho error constants. Now errors can be matched easily/directly.
  • Token simplified to create an Option<Result<ServerResponse>> instead of individual components.
  • Created new enumeration types:
    • MqttVersion
    • ConnectReturnCode (for MQTT v3.x)
    • QoS
  • #181 Updated README.md with explanation on how to build for apple m1/x86_64
  • #216 Deref QoS pointers for SubscribeMany and UnsubscribeMany in server response
  • #224 Fix QoS 0 and 1 conversion
  • #236 Make from_c_parts only visible inside crate