Cargo Features

[dependencies]
actix-casbin-auth = { version = "1.1.0", default-features = false, features = ["explain", "logging", "runtime-tokio", "runtime-async-std"] }
default = runtime-tokio

The runtime-tokio feature is set by default whenever actix-casbin-auth is added without default-features = false somewhere in the dependency tree.

explain

Enables explain of casbin

logging

Enables logging of casbin

runtime-tokio default

Enables runtime-tokio of casbin, sync of tokio

runtime-async-std

Enables std of async-std, runtime-async-std of casbin

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

tokio runtime-tokio
async-std runtime-async-std?