Cargo Features

db-schema = { version = "0.2.1", default-features = false, features = ["db-all", "db-postgres", "db-mysql", "db-sqlite", "sqlx"] }
default = db-postgres

The db-postgres feature is set by default whenever db-schema is added without default-features = false somewhere in the dependency tree.

db-all = db-mysql, db-postgres, db-sqlite
db-postgres default db-all? = paste

Enables postgres of sqlx ^0.6.3

db-mysql db-all? = paste

Enables mysql of sqlx ^0.6.3

db-sqlite db-all? = paste

Enables sqlite of sqlx ^0.6.3

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

paste db-mysql? db-postgres db-sqlite?
sqlx implicit feature

Enables runtime-tokio-rustls and default features of sqlx ^0.6.3