tato_pipe 0.1.3

Converts PNG files to binary data for the Tato game engine
Documentation
mod atlas_builder;
mod tileset_builder;
mod image_builder;

use tileset_builder::*;
use image_builder::*;
use tato::*;
use std::{io, fs, path::Path};

pub use atlas_builder::*;

// extern crate alloc;

/// Deletes all files in a directory, and returns Ok(()) if successful.
pub fn remove_dir_contents<P: AsRef<Path>>(path: P) -> io::Result<()> {
    for entry in fs::read_dir(path)? {
        fs::remove_file(entry?.path())?;
    }
    Ok(())
}