diff options
Diffstat (limited to 'embassy-net/src/stack.rs')
| -rw-r--r-- | embassy-net/src/stack.rs | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/embassy-net/src/stack.rs b/embassy-net/src/stack.rs index 610260a8e..f1f92e8ed 100644 --- a/embassy-net/src/stack.rs +++ b/embassy-net/src/stack.rs | |||
| @@ -8,18 +8,15 @@ use embassy::waitqueue::WakerRegistration; | |||
| 8 | use futures::pin_mut; | 8 | use futures::pin_mut; |
| 9 | use smoltcp::iface::InterfaceBuilder; | 9 | use smoltcp::iface::InterfaceBuilder; |
| 10 | use smoltcp::iface::SocketStorage; | 10 | use smoltcp::iface::SocketStorage; |
| 11 | use smoltcp::time::Instant as SmolInstant; | ||
| 12 | use smoltcp::wire::{IpCidr, Ipv4Address, Ipv4Cidr}; | ||
| 13 | |||
| 11 | #[cfg(feature = "medium-ethernet")] | 14 | #[cfg(feature = "medium-ethernet")] |
| 12 | use smoltcp::iface::{Neighbor, NeighborCache, Route, Routes}; | 15 | use smoltcp::iface::{Neighbor, NeighborCache, Route, Routes}; |
| 13 | #[cfg(feature = "medium-ethernet")] | 16 | #[cfg(feature = "medium-ethernet")] |
| 14 | use smoltcp::phy::Device as _; | 17 | use smoltcp::phy::{Device as _, Medium}; |
| 15 | #[cfg(feature = "medium-ethernet")] | ||
| 16 | use smoltcp::phy::Medium; | ||
| 17 | use smoltcp::time::Instant as SmolInstant; | ||
| 18 | #[cfg(feature = "medium-ethernet")] | ||
| 19 | use smoltcp::wire::EthernetAddress; | ||
| 20 | #[cfg(feature = "medium-ethernet")] | 18 | #[cfg(feature = "medium-ethernet")] |
| 21 | use smoltcp::wire::IpAddress; | 19 | use smoltcp::wire::{EthernetAddress, HardwareAddress, IpAddress}; |
| 22 | use smoltcp::wire::{HardwareAddress, IpCidr, Ipv4Address, Ipv4Cidr}; | ||
| 23 | 20 | ||
| 24 | use crate::config::Configurator; | 21 | use crate::config::Configurator; |
| 25 | use crate::config::Event; | 22 | use crate::config::Event; |
