pub fn write_toml<S: Serialize>( path: impl AsRef<Path>, content: &S, ) -> Result<()>
fs
toml
Serialize data as TOML and write it to a file.