use mkfs_xfs::image::MetadataImage;
use mkfs_xfs::{FormatOptions, FormatPlan};

fn main() {
    let uuid = [
        0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee,
        0xff,
    ];
    let plan = FormatPlan::new(FormatOptions::new(1 << 30, uuid)).expect("valid default plan");
    let image = MetadataImage::from_plan(&plan).expect("metadata image");

    print!("{}", image.manifest());
}
