Cargo Features
[dependencies]
migra = { version = "1.0.0", default-features = false, features = ["sqlite", "postgres", "mysql"] }
- default = postgres
-
The
postgres
feature is set by default whenevermigra
is added without
somewhere in the dependency tree.default-features = false - sqlite = rusqlite
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.
- postgres default
- mysql implicit feature
-
Enables mysql ^20.1
mysql:
Mysql client library implemented in rust
- rusqlite sqlite?
-
Enables rusqlite ^0.25