Parsing of Opus Headers according to the specification.
``` use std::path::Path; use opusheaders::parsefrompath; // or parsefromread or parsefrom_file
fn main() { let path = Path::new("/mnt/RamDisk/silence.opus"); let headers = parsefrompath(path).unwrap();
let comments = headers.comments.user_comments;
for (tag, value) in &comments {
println!("{}: {}", tag, value);
}
} ```
As most Rust source, this is library is dual licensed under the Apache 2.0 and MIT license.