Module limiting_factor::config

source ·
Expand description

Service configuration.

This module allows to configure the service.

It provides a Config trait to build custom configuration implementation.

It also provides a DefaultConfig implementation of this Config trait to extract variables from an .env file or environment.

Structs

  • This is a minimal implementation of the Config trait, which extracts the following variables from an .env file or environment:

Traits

  • This trait allows to provide a configuration for the resources needed by the API.
  • This trait allows to configure the object from the environment