pub fn to_out_dir(
    value: impl Serialize,
    file_name: impl AsRef<str>
) -> Result<(), UnevalError>
Expand description

Convenience wrapper around to_file.

This function finds out where the output directory is by looking at OUT_DIR environment variable and creates the file with the provided name there.