Cargo Features

barrel has no features set by default.

barrel = { version = "0.7.0", features = ["diesel", "pg", "unstable"] }
diesel = diesel_rs, tempfile

Affects integrations::diesel, barrel::integrations

sqlite3 mysql mssql pg

Enables unstable (in-development) features,
even for stable version upgrades

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

tempfile diesel?
diesel_rs diesel?

Enables default features of diesel >=1.2, <2.0