Documentation

Guides for embedding AS2 and AS4 messaging with asx-rs.

Guides for embedding asx-rs in a service you operate. They assume you know AS2 or AS4 and cover how this crate implements it: what is fixed, where the trust boundaries are, and what you decide.

  1. Getting started: install, send, receive, handle errors.
  2. Profiles: what each network preset fixes and what build() refuses.
  3. AS4 and AS2: protocol details you act on.
  4. Keys and certificates: KeyPair, HSM/KMS keys, rollover.
  5. Persistence: duplicate detection and the audit sink.
  6. Observability: spans, metrics, audit records.
  7. Security model: what is checked, in which order.
  8. Testing and Conformance.
  9. Migrating from 0.15.

Every Rust sample here is compiled in CI. For type-level detail see the API documentation.