Cargo Features
[dependencies]
diesel_derives_extra = { version = "0.2.0", default-features = false, features = ["postgres", "logger"] }
- default = postgres
-
The
postgres
feature is set by default wheneverdiesel_derives_extra
is added without
somewhere in the dependency tree.default-features = false - postgres default
-
Enables postgres of diesel ^1.4.6
- logger = diesel_logger
-
"mysql" = ["diesel/mysql"]
"sqlite" = ["diesel/sqlite"]
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.
- diesel_logger logger?
-
Enables diesel_logger ^0.1.1