//! Stable batpak encoding helpers.
//!
//! These helpers expose the crate's current MessagePack-bytes discipline so
//! consumers can produce the same encoded extension bytes batpak stores and
//! signs. The stability contract is crate-version scoped rather than a
//! cross-version canonical-bytes guarantee.
use DeserializeOwned;
use Serialize;
/// Encode `value` using batpak's stable named-field MessagePack surface.
///
/// # Errors
/// Returns any MessagePack encoding error reported by `rmp-serde`.
Sized>
/// Decode `value` from batpak's stable named-field MessagePack surface.
///
/// # Errors
/// Returns any MessagePack decoding error reported by `rmp-serde`.