//! Write the module directory a device loads the guest from: `header.json`,
//! `records/` and, when its path is given, the guest
//! ([`arora_animation_module::module_dir`]).
//!
//! ```text
//! cargo build -p arora-animation-module --target wasm32-wasip2 --release
//! cargo run -p arora-animation-module --features module-dir --example module_dir -- \
//! <dir> target/wasm32-wasip2/release/arora_animation_module.wasm
//! ```
use PathBuf;