diff --git a/src/lib.rs b/src/lib.rs index 160f9bc..7c956b1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -59,7 +59,7 @@ impl Default for Mode { pub mod bus; mod device; mod host; -mod net; +pub mod net; pub mod register; mod socket; mod udp; diff --git a/src/net.rs b/src/net.rs index e74a158..c3cc80f 100644 --- a/src/net.rs +++ b/src/net.rs @@ -10,6 +10,8 @@ //! [RFC 2832]: https://github.com/rust-lang/rfcs/pull/2832 #![deny(unsafe_code, missing_docs, warnings)] +// TODO remove some of these constructs and use equivalents available from embedded-nal + /// Ipv4Addr address struct. Can be instantiated with `Ipv4Addr::new`. #[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Debug, Hash, Default)] pub struct Ipv4Addr {