Cargo Features
[dependencies]
db-schema = { version = "0.2.1", default-features = false, features = ["db-all", "db-postgres", "db-mysql", "db-sqlite"] }
- default = db-postgres
-
The
db-postgres
feature is set by default wheneverdb-schema
is added without
somewhere in the dependency tree.default-features = false - 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. These features may have been created by mistake, and this functionality may be removed in the future.
- paste db-mysql? db-postgres db-sqlite?
- sqlx db-mysql? db-postgres db-sqlite?
-
Enables sqlx ^0.6.3