Update embedded-nal to 0.9. (#66)

This commit is contained in:
Markus Reiter 2025-03-21 15:41:28 +01:00 committed by GitHub
commit ae29db2fd7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 23 additions and 14 deletions

View file

@ -1,3 +1,10 @@
use core::{
convert::TryFrom,
net::{IpAddr, Ipv4Addr, SocketAddr, SocketAddrV4},
};
use embedded_nal::{nb, TcpClientStack, TcpError, TcpErrorKind};
use crate::{
bus::Bus,
device::{Device, State},
@ -5,12 +12,6 @@ use crate::{
socket::Socket,
};
use embedded_nal::{
nb, IpAddr, Ipv4Addr, SocketAddr, SocketAddrV4, TcpClientStack, TcpError, TcpErrorKind,
};
use core::convert::TryFrom;
#[derive(Debug)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub enum TcpSocketError<E: core::fmt::Debug> {