Skip to main content

write_yaml

Function write_yaml 

Source
pub fn write_yaml<S: Serialize>(
    path: impl AsRef<Path>,
    content: &S,
) -> Result<()>
Available on crate features fs and yaml only.
Expand description

Serialize data as YAML and write it to a file.