hlssink3: Update to m3u8-rs 3

This uses nom 7 now.
This commit is contained in:
Sebastian Dröge 2021-11-18 21:44:09 +02:00
parent 29d310a2ab
commit 8722206be8
4 changed files with 10 additions and 11 deletions

View file

@ -86,18 +86,13 @@ version = "0.1"
name = "pin-project-lite" name = "pin-project-lite"
version = "0.1" version = "0.1"
# ignore duplicated nom dependency because cexpr, m3u8-rs depends on an old version # ignore duplicated nom dependency because cexpr depends on an old version
# https://github.com/jethrogb/rust-cexpr/issues/26 # https://github.com/jethrogb/rust-cexpr/issues/26
[[bans.skip]] [[bans.skip]]
name = "nom" name = "nom"
version = "5" version = "5"
# ignore duplicated arrayvec dependency because nom 5 depends on an old version # ignore duplicated bytes/mio dependency because tokio v0.2 depends on an old version
[[bans.skip]]
name = "arrayvec"
version = "0.5"
# ignore duplicated nom dependency because tokio v0.2 depends on an old version
[[bans.skip]] [[bans.skip]]
name = "bytes" name = "bytes"
version = "0.5" version = "0.5"
@ -137,10 +132,14 @@ name = "ansi_term"
version = "0.11" version = "0.11"
# ignore duplicated system-deps dependency because dav1d depends on an old version # ignore duplicated system-deps dependency because dav1d depends on an old version
# https://github.com/rusoto/rusoto/pull/1915
[[bans.skip]] [[bans.skip]]
name = "system-deps" name = "system-deps"
version = "3" version = "3"
[[bans.skip]]
name = "version-compare"
version = "0.0"
[[bans.skip]] [[bans.skip]]
name = "cfg-expr" name = "cfg-expr"
version = "0.7" version = "0.7"

View file

@ -15,7 +15,7 @@ gst-app = { package = "gstreamer-app", git = "https://gitlab.freedesktop.org/gst
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" } glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gio = { git = "https://github.com/gtk-rs/gtk-rs-core" } gio = { git = "https://github.com/gtk-rs/gtk-rs-core" }
once_cell = "1.7.2" once_cell = "1.7.2"
m3u8-rs = "2.0.0" m3u8-rs = "3"
regex = "1" regex = "1"
[dev-dependencies] [dev-dependencies]

View file

@ -13,7 +13,7 @@ use glib::subclass::prelude::*;
use gst::prelude::*; use gst::prelude::*;
use gst::subclass::prelude::*; use gst::subclass::prelude::*;
use gst::{gst_debug, gst_error, gst_info, gst_trace, gst_warning}; use gst::{gst_debug, gst_error, gst_info, gst_trace, gst_warning};
use m3u8_rs::playlist::MediaPlaylistType; use m3u8_rs::MediaPlaylistType;
use once_cell::sync::Lazy; use once_cell::sync::Lazy;
use std::fs; use std::fs;
use std::io::Write; use std::io::Write;

View file

@ -7,7 +7,7 @@
// //
// SPDX-License-Identifier: MPL-2.0 // SPDX-License-Identifier: MPL-2.0
use m3u8_rs::playlist::{MediaPlaylist, MediaPlaylistType, MediaSegment}; use m3u8_rs::{MediaPlaylist, MediaPlaylistType, MediaSegment};
use once_cell::sync::Lazy; use once_cell::sync::Lazy;
use regex::Regex; use regex::Regex;
use std::io::Write; use std::io::Write;