extern crate nom;
extern crate asf;
fn main() {
let input = include_bytes!("../assets/320x180_10fps.asf");
let asf_obj = asf::parse_asf(input);
match asf_obj {
Ok((_, v)) => {
println!("Done: {:?}", v);
}
Err(nom::Err::Incomplete(a)) => {
panic!("Incomplete: {:?}", a);
}
Err(nom::Err::Error(a)) => {
panic!("Error: {:?}", a);
}
Err(nom::Err::Failure(a)) => {
panic!("Failure: {:?}", a);
}
}
}
-
Notifications
You must be signed in to change notification settings - Fork 0
PyYoshi/asf.rs
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
ASF Parser in Rust with nom
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published