Cargo Features

[dependencies]
ddnet-account-sql = { version = "0.2.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 =0.6.3

https://github.com/launchbadge/sqlx/issues/2636

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

sqlite

Enables sqlite of sqlx =0.6.3

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