Cargo Features
[dependencies]
db_logger = { version = "0.1.0", default-features = false, features = ["postgres", "sqlite"] }
-
default
=
postgres,
sqlite
-
These default features are set
whenever db_logger
is added without default-features = false
somewhere in the dependency tree.
-
postgres
default
-
Enables
postgres
of
sqlx
^0.5
Affects
db_logger::postgres
…
-
sqlite
default
-
Enables
sqlite
of
sqlx
^0.5
Affects
db_logger::sqlite
…