refactor(proto): centralize packet envelope handling

This commit is contained in:
Nils Andreas Svee committed 2026-08-04 00:27:45 +07:00
1 parent 6ba76abca0
commit e908c4ce4f
5 files changed
+273 -120

No files matched your search

+3
View File
@@ -15,11 +15,14 @@
//! The crate also provides packet layout calculation, open/echo/close packet
//! encoding and decoding, and optional HMAC placement, computation, and
//! verification helpers.
//! Encoder `hmac_key` arguments are authoritative: `Some(key)` adds
//! `FLAG_HMAC`, while `None` removes it from caller-supplied reply flags.
//!
#![forbid(unsafe_code)]
pub mod close;
pub mod echo;
mod envelope;
pub mod error;
pub mod flags;
pub mod hmac;