mirror of
https://github.com/rutgersc/m3u8-rs.git
synced 2024-12-22 14:36:28 +00:00
fixed README
This commit is contained in:
parent
f08d22d030
commit
fe2ceb87dd
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "m3u8-rs"
|
||||
version = "1.0.0"
|
||||
version = "1.0.1"
|
||||
authors = ["Rutger"]
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/rutgersc/m3u8-rs"
|
||||
|
|
|
@ -57,7 +57,7 @@ let mut file = std::fs::File::open("playlist.m3u8").unwrap();
|
|||
let mut bytes: Vec<u8> = Vec::new();
|
||||
file.read_to_end(&mut bytes).unwrap();
|
||||
|
||||
let parsed = m3u8::parse_playlist(&bytes);
|
||||
let parsed = m3u8_rs::parse_playlist(&bytes);
|
||||
|
||||
match parsed {
|
||||
IResult::Done(i, Playlist::MasterPlaylist(pl)) => println!("Master playlist:\n{}", pl),
|
||||
|
|
Loading…
Reference in a new issue