mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-01-09 00:35:41 +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-pbutils = { path = "../gstreamer-pbutils" }
|
||||
byte-slice-cast = "0.3"
|
||||
failure = "0.1.0"
|
||||
anyhow = "1"
|
||||
|
||||
[features]
|
||||
tutorial5 = ["gtk", "gdk"]
|
||||
|
|
|
@ -3,8 +3,8 @@ extern crate gstreamer as gst;
|
|||
use gst::prelude::*;
|
||||
use std::io::Write;
|
||||
|
||||
extern crate failure;
|
||||
use failure::Error;
|
||||
extern crate anyhow;
|
||||
use anyhow::Error;
|
||||
|
||||
#[path = "../tutorials-common.rs"]
|
||||
mod tutorials_common;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
extern crate failure;
|
||||
use failure::Error;
|
||||
extern crate anyhow;
|
||||
use anyhow::Error;
|
||||
|
||||
extern crate glib;
|
||||
extern crate gstreamer as gst;
|
||||
|
|
Loading…
Reference in a new issue