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 whenever limiting-factor is added without default-features = false somewhere in the dependency tree.

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?