Config

Derive Macro Config 

Source
#[derive(Config)]
{
    // Attributes available to this derive:
    #[env]
    #[default]
    #[config]
}
Expand description

Derives the Config trait for a struct or enum to enable loading configuration from environment variables.

This macro automatically implements the Config trait, generating code that reads environment variables and constructs instances of your type with proper error handling and validation.