Skip to content

Commit

Permalink
Remove leftover imports
Browse files Browse the repository at this point in the history
And use the now release embassy-net.
  • Loading branch information
lu-zero committed Nov 28, 2024
1 parent e2d07a5 commit 4994b00
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion edge-nal-embassy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ embedded-io-async = { workspace = true }
edge-nal = { workspace = true }
heapless = { workspace = true }
# Do not require these features and conditionalize the code instead
embassy-net = { version = "0.4", features = [
embassy-net = { version = "0.5", features = [
"tcp",
"udp",
"dns",
Expand Down
1 change: 0 additions & 1 deletion edge-nal-embassy/src/dns.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ use edge_nal::AddrType;

use embassy_net::{
dns::{DnsQueryType, Error},
driver::Driver,
Stack,
};
use embedded_io_async::ErrorKind;
Expand Down
1 change: 0 additions & 1 deletion edge-nal-embassy/src/tcp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ use edge_nal::{Close, Readable, TcpBind, TcpConnect, TcpShutdown, TcpSplit};

use embassy_futures::join::join;

use embassy_net::driver::Driver;
use embassy_net::tcp::{AcceptError, ConnectError, Error, TcpReader, TcpWriter};
use embassy_net::Stack;

Expand Down
1 change: 0 additions & 1 deletion edge-nal-embassy/src/udp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ use core::ptr::NonNull;

use edge_nal::{MulticastV4, MulticastV6, Readable, UdpBind, UdpReceive, UdpSend, UdpSplit};

use embassy_net::driver::Driver;
use embassy_net::udp::{BindError, PacketMetadata, RecvError, SendError};
use embassy_net::{MulticastError, Stack};

Expand Down

0 comments on commit 4994b00

Please sign in to comment.