Skip to main content

oxstack_net/
lib.rs

1//! Network protocol pieces that don't depend on any socket implementation.
2//!
3//! Each module turns bytes into domain values (and back); the caller moves
4//! the bytes with whatever stack it has (`embassy-net` on oxstack boards).
5//! That keeps the parsing fully testable on the host.
6#![no_std]
7#![deny(unsafe_code)]
8#![warn(missing_docs)]
9
10#[cfg(doctest)]
11#[doc = include_str!("../README.md")]
12struct ReadmeDoctests;
13
14pub mod sntp;
15pub mod time;