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)
- Wrapping Paho C v1.3.14
- Reworked the Error type
- Remove
Paho
andPahoDescr
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.
- Remove
Token
simplified to create anOption<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