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 wheneverddnet-account-sql
is added without
somewhere in the dependency tree.default-features = false - mysql default
-
Enables mysql of sqlx =0.6.3
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
…