4 stable releases
| 1.1.2 | Oct 6, 2022 |
|---|---|
| 1.0.0 | Oct 6, 2022 |
#3 in #decision
9KB
181 lines
EDL
A very simple library to parse EDL (edit decision list) files.
Usage
Add the edl crate to your Cargo.toml.
[dependencies]
edl = "1"
let mut f = fs::File::open(Path::new("timeline.edl")).unwrap();
let mut data = String::new();
f.read_to_string(&mut data).unwrap();
let mut entries = edl::parser::parse(&data, 60)?;
entries.sort_by_key(|e| e.index);
Attention
Any read EDL contents passed to the parse function must have
CRLF line endings!
Dependencies
~1MB
~18K SLoC