Skip to main content

micronet_antenna/
lib.rs

1//! `micronet-antenna` is the **std-enabled wrapper** around `micronet-antenna-core`.
2//!
3//! - `micronet-antenna-core` contains the deterministic runtime/state and message types
4//!   (designed to be usable in `no_std` + `alloc` environments).
5//! - `micronet-antenna` adds std-only ergonomics such as network transport.
6
7#![cfg_attr(docsrs, feature(doc_cfg))]
8
9#[cfg(not(feature = "std"))]
10compile_error!("micronet-antenna requires the `std` feature. For kernel/no_std usage, depend on `micronet-antenna-core`.");
11
12pub use micronet_antenna_core::*;
13
14mod error;
15
16pub use error::{Error, Result};
17
18pub mod transport;
19
20pub use transport::Transport;