Cargo Features

[dependencies]
diesel_cli = { version = "2.1.1", default-features = false, features = ["postgres", "sqlite", "mysql", "sqlite-bundled", "uses_information_schema"] }
default = mysql, postgres, sqlite

These default features are set whenever diesel_cli is added without default-features = false somewhere in the dependency tree.

postgres default = uses_information_schema

Enables postgres of diesel

sqlite default sqlite-bundled?

Enables sqlite of diesel

mysql default = uses_information_schema

Enables mysql of diesel

sqlite-bundled = sqlite

Enables bundled of libsqlite3-sys >=0.17.2, <0.27.0

uses_information_schema mysql postgres

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.

libsqlite3-sys sqlite-bundled?

Enables libsqlite3-sys >=0.17.2, <0.27.0