Cargo Features

refinery-core has no features set by default.

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

Enables mysql_async

Affects drivers::mysql_async

postgres

Enables native-tls, postgres, and postgres-native-tls

Affects drivers::postgres

rusqlite-bundled = rusqlite

Enables bundled of rusqlite >=0.23, <=0.37

allow multiple versions of the same dependency if API is similar

serde tiberius-config? toml?

Enables serde, serde of time

tiberius tiberius-config? = futures, tokio

Enables tiberius, net of tokio

Affects drivers::tiberius

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

Enables tokio-postgres, native-tls and postgres-native-tls and rt of tokio

tokio:

Includes basic task execution capabilities

Affects drivers::tokio_postgres

toml = serde

Enables toml ^0.8.8

int8-versions

Affects util::SchemaVersion

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?

Enables rusqlite >=0.23, <=0.37

Affects drivers::rusqlite

mysql implicit feature

Enables mysql >=21.0.0, <=26

mysql:

Mysql client library implemented in rust

Affects drivers::mysql

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