Skip to main content

acdp_producer/
lib.rs

1//! # acdp-producer — publish-request builder for the Agent Context Distribution Protocol
2//!
3//! [`Producer`] and [`RequestBuilder`] construct, validate, hash, and sign
4//! a [`acdp_types::PublishRequest`] per RFC-ACDP-0001 §5. The builder
5//! enforces the v1-vs-v2+ rules, ms-truncates timestamps, runs structural
6//! validation, computes `content_hash`, then signs.
7
8pub mod builder;
9#[cfg(feature = "keyless")]
10pub mod keyless;
11
12pub use builder::{Producer, RequestBuilder};