net: move stack into lib.rs

This commit is contained in:
Dario Nieuwenhuis
2022-12-07 16:02:28 +01:00
parent ac74613b5a
commit aaaf5f23a8
4 changed files with 304 additions and 315 deletions

View File

@@ -8,9 +8,8 @@ use smoltcp::socket::tcp;
use smoltcp::time::Duration;
use smoltcp::wire::{IpEndpoint, IpListenEndpoint};
use super::stack::Stack;
use crate::device::Device;
use crate::stack::SocketStack;
use crate::{SocketStack, Stack};
#[derive(PartialEq, Eq, Clone, Copy, Debug)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]