QuickDID is a high-performance AT Protocol identity resolution service written in Rust. It provides handle-to-DID resolution with Redis-backed caching and queue processing.
at main 21 lines 994 B view raw
1// Public API modules - carefully controlled visibility 2pub mod config; // Config and Args needed by binary 3pub mod handle_resolver; // Only traits and factory functions exposed 4pub mod http; // Only create_router exposed 5pub mod jetstream_handler; // Jetstream event handler for AT Protocol events 6pub mod lexicon_resolver; // Lexicon resolution with caching support 7 8// Semi-public modules - needed by binary but with limited exposure 9pub mod cache; // Only create_redis_pool exposed 10pub mod handle_resolver_task; // Factory functions and TaskConfig exposed 11pub mod metrics; // Metrics publishing trait and implementations 12pub mod queue; // Queue adapter system with trait and factory functions 13pub mod sqlite_schema; // SQLite schema management functions exposed 14pub mod task_manager; // Only spawn_cancellable_task exposed 15 16// Internal modules - crate visibility only 17pub(crate) mod handle_resolution_result; // Internal serialization format 18 19// Test helpers 20#[cfg(test)] 21mod test_helpers;