Cargo Features

[dependencies]
vmail-rs = { version = "0.4.0", default-features = false, features = ["mysql", "postgres"] }
default = mysql

The mysql feature is set by default whenever vmail-rs is added without default-features = false somewhere in the dependency tree.

mysql default

Enables mysql of diesel ^1.4 and diesel-derive-enum ^1.1

postgres

Thomas Leistner's tutorial is using mysql, so this is the default database backend. Build with --features postgres for postgres support.

Enables postgres of diesel ^1.4 and diesel-derive-enum ^1.1