Cargo Features
DBMigrator has no features set by default.
[dependencies]
dbmigrator = { version = "0.4.1", features = ["tokio-postgres", "serde"] }
- tokio-postgres = tokio
-
Enables tokio-postgres
allow multiple versions of the same dependency if API is similar
tiberius = { version = ">= 0.7, <= 0.12", optional = true, default-features = false }
- serde
-
Enables serde
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.