WIP embassy-net v2
This commit is contained in:
@@ -5,20 +5,13 @@
|
||||
// This mod MUST go first, so that the others see its macros.
|
||||
pub(crate) mod fmt;
|
||||
|
||||
mod config;
|
||||
mod device;
|
||||
mod packet_pool;
|
||||
mod stack;
|
||||
|
||||
#[cfg(feature = "dhcpv4")]
|
||||
pub use config::DhcpConfigurator;
|
||||
pub use config::{Config, Configurator, Event as ConfigEvent, StaticConfigurator};
|
||||
|
||||
pub use device::{Device, LinkState};
|
||||
pub use packet_pool::{Packet, PacketBox, PacketBoxExt, PacketBuf, MTU};
|
||||
pub use stack::{
|
||||
config, ethernet_address, init, is_config_up, is_init, is_link_up, run, StackResources,
|
||||
};
|
||||
pub use stack::{Config, ConfigStrategy, Stack, StackResources};
|
||||
|
||||
#[cfg(feature = "tcp")]
|
||||
pub mod tcp;
|
||||
@@ -30,4 +23,3 @@ pub use smoltcp::time::Instant as SmolInstant;
|
||||
#[cfg(feature = "medium-ethernet")]
|
||||
pub use smoltcp::wire::{EthernetAddress, HardwareAddress};
|
||||
pub use smoltcp::wire::{IpAddress, IpCidr, Ipv4Address, Ipv4Cidr};
|
||||
pub type Interface = smoltcp::iface::Interface<'static, device::DeviceAdapter>;
|
||||
|
Reference in New Issue
Block a user