Skip to content

Commit 0463ef0

Browse files
author
Ulf Lilleengen
committed
Remove UDP traits
The traits restrict the implementations too much on embedded devices. Removing them now to avoid people committing to them, and instead reintroduce them in a form that is more easily supported by drivers.
1 parent 8f83592 commit 0463ef0

File tree

4 files changed

+2
-174
lines changed

4 files changed

+2
-174
lines changed

embedded-nal-async/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1010
## [0.2.0] - 2022-08-03
1111

1212
TcpClient trait for creating shared async TCP/IP stack implementations.
13-
Remove TcpClientStack and TcpFullStack traits.
13+
Remove TcpClientStack, TcpFullStack and UDP traits pending traits that support shared use.
1414

1515
## [0.1.0] - 2022-05-04
1616

embedded-nal-async/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ pub use no_std_net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr, SocketAddrV4, Socke
1414

1515
pub use dns::Dns;
1616
pub use embedded_nal::AddrType;
17-
pub use stack::{TcpConnect, UdpClientStack, UdpFullStack};
17+
pub use stack::TcpConnect;

embedded-nal-async/src/stack/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
mod tcp;
2-
mod udp;
32

43
pub use tcp::TcpConnect;
5-
pub use udp::{UdpClientStack, UdpFullStack};

embedded-nal-async/src/stack/udp.rs

Lines changed: 0 additions & 170 deletions
This file was deleted.

0 commit comments

Comments
 (0)