cargo_lambda_metadata::cargo

Function function_environment_metadata

Source
pub fn function_environment_metadata<P: AsRef<Path> + Debug>(
    manifest_path: P,
    name: Option<&str>,
) -> Result<HashMap<String, String>>
Expand description

Create a HashMap of environment varibales from the package and workspace manifest See the documentation to learn about how we use this metadata: https://www.cargo-lambda.info/commands/watch.html#environment-variables