Cargo Features
[dependencies]
sqlx-model = { version = "0.2.3", default-features = false, features = ["sqlx-mysql", "sqlx-sqlite", "sqlx-postgres", "sqlx-mssql", "tokio"] }
- default = sqlx-mssql, sqlx-mysql, sqlx-postgres, sqlx-sqlite, tokio
-
These default features are set whenever
sqlx-model
is added without
somewhere in the dependency tree.default-features = false Enables runtime-tokio-native-tls of sqlx ~0.6
- sqlx-mysql default
- sqlx-sqlite default
- sqlx-postgres default
- sqlx-mssql default
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.
- tokio default