Cargo Features

refinery-core has no features set by default.

[dependencies]
refinery-core = { version = "0.8.14", features = ["rusqlite-bundled", "tiberius", "tiberius-config", "tokio-postgres", "mysql_async", "serde", "toml", "postgres", "mysql"] }
rusqlite-bundled = rusqlite

Enables bundled of rusqlite

allow multiple versions of the same dependency if API is similar

tiberius tiberius-config? = futures, tokio

Enables tiberius, net of tokio

Affects drivers::tiberius

tiberius-config = tiberius, tokio, tokio-util
tokio-postgres = tokio

Enables tokio-postgres and rt of tokio

tokio:

Includes basic task execution capabilities

Affects drivers::tokio_postgres

mysql_async

Enables mysql_async >=0.28, <=0.33

Affects drivers::mysql_async

serde toml?

Enables serde

toml = serde

Enables toml

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.

rusqlite rusqlite-bundled?

Affects drivers::rusqlite

postgres implicit feature

Enables postgres

postgres:

A native, synchronous PostgreSQL client

Affects drivers::postgres

mysql implicit feature

Enables mysql >=21.0.0, <=24

mysql:

Mysql client library implemented in rust

Affects drivers::mysql

tokio tiberius? tiberius-config? tokio-postgres?
futures tiberius?
tokio-util tiberius-config?