Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
GunnarMorrigan committed Dec 28, 2023
1 parent 032bd92 commit 0dce384
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ For a sync approach the stream has to implement the [`std::io::Read`] and [`std:
</div>

## Features
- MQTT v5
- Runtime agnostic (Smol, Tokio)
- Sync
- TLS/TCP
- Lean
- Keep alive depends on actual communication
- MQTT v5
- Runtime agnostic (Smol, Tokio)
- Sync
- TLS/TCP
- Lean
- Keep alive depends on actual communication

### To do
- no_std (Requires a lot of work to use no heap allocations and depend on stack)
- Even More testing
- More documentation
- no_std (Requires a lot of work to use no heap allocations and depend on stack)
- Even More testing
- More documentation

## MSRV
From 0.3 the tokio and smol variants will require MSRV: 1.75 due to async fn in trait feature.
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ mod lib_test {

let (n, _) = futures::join!(
async {
match network.poll(&mut pingresp).await {
match network.run(&mut pingresp).await {
Ok(crate::NetworkStatus::OutgoingDisconnect) => return Ok(pingresp),
Ok(crate::NetworkStatus::KeepAliveTimeout) => panic!(),
Ok(crate::NetworkStatus::IncomingDisconnect) => panic!(),
Expand Down

0 comments on commit 0dce384

Please sign in to comment.