Cargo Features

[dependencies]
yaml-adapter = { version = "1.0.0", default-features = false, features = ["runtime-async-std", "runtime-tokio"] }
default = runtime-async-std

The runtime-async-std feature is set by default whenever yaml-adapter is added without default-features = false somewhere in the dependency tree.

runtime-async-std default = async-std

Enables runtime-async-std of casbin

runtime-tokio

Enables runtime-tokio of casbin, fs and io-util of tokio

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