Add packet.

This commit is contained in:
Michael Mikovsky
2026-05-16 14:14:00 -06:00
parent 56abb5e1e0
commit 129720145a
8 changed files with 470 additions and 773 deletions
+2 -16
View File
@@ -1,20 +1,6 @@
//! # UnShell Protocol
//!
//! The protocol crate owns the wire types, framing, validation helpers, and the
//! small tree runtime used by endpoint implementations.
#![no_std]
pub extern crate alloc;
#[allow(unused_extern_crates)]
extern crate self as unshell;
/// Keep the historical nested path so existing imports and proc-macro output can
/// continue to target `unshell::protocol::...` while the implementation lives in
/// its own crate.
pub mod protocol;
pub use protocol::*;
#[cfg(test)]
pub use unshell_macros::{Procedure, leaf, procedures};
pub mod packet;
pub mod utils;