aboutsummaryrefslogtreecommitdiff
path: root/embassy-net
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2023-02-08 17:52:02 +0100
committerDario Nieuwenhuis <[email protected]>2023-02-08 17:52:02 +0100
commit5edb3052e6e7c26e8b936ca1633e32d18c4bd67c (patch)
tree7ca9073cca722ce0aad38a39f896ad8fce604e90 /embassy-net
parent13666c9f12a506ab2b60a26717c86135b7099014 (diff)
net: reexport driver crate.
Diffstat (limited to 'embassy-net')
-rw-r--r--embassy-net/src/lib.rs4
1 files changed, 3 insertions, 1 deletions
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 @@
8// This mod MUST go first, so that the others see its macros. 8// This mod MUST go first, so that the others see its macros.
9pub(crate) mod fmt; 9pub(crate) mod fmt;
10 10
11pub mod device; 11pub use embassy_net_driver as driver;
12
13mod device;
12#[cfg(feature = "tcp")] 14#[cfg(feature = "tcp")]
13pub mod tcp; 15pub mod tcp;
14#[cfg(feature = "udp")] 16#[cfg(feature = "udp")]