Skip to content

Commit

Permalink
embedded-io-async
Browse files Browse the repository at this point in the history
  • Loading branch information
sambenko committed Nov 6, 2023
1 parent e94672f commit 869782c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ heapless = "0.7.10"
rand_core = "0.6.0"
defmt = { version = "0.3", optional = true }
log = { version = "0.4.14", optional = true }
embedded-io = { version = "0.4.0", features = ["async"]}
embedded-io = { version = "0.6.1", features = ["async"]}
embedded-io-async = { version = "0.6.0" }

[dev-dependencies]
tokio = { version = "1", features = ["full"] }
embedded-io = { version = "0.4.0", features = ["tokio"]}
embedded-io = { version = "0.6.1", features = ["tokio"]}
embedded-io-async = { version = "0.6.0" }
tokio-test = { version = "0.4.2"}
env_logger = "0.9.0"
futures = { version = "0.3.21" }
Expand Down
2 changes: 1 addition & 1 deletion src/client/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* SOFTWARE.
*/

use embedded_io::asynch::{Read, Write};
use embedded_io_async::{Read, Write};
use heapless::Vec;
use rand_core::RngCore;

Expand Down
2 changes: 1 addition & 1 deletion src/client/raw_client.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use embedded_io::asynch::{Read, Write};
use embedded_io_async::{Read, Write};
use heapless::Vec;
use rand_core::RngCore;

Expand Down
2 changes: 1 addition & 1 deletion src/network/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

use crate::packet::v5::reason_codes::ReasonCode;
use embedded_io::asynch::{Read, Write};
use embedded_io_async::{Read, Write};

pub struct NetworkConnection<T>
where
Expand Down

0 comments on commit 869782c

Please sign in to comment.