Skip to main content

Crate hyprstream_appview

Crate hyprstream_appview 

Source
Expand description

Derived AppView inventory for local and federated ATProto identities.

This crate is an index, never identity authority. The default build uses the in-memory read model supplied by hyprstream-pds-service, avoiding native database dependencies in the demo/CI path. The optional pglite feature supplies a PostgreSQL-compatible PGlite adapter for metal deployments. Inventory queries apply the MAC dominance predicate before rows reach the HTTP response.

Structs§

InventoryIngestor
Refresh orchestration for separately landing directory/hosted adapters.
InventoryViewer
Viewer clearance installed by trusted authentication/MAC middleware.
LabeledInventoryEntry
One projection emitted by an authority-owned source.
StubDirectoryInventorySource
Explicit empty directory adapter used until the directory lane lands.
StubHostedAccountInventorySource
Explicit empty hosted-account enumeration adapter.

Traits§

DirectoryInventorySource
Bulk/bootstrap source for directory-derived foreign projections.
HostedAccountInventorySource
Authority-owned source for local hosted-account projections.

Functions§

inventory_router
Build a mountable GET /inventory?filter=... AppView router.