Cargo Features
[dependencies]
dbspec = { version = "0.2.0", default-features = false, features = ["mysql", "postgres", "fake", "test-utils"] }
- default = mysql, postgres
-
These default features are set whenever
dbspec
is added without
somewhere in the dependency tree.default-features = false - mysql default
-
Enables mysql of sqlx ^0.7.4
- postgres default
-
Enables postgres of sqlx ^0.7.4
- fake = fakeit
- test-utils
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.