rust-embedded-community / embedded-nal

An Embedded Network Abstraction Layer
Apache License 2.0
177 stars 25 forks source link

Moved network stack traits into a module #45

Closed jonahbron closed 3 years ago

jonahbron commented 3 years ago

Moved network stack traits into a module, leaving behind only the public interface definition in lib.rs

This is in preparation to add a src/stack/share.rs module for the new sharing layer. The public interface is entirely unchanged. Lmk if anybody dislikes this change, I just think it's a little tidier to use lib.rs to define the public interface.

You can verify that I didn't mess up anything in the move by going to the Commits tab and selecting the first commit.

43

jonahbron commented 3 years ago

I have the sharing layer code in a branch based off of this one ready to go. Once this is approved and merged, I'll open another PR for it.