#networking #devices #standard #systems #traits #embedded-nal #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

#1629 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–11MB
~103K SLoC