//! `plexus-core` — Reticulum wire-format primitives.
//!
//! Pure data types with **no I/O and no async**, suitable for `no_std + alloc`
//! targets (servers and embedded alike). This crate is the bottom of the
//! gateway layer described in `ARCHITECTURE.md` §3.1 and defines the protocol
//! constants that every other crate agrees on.
//!
//! No protocol *logic* lives here in v0 — only the shapes that logic will
//! operate over.
#![no_std]
#![forbid(unsafe_code)]

extern crate alloc;

pub mod error;
pub mod wire;

pub use error::Error;
pub use wire::{
    AddressHash, ContextByte, DestinationType, HeaderType, PacketHeader, PacketType, TransportType,
    HEADER_SIZE_H1, HEADER_SIZE_H2, MTU,
};
