2026-04-24 12:32:24 -06:00
|
|
|
//! Canonical UnShell protocol modules.
|
2026-04-20 23:38:02 -06:00
|
|
|
//!
|
2026-04-24 12:32:24 -06:00
|
|
|
//! The wire model matches `PROTOCOL.md` directly.
|
2026-04-20 23:38:02 -06:00
|
|
|
|
2026-04-24 12:32:24 -06:00
|
|
|
pub mod codec;
|
|
|
|
|
pub mod introspection;
|
2026-04-20 23:38:02 -06:00
|
|
|
mod types;
|
2026-04-24 12:32:24 -06:00
|
|
|
pub mod validation;
|
2026-04-20 23:38:02 -06:00
|
|
|
|
2026-04-24 12:32:24 -06:00
|
|
|
pub use codec::{
|
|
|
|
|
FrameBytes, FrameError, ParsedFrame, decode_frame, deserialize_archived_bytes, encode_packet,
|
|
|
|
|
};
|
|
|
|
|
pub use introspection::{EndpointIntrospection, LeafIntrospection, LeafIntrospectionSummary};
|
|
|
|
|
pub use types::{
|
|
|
|
|
CallMessage, DataMessage, FaultMessage, HookTarget, PacketHeader, PacketType, ProtocolFault,
|
|
|
|
|
};
|
|
|
|
|
pub use validation::{ValidationError, validate_call, validate_header, validate_procedure_id};
|