Cargo Features
[dependencies]
dbmigrate-lib = { version = "0.2.0", default-features = false, features = ["postgres_support", "sqlite_support", "mysql_support"] }
- default = mysql_support, postgres_support, sqlite_support
-
These default features are set whenever
dbmigrate-lib
is added without
somewhere in the dependency tree.default-features = false - postgres_support default = native-tls, postgres, postgres-native-tls
-
Affects
drivers::postgres
… - sqlite_support default = rusqlite
-
Affects
drivers::sqlite
… - mysql_support default = mysql
-
Affects
drivers::mysql
…
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.