Cargo Features

[dependencies]
diesel_infer_schema = { version = "1.4.0", default-features = false, features = ["dotenv_macro", "lint", "postgres", "sqlite", "mysql"] }
default = dotenv_macro

The dotenv_macro feature is set by default whenever diesel_infer_schema is added without default-features = false somewhere in the dependency tree.

dotenv_macro default

Enables dotenv of infer_schema_macros

lint = clippy
postgres

Enables postgres of infer_schema_macros

sqlite

Enables sqlite of infer_schema_macros

mysql

Enables mysql of infer_schema_macros

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.

clippy lint?

Enables clippy =0.0.195