Commit Graph

5 Commits

Author SHA1 Message Date
Diego Barrios Romero
e94672fd96
Small improvements (#27)
* Return error instead of panicking if reader buffer is inadequate
* Simplify loop
* Remove unnecessary mut
* Simplify increment
* Improve variable name
* Simplify loop
* Simplify loops
* Improve documentation and simplify loop
2023-04-03 14:28:57 +02:00
Matous Hybl
482b7895e1
Make QOS and retain part of the publish API, add raw client, fix clippy warnings, update e-io version (#25) 2022-12-24 12:18:52 +01:00
Matous Hybl
d224254d51
Improve send_message, recv_message API, add support for encoding last will, fix decoding of QOS (#24)
* recv_message now returns topic as well as data
* send_message accepts byte slice instead of &str
* Add last will encoding
* Fix QOS decoding
2022-09-26 10:37:17 +02:00
Ulf Lilleengen
03546536b2
Use traits from embedded-io (#19)
* Use embedded-io and embedded-nal-async

Rather than rolling it's own trait implementations, make use of the
traits from embedded-io for connection read/write and embedded-nal-async
for connection close.

Remove NetworkConnectionFactory abstraction. If needed, the TcpClient
abstraction from e-n-a can be used.

* Remove unneeded tokio feature
2022-06-20 09:55:33 +02:00
Ondrej Babec
bf0bc29578
Remove drogue example 2022-04-28 14:27:09 +02:00