docs.rs failed to build stateset-a2a-1.22.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
stateset-a2a
Agent-to-Agent (A2A) commerce service layer for the StateSet iCommerce platform.
This crate provides the business logic for multi-party split payments, recurring subscriptions, conditional escrow, HMAC-signed webhooks, SSRF protection, SSE event stream filtering, dispute resolution, reputation scoring, circuit breakers, SLA compliance, marketplace RFQs, and agent card management.
Modules
- [
splits] — Multi-party payment splitting with rounding drift prevention. - [
subscriptions] — Recurring billing with trial periods and state machine. - [
escrow] — Conditional fund holding with four condition types. - [
credit] — Agent credit terms (Net15/30/60/90) with balance tracking and overdue detection. - [
notifications] — HMAC-SHA256 webhook signing and SSRF URL validation. - [
events] — Event type filtering with wildcard/prefix matching. - [
disputes] — Dispute resolution with evidence hashing and deadline management. - [
reputation] — Trust scoring with dimension-based evaluation and tier promotion. - [
circuit_breaker] — Transaction safety with spending limits and failure rate tracking. - [
sla] — Service level agreements with compliance checking and penalty calculation. - [
marketplace] — Multi-party RFQ with scoring and response ranking. - [
agent_cards] — Agent card validation and discovery filtering.
Example: Percentage Split
use dec;
use ;
let recipients = vec!;
let result = calculate_percentage_split.unwrap;
assert_eq!;
Example: HMAC Webhook
use ;
let signature = sign_webhook;
assert!;