Cargo Features

Oapth has no features set by default.

[dependencies]
oapth = { version = "0.1.0", features = ["with-diesel-mysql", "with-diesel-postgres", "with-diesel-sqlite", "std", "dev-tools", "with-mysql_async", "with-rusqlite", "with-tiberius", "with-tokio-postgres", "with-sqlx-mssql", "with-sqlx-mysql", "with-sqlx-postgres", "with-sqlx-runtime-actix-native-tls", "with-sqlx-runtime-actix-rustls", "with-sqlx-runtime-async-std-native-tls", "with-sqlx-runtime-async-std-rustls", "with-sqlx-runtime-tokio-native-tls", "with-sqlx-runtime-tokio-rustls", "with-sqlx-sqlite"] }
with-diesel-mysql = std

Diesel

Enables mysql of diesel ^1.0

Back ends

with-diesel-postgres = std

Enables postgres of diesel ^1.0

with-diesel-sqlite = std

Enables sqlite of diesel ^1.0

default

Others

std with-diesel-mysql? with-diesel-postgres? with-diesel-sqlite? with-mysql_async? with-rusqlite? with-sqlx-mssql? with-sqlx-mysql? with-sqlx-postgres? with-sqlx-runtime-actix-native-tls? with-sqlx-runtime-actix-rustls? with-sqlx-runtime…std-native-tls? with-sqlx-runtime-async-std-rustls? with-sqlx-runtime-tokio-native-tls? with-sqlx-runtime-tokio-rustls? with-sqlx-sqlite? with-tiberius? with-tokio-postgres?

Affects utils::files, utils::group_and_migrations_from_path, utils::map_paths_into_migrations, utils::migrations_from_dir

dev-tools
with-mysql_async = mysql_async, std
with-rusqlite = rusqlite, std
with-tiberius = futures, std, tiberius
with-tokio-postgres = std, tokio, tokio-postgres
with-sqlx-mssql = futures, std

SQLx

Enables mssql of sqlx-core ^0.4

with-sqlx-mysql = futures, std

Enables mysql of sqlx-core ^0.4

with-sqlx-postgres = futures, std

Enables postgres of sqlx-core ^0.4

with-sqlx-runtime-actix-native-tls = std

Enables runtime-actix-native-tls of sqlx-core ^0.4

with-sqlx-runtime-actix-rustls = std

Enables runtime-actix-rustls of sqlx-core ^0.4

with-sqlx-runtime-async-std-native-tls = std

Enables runtime-async-std-native-tls of sqlx-core ^0.4

with-sqlx-runtime-async-std-rustls = std

Enables runtime-async-std-rustls of sqlx-core ^0.4

with-sqlx-runtime-tokio-native-tls = std

Enables runtime-tokio-native-tls of sqlx-core ^0.4

with-sqlx-runtime-tokio-rustls = std

Enables runtime-tokio-rustls of sqlx-core ^0.4

with-sqlx-sqlite = futures, std

Enables sqlite of sqlx-core ^0.4

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.

diesel with-diesel-mysql? with-diesel-postgres? with-diesel-sqlite?

Enables diesel ^1.0

futures with-sqlx-mssql? with-sqlx-mysql? with-sqlx-postgres? with-sqlx-sqlite? with-tiberius?
mysql_async with-mysql_async?

Enables mysql_async ^0.25

rusqlite with-rusqlite?

Enables rusqlite ^0.24

sqlx-core with-sqlx-mssql? with-sqlx-mysql? with-sqlx-postgres? with-sqlx-runtime-actix-native-tls? with-sqlx-runtime-actix-rustls? with-sqlx-runtime…std-native-tls? with-sqlx-runtime-async-std-rustls? with-sqlx-runtime-tokio-native-tls? with-sqlx-runtime-tokio-rustls? with-sqlx-sqlite?

Enables sqlx-core ^0.4

tiberius with-tiberius?

Enables tiberius ^0.4

tokio with-tokio-postgres?

Enables tokio ^0.2

tokio-postgres with-tokio-postgres?

Enables tokio-postgres ^0.5