Cargo Features

naphtha has no features set by default.

[dependencies]
naphtha = { version = "0.5.0", features = ["full", "sqlite", "mysql", "pg", "barrel-full", "barrel-sqlite", "barrel-mysql", "barrel-pg"] }
full = barrel-full, mysql, sqlite
sqlite full?

Enables sqlite of diesel ^1.4.8 and naphtha-proc-macro

mysql full?

Enables mysql of diesel ^1.4.8 and naphtha-proc-macro

pg

Enables postgres of diesel ^1.4.8, pg of naphtha-proc-macro

barrel-full full? = barrel-sqlite
barrel-sqlite barrel-full?

Enables sqlite3 of barrel, barrel-sqlite of naphtha-proc-macro

Affects naphtha::barrel

barrel-mysql

Enables mysql of barrel, barrel-mysql of naphtha-proc-macro

Affects naphtha::barrel

barrel-pg

Enables pg of barrel, barrel-pg of naphtha-proc-macro

Affects naphtha::barrel

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.

barrel_dep barrel-mysql? barrel-pg? barrel-sqlite?

Enables barrel