| Crates.io | commucat-storage |
| lib.rs | commucat-storage |
| version | 1.0.103 |
| created_at | 2025-09-24 04:12:18.821125+00 |
| updated_at | 2025-10-22 00:40:51.350363+00 |
| description | PostgreSQL and Redis data access layer for CommuCat |
| homepage | https://commucat.tech |
| repository | https://github.com/ducheved/commucat |
| max_upload_size | |
| id | 1852485 |
| size | 137,858 |
Asynchronous PostgreSQL + Redis data access layer for CommuCat.
migrations/*.sql) provision users, devices, pairing tokens, relay queue, secret rotation, federation peers, outbox and audit logs.connect, migrate, readiness wire up the database backends and run lightweight health probes.relay_queue/InboxOffset, presence and routing state in Redis (presence:*, route:*).federation_outbox, idempotency tracking and access to device rotation history.Limitations: there is no connection pooling yet and the Redis connection is wrapped in a Mutex, so production setups should introduce pooling/backpressure before heavy use.