diesel-adapter
An adapter designed to work with casbin-rs.
Install
Add it to Cargo.toml
casbin = { version = "0.4.3" }
diesel-adapter = { version = "0.5.0", features = ["postgres"] }
async-std = "1.5.0"
Example
use *;
use ;
async
Features
postgresmysql
Attention: postgres and mysql are mutual exclusive which means that you can only activate one of them. Currently we don't have support for sqlite, it may be added in the near future.