Skip to main content

hyprstream_appview/
lib.rs

1//! Derived AppView inventory for local and federated ATProto identities.
2//!
3//! This crate is an index, never identity authority. The default build uses the
4//! in-memory read model supplied by `hyprstream-pds-service`, avoiding native
5//! database dependencies in the demo/CI path. The optional `pglite` feature
6//! supplies a PostgreSQL-compatible PGlite adapter for metal deployments.
7//! Inventory queries apply the MAC dominance predicate before rows reach the
8//! HTTP response.
9
10mod http;
11mod inventory;
12
13pub use http::{inventory_router, InventoryViewer};
14#[cfg(feature = "pglite")]
15pub use inventory::PGliteIdentityInventory;
16pub use inventory::{
17    DirectoryInventorySource, HostedAccountInventorySource, InventoryIngestor,
18    LabeledInventoryEntry, StubDirectoryInventorySource, StubHostedAccountInventorySource,
19};