use std::{error::Error, fs::File};
use arinc::a665::LUH;
fn main() -> Result<(), Box<dyn Error>> {
let f = File::open("example.yaml")?;
let luh: LUH = serde_yaml::from_reader(f)?;
let output = File::create("output.arinc")?;
luh.to_writer(output);
println!("Item: {:?}", &luh);
Ok(())
}