Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 588 Bytes

File metadata and controls

13 lines (8 loc) · 588 Bytes

Casbin Sqlx Watcher

docs.rs GitHub Actions Workflow Status

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.