Skip to main content

parse_str

Function parse_str 

Source
pub fn parse_str(content: &str) -> Result<ComposeFile>
Expand description

Parse a compose YAML string (no file I/O).

Variable substitution is applied using only the process environment. extends: { file: ... } and include: directives are not resolved — use parse_file for that.