Cargo Features

[dependencies]
migra-cli = { version = "0.6.0", default-features = false, features = ["postgres", "sqlite", "mysql", "dotenv"] }
default = postgres

The postgres feature is set by default whenever migra-cli is added without default-features = false somewhere in the dependency tree.

postgres default

Enables postgres of migra

sqlite

Enables sqlite of migra

mysql

Enables mysql of migra

Features from optional dependencies

dotenv implicit feature

Enables dotenv

dotenv:

A dotenv implementation for Rust