Cargo Features
[dependencies]
deuterium_orm = { version = "0.5.0", default-features = false, features = ["pg"] }
- default = pg
-
The
pg
feature is set by default wheneverdeuterium_orm
is added without
somewhere in the dependency tree.default-features = false - pg default = postgres, r2d2, r2d2_postgres
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.