agent-action-capsule 0.1.0

Agent Action Capsule reference verification: RFC 8785 canonicalization and capsule_id, the Class 1 record checks, Producer Envelopes, and Evidence Bundles.
Documentation
//! Reference verification for the Agent Action Capsule
//! (`draft-mih-scitt-agent-action-capsule`): the Rust sibling of the Python
//! reference and the Go and TypeScript implementations in
//! [action-state-group/agent-action-capsule], checked against the same
//! conformance vectors.
//!
//! | Module | Draft | Go package |
//! |---|---|---|
//! | [`canonical`] | JCS, JSON-DIGEST and `capsule_id` (§2, §5.1) | `go/canonical` |
//! | [`registries`] | profile registries (§12) | `go/registries` |
//! | [`verify`] | Class 1 verification, checks 1-9 and the store checks (§6) | `go/verify` |
//! | [`envelope`] | Producer Envelope | `go/envelope` |
//! | `bundle` (feature `bundle`) | Evidence Bundle v2 | `go/bundle` |
//!
//! Decode capsules with [`verify::decode_capsule_json`], not `serde_json`'s
//! own decoder: it keeps each number's source text (`arbitrary_precision`)
//! without `serde_json`'s private number token turning an object into a
//! number.
//!
//! [action-state-group/agent-action-capsule]: https://github.com/action-state-group/agent-action-capsule

pub mod canonical;
pub mod envelope;
mod json;
mod references;
pub mod registries;
pub mod verify;

#[cfg(feature = "bundle")]
pub mod bundle;
#[cfg(feature = "bundle")]
mod disclosure;