diff --git a/embassy-net/src/lib.rs b/embassy-net/src/lib.rs index 8d0119f67..0f694ee70 100644 --- a/embassy-net/src/lib.rs +++ b/embassy-net/src/lib.rs @@ -8,7 +8,9 @@ // This mod MUST go first, so that the others see its macros. pub(crate) mod fmt; -pub mod device; +pub use embassy_net_driver as driver; + +mod device; #[cfg(feature = "tcp")] pub mod tcp; #[cfg(feature = "udp")]