Cargo Features

[dependencies]
ddnet-account-sql = { version = "0.3.0", default-features = false, features = ["mysql", "sqlite"] }
default = mysql

The mysql feature is set by default whenever ddnet-account-sql is added without default-features = false somewhere in the dependency tree.

mysql default

Enables mysql of sqlx

Affects query::Query.prepare_mysql, query::Query.query_mysql, query::Query.row_data_mysql

sqlite

Enables sqlite of sqlx

Affects query::Query.prepare_sqlite, query::Query.query_sqlite, query::Query.row_data_sqlite