#networking #embedded-nal #devices #standard #systems #traits #tcp-udp

mm-std-embedded-nal

Implementation of the embedded-nal traits for large devices that support the standard library

1 unstable release

0.3.0 Feb 8, 2024

#1420 in Embedded development


Used in embedded-redis

MIT/Apache

21KB
412 lines

Fork of std-embedded-nal

NOTE: This fork was exclusively created for implementing embedded-nal@0.8.0

This fork will be deleted, as soon the upstream crate supports the new trait version.


lib.rs:

This crate implements the embedded-nal network traits for operating systems that support the standard library's network.

UDP and TCP sockets are plainly wrapped and should behave unsuspiciously.

The DNS implementation is slightly incomplete, as the Rust standard library contains no provisions to turn IP addresses back into hosts; that call thus fails unconditionally.

All implementations use std::io::Error as their error type.

Dependencies

~0.2–9MB
~96K SLoC