Skip to main content

Crate aex_conformance

Crate aex_conformance 

Source
Expand description

Conformance test suite for AEX v2 (ADR-0048).

Each test is an async function that returns Result<(), ConformanceFailure>. The library exposes them as a flat list so the binary can iterate, capture results, and print a summary; downstream code (CI integrations, dashboards) can also import the list and slice it by category.

§Scope at v2.0 GA

Offline checks of the local AEX stack: wire-v2 round-trip, JWS algorithm whitelist enforcement, SSRF resistance of safe_http, clock-skew handling, capability registry stability, DID URI parser strictness, cross-version isolation between v1 and v2. Network-aware checks against a remote control plane URL stage as v2.1.

Structs§

ConformanceResult
Outcome of running a single conformance test.
ConformanceTest
A single conformance test registration.

Enums§

Outcome
Pass / fail discriminant.

Functions§

all_tests
Build the full v2.0 GA conformance test list.
run_all
Run every test and collect results.

Type Aliases§

TestFuture
Future type produced by every conformance test runner.
TestRunner
Runner function pointer type. Kept as a type alias for clippy.