features_to_env

Function features_to_env 

Source
pub fn features_to_env(
    features: &HashMap<String, bool>,
) -> HashMap<String, String>
Expand description

Generates environment variables from feature flags.

Converts feature flags to FEATURE_* environment variables.

§Arguments

  • features - HashMap of feature flags

§Returns

HashMap of FEATURE_* environment variables