Cargo Features
[dependencies]
limiting-factor = { version = "0.8.0", default-features = false, features = ["full", "minimal", "pgsql", "serialization"] }
- default = minimal
-
The
minimal
feature is set by default wheneverlimiting-factor
is added without
somewhere in the dependency tree.default-features = false - full = pgsql, serialization
- minimal default = serialization
- pgsql full? = diesel, r2d2
-
Affects
replies::ApiDeleteResponse
,config::DefaultConfig
,kernel::DefaultService
,kernel::DefaultApplication
,limiting-factor::database
… - serialization full? minimal = serde
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 pgsql?
-
Enables diesel ^1.4.8
- r2d2 pgsql?
- serde serialization?