mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-23 18:40:32 +00:00
hlssink3: Update to m3u8-rs 3
This uses nom 7 now.
This commit is contained in:
parent
29d310a2ab
commit
8722206be8
4 changed files with 10 additions and 11 deletions
15
deny.toml
15
deny.toml
|
@ -86,18 +86,13 @@ version = "0.1"
|
|||
name = "pin-project-lite"
|
||||
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
|
||||
[[bans.skip]]
|
||||
name = "nom"
|
||||
version = "5"
|
||||
|
||||
# ignore duplicated arrayvec dependency because nom 5 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
|
||||
# ignore duplicated bytes/mio dependency because tokio v0.2 depends on an old version
|
||||
[[bans.skip]]
|
||||
name = "bytes"
|
||||
version = "0.5"
|
||||
|
@ -137,10 +132,14 @@ name = "ansi_term"
|
|||
version = "0.11"
|
||||
|
||||
# ignore duplicated system-deps dependency because dav1d depends on an old version
|
||||
# https://github.com/rusoto/rusoto/pull/1915
|
||||
[[bans.skip]]
|
||||
name = "system-deps"
|
||||
version = "3"
|
||||
|
||||
[[bans.skip]]
|
||||
name = "version-compare"
|
||||
version = "0.0"
|
||||
|
||||
[[bans.skip]]
|
||||
name = "cfg-expr"
|
||||
version = "0.7"
|
||||
|
|
|
@ -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" }
|
||||
gio = { git = "https://github.com/gtk-rs/gtk-rs-core" }
|
||||
once_cell = "1.7.2"
|
||||
m3u8-rs = "2.0.0"
|
||||
m3u8-rs = "3"
|
||||
regex = "1"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -13,7 +13,7 @@ use glib::subclass::prelude::*;
|
|||
use gst::prelude::*;
|
||||
use gst::subclass::prelude::*;
|
||||
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 std::fs;
|
||||
use std::io::Write;
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
//
|
||||
// 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 regex::Regex;
|
||||
use std::io::Write;
|
||||
|
|
Loading…
Reference in a new issue