pmcp-package 0.4.0

AI-Package format for portable MCP agent/server/team/workflow packages: typed manifest schemas, config-slot aggregation, local OCI pack/unpack, and canonical-digest computation.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Canonical digest computation for AI-Package manifests.
//!
//! - [`canonical`] — the [`ManifestDigest`] construct-only newtype plus the
//!   [`canonicalize`]/[`manifest_digest`] pure functions (byte-stable
//!   canonicalization via `olpc-cjson`).
//! - [`mod@verify`] — the [`verify()`] tamper-detection primitive: recomputes a
//!   digest over actual bytes and compares against a declared digest.

pub mod canonical;
pub mod verify;

pub use canonical::{canonicalize, manifest_digest, ManifestDigest};
pub use verify::verify;