Cargo Features
[dependencies]
diesel-adapter = { version = "1.0.0", default-features = false, features = ["mysql", "postgres", "sqlite", "runtime-async-std", "runtime-tokio"] }
- default = postgres, runtime-tokio
-
These default features are set whenever
diesel-adapter
is added without
somewhere in the dependency tree.default-features = false - mysql
-
Affects
actions::Connection
,actions::new
… - postgres default
-
Affects
actions::Connection
,actions::new
… - sqlite
-
Enables libsqlite3-sys ^0.26.0, sqlite of diesel
Affects
actions::Connection
,actions::new
… - runtime-async-std
-
Enables unstable of async-std, runtime-async-std of casbin
- runtime-tokio default
-
Enables runtime-tokio of casbin and rt of tokio
tokio:
Includes basic task execution capabilities
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.