Cargo Features

dysql-core has no features set by default.

[dependencies]
dysql-core = { version = "2.0.0", features = ["sqlx-postgres", "sqlx-mysql", "sqlx-sqlite", "tokio-postgres", "rbatis-pg", "rbatis-mysql", "rbatis-sqlite"] }
sqlx-postgres

Enables postgres of sqlx

sqlx-mysql

Enables mysql of sqlx

sqlx-sqlite

Enables sqlite of sqlx

tokio-postgres = tokio-pg-mapper, tokio-pg-mapper-derive

Enables postgres of dysql-tpl and tokio-postgres

tokio-postgres family

Affects tokio_pg_adapter::adapter_macro

rbatis-pg = rbatis, rbdc-pg, rbs
rbatis-mysql = rbatis, rbdc-mysql, rbs
rbatis-sqlite = rbatis, rbdc-sqlite, rbs

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.

tokio-pg-mapper tokio-postgres?
tokio-pg-mapper-derive tokio-postgres?
sqlx sqlx-mysql? sqlx-postgres? sqlx-sqlite?

Affects sqlx_adapter::adapter_macro

rbs rbatis-mysql? rbatis-pg? rbatis-sqlite?

Enables rbs

rbatis family

Affects rbatis_adapter::adapter_macro

rbatis rbatis-mysql? rbatis-pg? rbatis-sqlite?

Affects rbatis_adapter::adapter_macro

rbdc-pg rbatis-pg?
rbdc-mysql rbatis-mysql?
rbdc-sqlite rbatis-sqlite?