Skip to main content

active_profile_from

Function active_profile_from 

Source
pub fn active_profile_from<E: EnvSource>(raw: &E) -> Option<String>
Expand description

Returns the active profile name from raw (the process environment), or None when OMNI_DEV_PROFILE is unset or empty.

Reads the raw env only, so it is pure over the injected source and never resolves through the profile fallback.