Merge pull request #1207 from embassy-rs/net-driver-reexport

net: reexport driver crate.
This commit is contained in:
Dario Nieuwenhuis 2023-02-08 18:25:51 +01:00 committed by GitHub
commit 26474ce6eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,9 @@
// This mod MUST go first, so that the others see its macros. // This mod MUST go first, so that the others see its macros.
pub(crate) mod fmt; pub(crate) mod fmt;
pub mod device; pub use embassy_net_driver as driver;
mod device;
#[cfg(feature = "tcp")] #[cfg(feature = "tcp")]
pub mod tcp; pub mod tcp;
#[cfg(feature = "udp")] #[cfg(feature = "udp")]