aboutsummaryrefslogtreecommitdiff
path: root/embassy-net/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-net/src/lib.rs')
-rw-r--r--embassy-net/src/lib.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/embassy-net/src/lib.rs b/embassy-net/src/lib.rs
index edb969842..e18e819cb 100644
--- a/embassy-net/src/lib.rs
+++ b/embassy-net/src/lib.rs
@@ -8,12 +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
11mod device; 11pub mod device;
12mod packet_pool;
13mod stack; 12mod stack;
14 13
15pub use device::{Device, LinkState};
16pub use packet_pool::{Packet, PacketBox, PacketBoxExt, PacketBuf, MTU};
17pub use stack::{Config, ConfigStrategy, Stack, StackResources}; 14pub use stack::{Config, ConfigStrategy, Stack, StackResources};
18 15
19#[cfg(feature = "tcp")] 16#[cfg(feature = "tcp")]
@@ -23,7 +20,6 @@ pub mod tcp;
23pub mod udp; 20pub mod udp;
24 21
25// smoltcp reexports 22// smoltcp reexports
26pub use smoltcp::phy::{DeviceCapabilities, Medium};
27pub use smoltcp::time::{Duration as SmolDuration, Instant as SmolInstant}; 23pub use smoltcp::time::{Duration as SmolDuration, Instant as SmolInstant};
28#[cfg(feature = "medium-ethernet")] 24#[cfg(feature = "medium-ethernet")]
29pub use smoltcp::wire::{EthernetAddress, HardwareAddress}; 25pub use smoltcp::wire::{EthernetAddress, HardwareAddress};