//! Deterministic sprite atlas packer.
//!
//! Point at a folder of PNGs, get one atlas image and a JSON sheet.
//!
//! # Example
//!
//! ```no_run
//! use atlaspack::{pack_directory, PackConfig};
//!
//! let packed = pack_directory(
//! std::path::Path::new("./sprites"),
//! &PackConfig::default(),
//! )?;
//! println!("{} frames", packed.json.frames.len());
//! # Ok::<(), atlaspack::Error>(())
//! ```
pub use Error;
pub use ;
/// Crate-level result type.
pub type Result<T> = Result;