axum 0.8 integration for actpub-federation.
Drop-in router builders that wire the federation runtime into an existing axum service:
- [
inbox_router] — POST endpoint dispatching to a configuredInboxPipeline. - [
webfinger_router] —/.well-known/webfingerendpoint resolvingacct:URIs via a user-supplied callback. - [
nodeinfo_router] —/.well-known/nodeinfodiscovery + per-version schema endpoints. - [
FederationJson<T>] responder — serialisesTwith theapplication/activity+jsonmedia type required by every Fediverse peer.
Each router is a standalone Router that mounts at
its conventional path; compose them via
Router::merge to build a complete service.