mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-01-09 16:55:27 +00:00
tutorials: Move from failure to anyhow
This commit is contained in:
parent
dc9a9c4d78
commit
096ce958a4
3 changed files with 5 additions and 5 deletions
|
@ -14,7 +14,7 @@ gstreamer-video = { path = "../gstreamer-video" }
|
||||||
gstreamer-app = { path = "../gstreamer-app" }
|
gstreamer-app = { path = "../gstreamer-app" }
|
||||||
gstreamer-pbutils = { path = "../gstreamer-pbutils" }
|
gstreamer-pbutils = { path = "../gstreamer-pbutils" }
|
||||||
byte-slice-cast = "0.3"
|
byte-slice-cast = "0.3"
|
||||||
failure = "0.1.0"
|
anyhow = "1"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
tutorial5 = ["gtk", "gdk"]
|
tutorial5 = ["gtk", "gdk"]
|
||||||
|
|
|
@ -3,8 +3,8 @@ extern crate gstreamer as gst;
|
||||||
use gst::prelude::*;
|
use gst::prelude::*;
|
||||||
use std::io::Write;
|
use std::io::Write;
|
||||||
|
|
||||||
extern crate failure;
|
extern crate anyhow;
|
||||||
use failure::Error;
|
use anyhow::Error;
|
||||||
|
|
||||||
#[path = "../tutorials-common.rs"]
|
#[path = "../tutorials-common.rs"]
|
||||||
mod tutorials_common;
|
mod tutorials_common;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
extern crate failure;
|
extern crate anyhow;
|
||||||
use failure::Error;
|
use anyhow::Error;
|
||||||
|
|
||||||
extern crate glib;
|
extern crate glib;
|
||||||
extern crate gstreamer as gst;
|
extern crate gstreamer as gst;
|
||||||
|
|
Loading…
Reference in a new issue