casbin-sqlx-watcher

Crates.iocasbin-sqlx-watcher
lib.rscasbin-sqlx-watcher
version0.1.1
created_at2025-04-10 10:47:16.387683+00
updated_at2025-04-11 06:57:59.660584+00
descriptionCasbin watcher implementation using sqlx and postgres
homepage
repositoryhttps://github.com/ilpvfx/casbin-sqlx-watcher
max_upload_size
id1628027
size99,297
Fredrik Brännbacka (smaragden)

documentation

README

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.

Commit count: 9

cargo fmt