1#![doc = include_str!("../README.md")]
2#![cfg_attr(not(test), no_std)]
3#![forbid(unsafe_code)]
4#![cfg_attr(docsrs, feature(doc_cfg))]
5#![deny(missing_docs)]
6
7extern crate alloc;
8
9#[cfg(not(any(feature = "atomic", feature = "no-atomic")))]
14compile_error!("hick-smoltcp: enable one storage tier — `atomic` (default) or `no-atomic`");
15
16pub mod constants;
17pub mod engine;
18mod onlink;
19mod smoltcp_io;
20pub mod time;
21pub mod udpio;
22
23pub use engine::Engine;
24pub use smoltcp_io::DualStack;
25pub use time::SmoltcpInstant;
26pub use udpio::{RecvMeta, SendError, UdpIo};