casbin-sqlx-watcher 0.1.1

Casbin watcher implementation using sqlx and postgres
Documentation
1
2
3
4
5
6
7
8
9
use std::env;

fn main() {
    println!("cargo:rerun-if-env-changed=DOCS_RS");
    // If the `DOCS_RS` environment variable is set, we are building for docs.rs
    if env::var("DOCS_RS").is_ok() {
        println!("cargo:rustc-env=SQLX_OFFLINE=1")
    }
}