casbin-sqlx-watcher 0.1.1

Casbin watcher implementation using sqlx and postgres
Documentation

Casbin Sqlx Watcher

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.