From 5edb3052e6e7c26e8b936ca1633e32d18c4bd67c Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Wed, 8 Feb 2023 17:52:02 +0100 Subject: [PATCH] net: reexport driver crate. --- embassy-net/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/embassy-net/src/lib.rs b/embassy-net/src/lib.rs index 8d0119f6..0f694ee7 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")]