| Crates.io | casbin-sqlx-watcher |
| lib.rs | casbin-sqlx-watcher |
| version | 0.1.1 |
| created_at | 2025-04-10 10:47:16.387683+00 |
| updated_at | 2025-04-11 06:57:59.660584+00 |
| description | Casbin watcher implementation using sqlx and postgres |
| homepage | |
| repository | https://github.com/ilpvfx/casbin-sqlx-watcher |
| max_upload_size | |
| id | 1628027 |
| size | 99,297 |
Supported databases: Postgres
Implements the Watcher trait for casbin-rs using sqlx and Postgres LISTEN
NOTIFY functionality.
The purpose of a watcher is to notify all instances of casbin that polices have changed, and that they need to reload from the database.