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 default-features = false somewhere in the dependency tree.

mysql

Enables mysql of diesel

Affects actions::Connection, actions::new

postgres default

Enables postgres of diesel

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.

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