Cargo Features
[dependencies]
testkit-mysql = { version = "0.1.1", default-features = false, features = ["with-mysql-async", "with-sqlx"] }
- default = with-mysql-async
-
The
with-mysql-async
feature is set by default whenevertestkit-mysql
is added without
somewhere in the dependency tree.default-features = false - with-mysql-async default = mysql_async
- with-sqlx = sqlx
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.
- mysql_async with-mysql-async
-
Enables mysql_async
Feature-specific dependencies
- sqlx with-sqlx?