Cargo Features
[dependencies]
actix-casbin = { version = "1.1.0", default-features = false, features = ["runtime-tokio", "runtime-async-std"] }
- default = runtime-async-std
-
The
runtime-async-std
feature is set by default wheneveractix-casbin
is added without
somewhere in the dependency tree.default-features = false - runtime-tokio
-
Enables sync of tokio, runtime-tokio of actix-casbin-auth and casbin
- runtime-async-std default
-
Enables runtime-async-std of actix-casbin-auth, 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.